Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addData(String, Object) - Method in class org.snmp4j.mcp.tool.ToolResult
-
Adds additional data to the result.
- addResource(String, String, String, String, String, Supplier) - Method in class org.snmp4j.mcp.SnmpMcpServer
-
Registers a new resource with the MCP server.
- address() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.SnmpTargetConfig
-
Returns the value of the
addressrecord component. - AdhocOverrides - Class in org.snmp4j.mcp.tool.snmp
-
Builds an effective
SnmpMcpServer.ServerConfiguration.SnmpTargetConfigby applying a map of per-call parameter overrides onto a configured base target. - allowAdhocParameterOverwrite() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.SnmpTargetConfig
-
Returns the value of the
allowAdhocParameterOverwriterecord component. - apply(SnmpMcpServer.ServerConfiguration.SnmpTargetConfig, Map) - Static method in class org.snmp4j.mcp.tool.snmp.AdhocOverrides
-
Returns a target configuration with the given overrides applied.
- applyMutations(Object, List) - Static method in class org.snmp4j.mcp.tool.snmp.ber.BerMutations
-
Applies a list of mutation operations in order, in place, to
root. - applyOp(Object, String, Object) - Static method in class org.snmp4j.mcp.tool.snmp.ber.BerMutations
-
Applies a single operation to a target node.
- authoritativeEngineID() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.SnmpV3Config
-
Returns the value of the
authoritativeEngineIDrecord component. - authPassphrase() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.SnmpV3Config
-
Returns the value of the
authPassphraserecord component. - authProtocol() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.SnmpV3Config
-
Returns the value of the
authProtocolrecord component. - autoCompletionMaxElements() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.MibConfig
-
Returns the value of the
autoCompletionMaxElementsrecord component.
B
- batchEmbed(List) - Method in interface org.snmp4j.mcp.tool.mib.semantic.EmbeddingClient
-
Embeds multiple text chunks in one or more batched calls.
- batchEmbed(List) - Method in class org.snmp4j.mcp.tool.mib.semantic.OnnxEmbeddingClient
-
Embeds multiple text chunks in one or more batched calls.
- batchEmbed(List) - Method in class org.snmp4j.mcp.tool.mib.semantic.OpenAiEmbeddingClient
- BER_RESULT_SCHEMA_RESOURCE_URI - Static variable in class org.snmp4j.mcp.tool.snmp.ber.McpSnmpMessageBER
-
MCP resource URI for the BER result JSON schema.
- BerJsonEncoder - Class in org.snmp4j.mcp.tool.snmp.ber
-
Encodes a BER node tree — expressed in the same JSON shape that
snmp_message_beremits (tag,tagName,value,oid,children) — back into raw bytes, with explicit support for producing non-canonical and invalid encodings for fuzzing. - BerMutations - Class in org.snmp4j.mcp.tool.snmp.ber
- BerMutations.Expansion - Class in org.snmp4j.mcp.tool.snmp.ber
-
Result of expanding a permutation spec.
- build() - Method in class org.snmp4j.mcp.tool.mib.semantic.OpenAiEmbeddingClient.Builder
-
Builds the
OpenAiEmbeddingClientinstance. - build(SmiManager, EmbeddingClient, MibChunkFormatter) - Method in class org.snmp4j.mcp.tool.mib.semantic.MibEmbeddingIndex
-
Builds the index synchronously by embedding all chunks of every object returned by
smiManager.findSmiObject(null, ACCEPT_ALL). - builder(String) - Static method in class org.snmp4j.mcp.tool.mib.semantic.OpenAiEmbeddingClient
-
Returns a builder for constructing an
OpenAiEmbeddingClient. - builder(SnmpBuilder) - Static method in class org.snmp4j.mcp.tool.snmp.McpSnmpBuilder
-
Creates a builder wrapping the given
SnmpBuilder. - buildPdu() - Method in class org.snmp4j.mcp.tool.snmp.McpSnmpBuilder
-
Returns a
PduBuilderfor constructing the PDU to be sent. - buildSnmp(Snmp) - Method in class org.snmp4j.mcp.tool.snmp.McpSnmpBuilder
-
Returns
existingSnmpif non-null, otherwise builds and returns a newSnmpinstance. - buildTarget() - Method in class org.snmp4j.mcp.tool.snmp.McpSnmpBuilder
-
Builds and returns an SNMP
Targetfrom the current target configuration.
C
- callTool(McpSyncServerExchange, McpSchema.CallToolRequest) - Method in class org.snmp4j.mcp.tool.snmp.table.McpSnmpTable
-
Executes the tool within an active MCP server exchange, enabling progress notifications.
- callTool(McpSyncServerExchange, McpSchema.CallToolRequest) - Method in class org.snmp4j.mcp.tool.snmp.tree.McpSnmpTree
-
Executes the tool within an active MCP server exchange, enabling progress notifications.
- chunkIdx() - Method in record class org.snmp4j.mcp.tool.mib.semantic.MibEmbeddingIndex.IndexEntry
-
Returns the value of the
chunkIdxrecord component. - clientFingerprint() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.TlsConfig
-
Returns the value of the
clientFingerprintrecord component. - close() - Method in interface org.snmp4j.mcp.context.McpContext
-
Releases any resources used by this context.
- close() - Method in class org.snmp4j.mcp.ModelRepositoryContext
- close() - Method in class org.snmp4j.mcp.SnmpAgentContext
- close() - Method in class org.snmp4j.mcp.tool.mib.semantic.OnnxEmbeddingClient
-
Closes the ONNX session and tokenizer, releasing native resources.
- combinations - Variable in class org.snmp4j.mcp.tool.snmp.ber.BerMutations.Expansion
-
The concrete settings applied to produce each tree (parallel to
BerMutations.Expansion.trees). - community() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.SnmpTargetConfig
-
Returns the value of the
communityrecord component. - completionSpec() - Method in class org.snmp4j.mcp.resource.snmp.SnmpTargetResourceTemplate
-
Returns the completion specification that completes the
targetNameparameter ofsnmp/target/{targetName}against all configured target names. - Configuration - Section in class org.snmp4j.mcp.tool.mib.semantic.McpMibSemanticSearch
- contextEngineID() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.SnmpV3Config
-
Returns the value of the
contextEngineIDrecord component. - contextEngineID() - Method in record class org.snmp4j.mcp.tool.snmp.McpSnmpCommandGenerator.PduRequest
-
Returns the value of the
contextEngineIDrecord component. - contextName() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.SnmpV3Config
-
Returns the value of the
contextNamerecord component. - contextName() - Method in record class org.snmp4j.mcp.tool.snmp.McpSnmpCommandGenerator.PduRequest
-
Returns the value of the
contextNamerecord component. - copyFrom(MibEmbeddingIndex) - Method in class org.snmp4j.mcp.tool.mib.semantic.MibEmbeddingIndex
-
Replaces all content of this index with the content of
source. - createIfAvailable() - Static method in class org.snmp4j.mcp.tool.mib.semantic.OnnxEmbeddingClient
-
Factory method that returns
null(rather than throwing) if ONNX Runtime or the HuggingFace tokenizer classes are absent, or if model download fails. - createInputSchema(List) - Static method in class org.snmp4j.mcp.tool.ToolSchemaConverterUtils
-
Creates a JSON Schema representation of the input parameters for a tool.
- createMcpJsonMapper() - Method in class org.snmp4j.mcp.SnmpMcpServer
-
Creates an instance of
McpJsonMapperfor handling JSON operations specific to MCP (Managed Communication Protocol) server interactions. - createMcpServerTransportProvider() - Method in class org.snmp4j.mcp.SnmpMcpServer
-
Creates a transport provider for the MCP (Managed Communication Protocol) server.
- crlURI() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.TlsConfig
-
Returns the value of the
crlURIrecord component.
D
- deepCopy(Object) - Static method in class org.snmp4j.mcp.tool.snmp.ber.BerMutations
-
Deep-copies a Map/List/primitive tree so mutations don't touch the template.
- DEFAULT_DIMENSION - Static variable in class org.snmp4j.mcp.tool.mib.semantic.OnnxEmbeddingClient
-
Output vector dimensionality for "sentence-transformers/all-MiniLM-L6-v2".
- DEFAULT_DIMENSION - Static variable in class org.snmp4j.mcp.tool.mib.semantic.OpenAiEmbeddingClient
-
Default output dimension (256 is compact yet high-quality for MIB RAG).
- DEFAULT_MAX_OVERLAP_RATIO - Static variable in class org.snmp4j.mcp.tool.mib.semantic.MibChunkFormatter
-
Maximum overlap ratio between consecutive chunks.
- DEFAULT_MAX_WORDS - Static variable in class org.snmp4j.mcp.tool.mib.semantic.MibChunkFormatter
-
Maximum words per chunk (exclusive upper bound).
- DEFAULT_MIB_SOURCE_PATH - Static variable in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.MibConfig
-
Default directory (relative to the server working directory) for MIB source files that the MIB compiler tools may read by relative filename when
mibSourcePathis not configured. - DEFAULT_MIN_OVERLAP_RATIO - Static variable in class org.snmp4j.mcp.tool.mib.semantic.MibChunkFormatter
-
Minimum overlap ratio between consecutive chunks.
- DEFAULT_MODEL - Static variable in class org.snmp4j.mcp.tool.mib.semantic.OnnxEmbeddingClient
-
Default sentence-transformer model identifier.
- DEFAULT_MODEL - Static variable in class org.snmp4j.mcp.tool.mib.semantic.OpenAiEmbeddingClient
-
Default embedding model used when none is specified.
- descriptionSnippet() - Method in record class org.snmp4j.mcp.tool.mib.semantic.MibEmbeddingIndex.IndexEntry
-
Returns the value of the
descriptionSnippetrecord component. - descriptionSnippet() - Method in record class org.snmp4j.mcp.tool.mib.semantic.MibEmbeddingIndex.SearchResult
-
Returns the value of the
descriptionSnippetrecord component. - dimension(int) - Method in class org.snmp4j.mcp.tool.mib.semantic.OpenAiEmbeddingClient.Builder
-
Sets the number of output dimensions.
- dtlsConnectionTimeout() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.TlsConfig
-
Returns the value of the
dtlsConnectionTimeoutrecord component. - dtlsHandshakeTimeout() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.TlsConfig
-
Returns the value of the
dtlsHandshakeTimeoutrecord component. - dtlsVersion() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.TlsConfig
-
Returns the value of the
dtlsVersionrecord component.
E
- embed(String) - Method in interface org.snmp4j.mcp.tool.mib.semantic.EmbeddingClient
-
Embeds a single text chunk and returns a unit-length float vector.
- embed(String) - Method in class org.snmp4j.mcp.tool.mib.semantic.OnnxEmbeddingClient
-
Embeds a single text chunk and returns a unit-length float vector.
- embed(String) - Method in class org.snmp4j.mcp.tool.mib.semantic.OpenAiEmbeddingClient
- EmbeddingClient - Interface in org.snmp4j.mcp.tool.mib.semantic
-
Pluggable backend that converts text into dense floating-point vectors.
- encode(Object) - Static method in class org.snmp4j.mcp.tool.snmp.ber.BerJsonEncoder
-
Encodes a node tree to bytes.
- ENCODE_BER_RESULT_SCHEMA_RESOURCE_URI - Static variable in class org.snmp4j.mcp.tool.snmp.ber.McpSnmpEncodeBER
-
MCP resource URI for the result JSON schema.
- endpointIdentificationAlgorithm() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.TlsConfig
-
Returns the value of the
endpointIdentificationAlgorithmrecord component. - ENV_API_KEY - Static variable in class org.snmp4j.mcp.tool.mib.semantic.OpenAiEmbeddingClient
-
Environment variable name for the OpenAI API key.
- equals(Object) - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.LicenseConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.McpConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.MibConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.SnmpTargetConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.SnmpV3Config
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.TlsConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.snmp4j.mcp.tool.mib.semantic.MibEmbeddingIndex.IndexEntry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.snmp4j.mcp.tool.mib.semantic.MibEmbeddingIndex.SearchResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.snmp4j.mcp.tool.snmp.McpSnmpCommandGenerator.PduRequest
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.snmp4j.mcp.tool.snmp.McpSnmpCommandGenerator.VbRequest
-
Indicates whether some other object is "equal to" this one.
- execute(Map) - Method in class org.snmp4j.mcp.MibBrowserTool
- execute(Map) - Method in interface org.snmp4j.mcp.tool.McpTool
-
Executes the tool with the provided parameters.
- execute(Map) - Method in class org.snmp4j.mcp.tool.mib.compiler.MibCompilerTool
- execute(Map) - Method in class org.snmp4j.mcp.tool.mib.search.MibSearchTool
- execute(Map) - Method in class org.snmp4j.mcp.tool.mib.semantic.McpMibSemanticSearch
- execute(Map) - Method in class org.snmp4j.mcp.tool.mib.text.GetMibFileTool
- execute(Map) - Method in class org.snmp4j.mcp.tool.snmp.agent.McpSnmpModuleSupport
- execute(Map) - Method in class org.snmp4j.mcp.tool.snmp.ber.McpSnmpEncodeBER
- execute(Map) - Method in class org.snmp4j.mcp.tool.snmp.ber.McpSnmpMessageBER
- execute(Map) - Method in class org.snmp4j.mcp.tool.snmp.McpSnmpCommandGenerator
- execute(Map) - Method in class org.snmp4j.mcp.tool.snmp.raw.McpSnmpSendRaw
- execute(Map) - Method in class org.snmp4j.mcp.tool.snmp.set.SnmpSet
- execute(Map) - Method in class org.snmp4j.mcp.tool.snmp.table.McpSnmpTable
- execute(Map) - Method in class org.snmp4j.mcp.tool.snmp.tree.McpSnmpTree
- expand(Object, Map, int) - Static method in class org.snmp4j.mcp.tool.snmp.ber.BerMutations
-
Expands a permutation spec into a set of mutated node trees.
- Expansion() - Constructor for class org.snmp4j.mcp.tool.snmp.ber.BerMutations.Expansion
-
Constructs an empty expansion.
F
- failure(String) - Static method in class org.snmp4j.mcp.tool.ToolResult
-
Creates a failed result.
- failure(String, Object) - Static method in class org.snmp4j.mcp.tool.ToolResult
-
Creates a failed result with result data.
- format(SmiObject) - Method in class org.snmp4j.mcp.tool.mib.semantic.MibChunkFormatter
-
Splits the object's DESCRIPTION text into embeddable chunks.
- fromEnvironment() - Static method in class org.snmp4j.mcp.tool.mib.semantic.OpenAiEmbeddingClient
-
Reads the API key from system property "openai.api.key" or environment variable "OPENAI_API_KEY".
G
- get() - Method in class org.snmp4j.mcp.resource.mib.module.MibModuleSupplier
-
Returns the SMI module definition text for the module, or an explanatory message if the module is no longer loaded.
- getAllContexts() - Method in class org.snmp4j.mcp.SnmpMcpServer
-
Gets all registered contexts.
- getAllData() - Method in class org.snmp4j.mcp.tool.ToolResult
-
Gets all additional data.
- getAllResourceUris() - Method in class org.snmp4j.mcp.SnmpMcpServer
-
Gets all registered resource URIs.
- getAllTools() - Method in class org.snmp4j.mcp.SnmpMcpServer
-
Gets all registered tools.
- getAnnotation() - Method in interface org.snmp4j.mcp.tool.McpTool
-
Gets the tool annotations.
- getAnnotation() - Method in class org.snmp4j.mcp.tool.mib.compiler.MibCompilerTool
- getAnnotation() - Method in class org.snmp4j.mcp.tool.mib.semantic.McpMibSemanticSearch
- getAnnotation() - Method in class org.snmp4j.mcp.tool.mib.text.GetMibFileTool
- getAnnotation() - Method in class org.snmp4j.mcp.tool.snmp.agent.McpSnmpModuleSupport
- getAnnotation() - Method in class org.snmp4j.mcp.tool.snmp.ber.McpSnmpEncodeBER
- getAnnotation() - Method in class org.snmp4j.mcp.tool.snmp.ber.McpSnmpMessageBER
- getAnnotation() - Method in class org.snmp4j.mcp.tool.snmp.raw.McpSnmpSendRaw
- getAnnotation() - Method in class org.snmp4j.mcp.tool.snmp.set.SnmpSet
- getAnnotation() - Method in class org.snmp4j.mcp.tool.snmp.table.McpSnmpTable
- getBerResultSchemaJson() - Static method in class org.snmp4j.mcp.tool.snmp.ber.McpSnmpMessageBER
-
Returns the JSON schema string describing the BER node output format.
- getConfig() - Method in class org.snmp4j.mcp.SnmpMcpServer
-
Gets the server configuration.
- getConfigFile() - Method in class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration
-
Retrieves the path to the configuration file.
- getContext(String) - Method in class org.snmp4j.mcp.SnmpMcpServer
-
Gets a context by its ID.
- getData(String) - Method in class org.snmp4j.mcp.tool.ToolResult
-
Gets additional data by key.
- getDefaultValue() - Method in class org.snmp4j.mcp.tool.ToolParameter
-
Gets the default value.
- getDependentContextIds() - Method in interface org.snmp4j.mcp.context.McpContext
-
Gets any dependent contexts that this context requires.
- getDependentContextIds() - Method in class org.snmp4j.mcp.ModelRepositoryContext
- getDependentContextIds() - Method in class org.snmp4j.mcp.SnmpAgentContext
- getDescription() - Method in interface org.snmp4j.mcp.context.McpContext
-
Gets the description for this context.
- getDescription() - Method in class org.snmp4j.mcp.MibBrowserTool
- getDescription() - Method in class org.snmp4j.mcp.ModelRepositoryContext
- getDescription() - Method in class org.snmp4j.mcp.SnmpAgentContext
- getDescription() - Method in interface org.snmp4j.mcp.tool.McpTool
-
Gets the description for this tool.
- getDescription() - Method in class org.snmp4j.mcp.tool.mib.compiler.MibCompilerTool
- getDescription() - Method in class org.snmp4j.mcp.tool.mib.search.MibSearchTool
- getDescription() - Method in class org.snmp4j.mcp.tool.mib.semantic.McpMibSemanticSearch
- getDescription() - Method in class org.snmp4j.mcp.tool.mib.text.GetMibFileTool
- getDescription() - Method in class org.snmp4j.mcp.tool.snmp.agent.McpSnmpModuleSupport
- getDescription() - Method in class org.snmp4j.mcp.tool.snmp.ber.McpSnmpEncodeBER
- getDescription() - Method in class org.snmp4j.mcp.tool.snmp.ber.McpSnmpMessageBER
- getDescription() - Method in class org.snmp4j.mcp.tool.snmp.McpSnmpCommandGenerator
- getDescription() - Method in class org.snmp4j.mcp.tool.snmp.raw.McpSnmpSendRaw
- getDescription() - Method in class org.snmp4j.mcp.tool.snmp.set.SnmpSet
- getDescription() - Method in class org.snmp4j.mcp.tool.snmp.table.McpSnmpTable
- getDescription() - Method in class org.snmp4j.mcp.tool.snmp.tree.McpSnmpTree
- getDescription() - Method in class org.snmp4j.mcp.tool.ToolParameter
-
Gets the parameter description.
- getDimension() - Method in interface org.snmp4j.mcp.tool.mib.semantic.EmbeddingClient
-
Gets the number of dimensions in every returned vector.
- getDimension() - Method in class org.snmp4j.mcp.tool.mib.semantic.OnnxEmbeddingClient
- getDimension() - Method in class org.snmp4j.mcp.tool.mib.semantic.OpenAiEmbeddingClient
- getEncodeBerResultSchemaJson() - Static method in class org.snmp4j.mcp.tool.snmp.ber.McpSnmpEncodeBER
-
Returns the JSON Schema (Draft 2020-12) for the object returned by this tool.
- getId() - Method in interface org.snmp4j.mcp.context.McpContext
-
Gets the unique identifier for this context.
- getId() - Method in class org.snmp4j.mcp.MibBrowserTool
- getId() - Method in class org.snmp4j.mcp.ModelRepositoryContext
- getId() - Method in class org.snmp4j.mcp.SnmpAgentContext
- getId() - Method in interface org.snmp4j.mcp.tool.McpTool
-
Gets the unique identifier for this tool.
- getId() - Method in class org.snmp4j.mcp.tool.mib.compiler.MibCompilerTool
- getId() - Method in class org.snmp4j.mcp.tool.mib.search.MibSearchTool
- getId() - Method in class org.snmp4j.mcp.tool.mib.semantic.McpMibSemanticSearch
- getId() - Method in class org.snmp4j.mcp.tool.mib.text.GetMibFileTool
- getId() - Method in class org.snmp4j.mcp.tool.snmp.agent.McpSnmpModuleSupport
- getId() - Method in class org.snmp4j.mcp.tool.snmp.ber.McpSnmpEncodeBER
- getId() - Method in class org.snmp4j.mcp.tool.snmp.ber.McpSnmpMessageBER
- getId() - Method in class org.snmp4j.mcp.tool.snmp.McpSnmpCommandGenerator
- getId() - Method in class org.snmp4j.mcp.tool.snmp.raw.McpSnmpSendRaw
- getId() - Method in class org.snmp4j.mcp.tool.snmp.set.SnmpSet
- getId() - Method in class org.snmp4j.mcp.tool.snmp.table.McpSnmpTable
- getId() - Method in class org.snmp4j.mcp.tool.snmp.tree.McpSnmpTree
- getMcpConfig() - Method in class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration
-
Retrieves the current configuration for the Management Control Protocol (MCP) system.
- getMessage() - Method in class org.snmp4j.mcp.tool.ToolResult
-
Gets the result message.
- GetMibFileTool - Class in org.snmp4j.mcp.tool.mib.text
-
An MCP tool that returns the raw text of a MIB source file located under the server's configured MIB source directory (
MIB.mibSourcePath, default"mibs"). - GetMibFileTool(String) - Constructor for class org.snmp4j.mcp.tool.mib.text.GetMibFileTool
-
Creates a
GetMibFileTool. - getModelId() - Method in interface org.snmp4j.mcp.tool.mib.semantic.EmbeddingClient
-
Gets the model identifier for this embedding client.
- getModelId() - Method in class org.snmp4j.mcp.tool.mib.semantic.MibEmbeddingIndex
-
Returns the embedding model ID that was active when the index was built or loaded.
- getModelId() - Method in class org.snmp4j.mcp.tool.mib.semantic.OnnxEmbeddingClient
- getModelId() - Method in class org.snmp4j.mcp.tool.mib.semantic.OpenAiEmbeddingClient
- getName() - Method in interface org.snmp4j.mcp.context.McpContext
-
Gets the display name for this context.
- getName() - Method in class org.snmp4j.mcp.MibBrowserTool
- getName() - Method in class org.snmp4j.mcp.ModelRepositoryContext
- getName() - Method in class org.snmp4j.mcp.SnmpAgentContext
- getName() - Method in interface org.snmp4j.mcp.tool.McpTool
-
Gets the display name for this tool.
- getName() - Method in class org.snmp4j.mcp.tool.mib.compiler.MibCompilerTool
- getName() - Method in class org.snmp4j.mcp.tool.mib.search.MibSearchTool
- getName() - Method in class org.snmp4j.mcp.tool.mib.semantic.McpMibSemanticSearch
- getName() - Method in class org.snmp4j.mcp.tool.mib.text.GetMibFileTool
- getName() - Method in class org.snmp4j.mcp.tool.snmp.agent.McpSnmpModuleSupport
- getName() - Method in class org.snmp4j.mcp.tool.snmp.ber.McpSnmpEncodeBER
- getName() - Method in class org.snmp4j.mcp.tool.snmp.ber.McpSnmpMessageBER
- getName() - Method in class org.snmp4j.mcp.tool.snmp.McpSnmpCommandGenerator
- getName() - Method in class org.snmp4j.mcp.tool.snmp.raw.McpSnmpSendRaw
- getName() - Method in class org.snmp4j.mcp.tool.snmp.set.SnmpSet
- getName() - Method in class org.snmp4j.mcp.tool.snmp.table.McpSnmpTable
- getName() - Method in class org.snmp4j.mcp.tool.snmp.tree.McpSnmpTree
- getName() - Method in class org.snmp4j.mcp.tool.ToolParameter
-
Gets the parameter name.
- getParameters() - Method in class org.snmp4j.mcp.MibBrowserTool
- getParameters() - Method in interface org.snmp4j.mcp.tool.McpTool
-
Gets the supported parameters for this tool.
- getParameters() - Method in class org.snmp4j.mcp.tool.mib.compiler.MibCompilerTool
- getParameters() - Method in class org.snmp4j.mcp.tool.mib.search.MibSearchTool
- getParameters() - Method in class org.snmp4j.mcp.tool.mib.semantic.McpMibSemanticSearch
- getParameters() - Method in class org.snmp4j.mcp.tool.mib.text.GetMibFileTool
- getParameters() - Method in class org.snmp4j.mcp.tool.snmp.agent.McpSnmpModuleSupport
- getParameters() - Method in class org.snmp4j.mcp.tool.snmp.ber.McpSnmpEncodeBER
- getParameters() - Method in class org.snmp4j.mcp.tool.snmp.ber.McpSnmpMessageBER
- getParameters() - Method in class org.snmp4j.mcp.tool.snmp.McpSnmpCommandGenerator
- getParameters() - Method in class org.snmp4j.mcp.tool.snmp.raw.McpSnmpSendRaw
- getParameters() - Method in class org.snmp4j.mcp.tool.snmp.set.SnmpSet
- getParameters() - Method in class org.snmp4j.mcp.tool.snmp.table.McpSnmpTable
- getParameters() - Method in class org.snmp4j.mcp.tool.snmp.tree.McpSnmpTree
- getPduRequestSchemaJson() - Static method in class org.snmp4j.mcp.tool.snmp.McpSnmpCommandGenerator
-
Returns the JSON Schema (Draft 2020-12) for the
pduinput parameter of this tool. - getPort() - Method in class org.snmp4j.mcp.SnmpMcpServer
-
Gets the server port.
- getPort() - Method in class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration
-
Retrieves the port number configured for the server.
- getProperty(String) - Method in class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration
-
Retrieves the value associated with the specified key from the properties.
- getRequiredContexts() - Method in class org.snmp4j.mcp.MibBrowserTool
- getRequiredContexts() - Method in interface org.snmp4j.mcp.tool.McpTool
-
Gets the contexts that this tool requires.
- getRequiredContexts() - Method in class org.snmp4j.mcp.tool.mib.compiler.MibCompilerTool
- getRequiredContexts() - Method in class org.snmp4j.mcp.tool.mib.search.MibSearchTool
- getRequiredContexts() - Method in class org.snmp4j.mcp.tool.mib.semantic.McpMibSemanticSearch
- getRequiredContexts() - Method in class org.snmp4j.mcp.tool.mib.text.GetMibFileTool
- getRequiredContexts() - Method in class org.snmp4j.mcp.tool.snmp.agent.McpSnmpModuleSupport
- getRequiredContexts() - Method in class org.snmp4j.mcp.tool.snmp.ber.McpSnmpEncodeBER
- getRequiredContexts() - Method in class org.snmp4j.mcp.tool.snmp.ber.McpSnmpMessageBER
- getRequiredContexts() - Method in class org.snmp4j.mcp.tool.snmp.McpSnmpCommandGenerator
- getRequiredContexts() - Method in class org.snmp4j.mcp.tool.snmp.raw.McpSnmpSendRaw
- getRequiredContexts() - Method in class org.snmp4j.mcp.tool.snmp.set.SnmpSet
- getRequiredContexts() - Method in class org.snmp4j.mcp.tool.snmp.table.McpSnmpTable
- getRequiredContexts() - Method in class org.snmp4j.mcp.tool.snmp.tree.McpSnmpTree
- getResourceName(String) - Method in class org.snmp4j.mcp.SnmpMcpServer
-
Gets the name of a resource by its URI.
- getResponseEventSchemaJson() - Static method in class org.snmp4j.mcp.tool.snmp.McpSnmpCommandGenerator
-
Returns the JSON Schema (Draft 2020-12) for the JSON object returned by this tool.
- getResult() - Method in class org.snmp4j.mcp.tool.ToolResult
-
Gets the result data.
- getSendRawResultSchemaJson() - Static method in class org.snmp4j.mcp.tool.snmp.raw.McpSnmpSendRaw
-
Returns the JSON Schema (Draft 2020-12) for the object returned by this tool.
- getSnmpTargetAddrEntryCreateRowSampleJson() - Static method in class org.snmp4j.mcp.tool.snmp.McpSnmpCommandGenerator
-
Returns a sample SET PDU JSON that creates a new row in the SNMP-TARGET-MIB
snmpTargetAddrTable(1.3.6.1.6.3.12.1.2.1) usingcreateAndGo(4). - getTableResultSchemaJson() - Static method in class org.snmp4j.mcp.tool.snmp.table.McpSnmpTable
-
Returns the JSON Schema (Draft 2020-12) for the JSON object returned by this tool.
- getTitle() - Method in class org.snmp4j.mcp.MibBrowserTool
- getTitle() - Method in interface org.snmp4j.mcp.tool.McpTool
-
Gets the title associated with this tool.
- getTitle() - Method in class org.snmp4j.mcp.tool.mib.compiler.MibCompilerTool
- getTitle() - Method in class org.snmp4j.mcp.tool.mib.search.MibSearchTool
- getTitle() - Method in class org.snmp4j.mcp.tool.mib.semantic.McpMibSemanticSearch
- getTitle() - Method in class org.snmp4j.mcp.tool.mib.text.GetMibFileTool
- getTitle() - Method in class org.snmp4j.mcp.tool.snmp.agent.McpSnmpModuleSupport
- getTitle() - Method in class org.snmp4j.mcp.tool.snmp.ber.McpSnmpEncodeBER
- getTitle() - Method in class org.snmp4j.mcp.tool.snmp.ber.McpSnmpMessageBER
- getTitle() - Method in class org.snmp4j.mcp.tool.snmp.McpSnmpCommandGenerator
- getTitle() - Method in class org.snmp4j.mcp.tool.snmp.raw.McpSnmpSendRaw
- getTitle() - Method in class org.snmp4j.mcp.tool.snmp.set.SnmpSet
- getTitle() - Method in class org.snmp4j.mcp.tool.snmp.table.McpSnmpTable
- getTitle() - Method in class org.snmp4j.mcp.tool.snmp.tree.McpSnmpTree
- getTool(String) - Method in class org.snmp4j.mcp.SnmpMcpServer
-
Gets a tool by its ID.
- getTreeResultSchemaJson() - Static method in class org.snmp4j.mcp.tool.snmp.tree.McpSnmpTree
-
Returns the JSON Schema (Draft 2020-12) for the JSON object returned by this tool.
- getType() - Method in class org.snmp4j.mcp.tool.ToolParameter
-
Gets the parameter type.
- getValue(String) - Method in interface org.snmp4j.mcp.context.McpContext
-
Gets a value from the context.
- getValue(String) - Method in class org.snmp4j.mcp.ModelRepositoryContext
- getValue(String) - Method in class org.snmp4j.mcp.SnmpAgentContext
- getVersion() - Method in class org.snmp4j.mcp.MibBrowserTool
- getVersion() - Method in interface org.snmp4j.mcp.tool.McpTool
-
Gets the version of this tool.
- getVersion() - Method in class org.snmp4j.mcp.tool.mib.compiler.MibCompilerTool
- getVersion() - Method in class org.snmp4j.mcp.tool.mib.search.MibSearchTool
- getVersion() - Method in class org.snmp4j.mcp.tool.mib.semantic.McpMibSemanticSearch
- getVersion() - Method in class org.snmp4j.mcp.tool.mib.text.GetMibFileTool
- getVersion() - Method in class org.snmp4j.mcp.tool.snmp.agent.McpSnmpModuleSupport
- getVersion() - Method in class org.snmp4j.mcp.tool.snmp.ber.McpSnmpEncodeBER
- getVersion() - Method in class org.snmp4j.mcp.tool.snmp.ber.McpSnmpMessageBER
- getVersion() - Method in class org.snmp4j.mcp.tool.snmp.McpSnmpCommandGenerator
- getVersion() - Method in class org.snmp4j.mcp.tool.snmp.raw.McpSnmpSendRaw
- getVersion() - Method in class org.snmp4j.mcp.tool.snmp.set.SnmpSet
- getVersion() - Method in class org.snmp4j.mcp.tool.snmp.table.McpSnmpTable
- getVersion() - Method in class org.snmp4j.mcp.tool.snmp.tree.McpSnmpTree
H
- hashCode() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.LicenseConfig
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.McpConfig
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.MibConfig
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.SnmpTargetConfig
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.SnmpV3Config
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.TlsConfig
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.snmp4j.mcp.tool.mib.semantic.MibEmbeddingIndex.IndexEntry
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.snmp4j.mcp.tool.mib.semantic.MibEmbeddingIndex.SearchResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.snmp4j.mcp.tool.snmp.McpSnmpCommandGenerator.PduRequest
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.snmp4j.mcp.tool.snmp.McpSnmpCommandGenerator.VbRequest
-
Returns a hash code value for this object.
- hasResource(String) - Method in class org.snmp4j.mcp.SnmpMcpServer
-
Checks if a resource is registered.
- help(String, String, boolean, boolean) - Method in class org.snmp4j.mcp.server.stdio.help.McpServerStdioHelp
-
Provides help information regarding available commands and their associated options.
- HexUtil - Class in org.snmp4j.mcp.tool.snmp
-
Hex-string conversion helpers shared by the SNMP byte-level tools (
snmp_message_ber,snmp_send_raw,snmp_encode_ber). - How it works - Section in class org.snmp4j.mcp.tool.mib.semantic.McpMibSemanticSearch
I
- IndexEntry(String, int, String, String, String, String) - Constructor for record class org.snmp4j.mcp.tool.mib.semantic.MibEmbeddingIndex.IndexEntry
-
Creates an instance of a
IndexEntryrecord class. - initialize() - Method in class org.snmp4j.mcp.SnmpMcpServer
-
Initializes the server with default tools and contexts.
- initialize(Map) - Method in interface org.snmp4j.mcp.context.McpContext
-
Initializes the context with the given configuration.
- initialize(Map) - Method in class org.snmp4j.mcp.ModelRepositoryContext
- initialize(Map) - Method in class org.snmp4j.mcp.SnmpAgentContext
- isAvailable() - Method in class org.snmp4j.mcp.MibBrowserTool
- isAvailable() - Method in interface org.snmp4j.mcp.tool.McpTool
-
Checks if the tool is available in the current environment.
- isAvailable() - Method in class org.snmp4j.mcp.tool.mib.compiler.MibCompilerTool
- isAvailable() - Method in class org.snmp4j.mcp.tool.mib.search.MibSearchTool
- isAvailable() - Method in class org.snmp4j.mcp.tool.mib.semantic.McpMibSemanticSearch
- isAvailable() - Method in class org.snmp4j.mcp.tool.mib.text.GetMibFileTool
- isAvailable() - Method in class org.snmp4j.mcp.tool.snmp.agent.McpSnmpModuleSupport
- isAvailable() - Method in class org.snmp4j.mcp.tool.snmp.ber.McpSnmpEncodeBER
- isAvailable() - Method in class org.snmp4j.mcp.tool.snmp.ber.McpSnmpMessageBER
- isAvailable() - Method in class org.snmp4j.mcp.tool.snmp.McpSnmpCommandGenerator
- isAvailable() - Method in class org.snmp4j.mcp.tool.snmp.raw.McpSnmpSendRaw
- isAvailable() - Method in class org.snmp4j.mcp.tool.snmp.set.SnmpSet
- isAvailable() - Method in class org.snmp4j.mcp.tool.snmp.table.McpSnmpTable
- isAvailable() - Method in class org.snmp4j.mcp.tool.snmp.tree.McpSnmpTree
- isEmpty() - Method in class org.snmp4j.mcp.tool.mib.semantic.MibEmbeddingIndex
-
Checks if the index contains no chunks.
- isNonCanonical(Object) - Static method in class org.snmp4j.mcp.tool.snmp.ber.BerJsonEncoder
-
Returns
trueif any node in the tree carries a fault-injection field or would otherwise produce a non-canonical encoding. - isReady() - Method in interface org.snmp4j.mcp.context.McpContext
-
Checks if the context is ready for use.
- isReady() - Method in class org.snmp4j.mcp.ModelRepositoryContext
- isReady() - Method in class org.snmp4j.mcp.SnmpAgentContext
- isRequired() - Method in class org.snmp4j.mcp.tool.ToolParameter
-
Checks if the parameter is required.
- isRunning() - Method in class org.snmp4j.mcp.SnmpMcpServer
-
Checks if the server is running.
- isSuccess() - Method in class org.snmp4j.mcp.tool.ToolResult
-
Checks if the execution was successful.
K
- keyStore() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.TlsConfig
-
Returns the value of the
keyStorerecord component. - keyStorePassword() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.TlsConfig
-
Returns the value of the
keyStorePasswordrecord component.
L
- license() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.LicenseConfig
-
Returns the value of the
licenserecord component. - license() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.McpConfig
-
Returns the value of the
licenserecord component. - LicenseConfig(String) - Constructor for record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.LicenseConfig
-
Creates an instance of a
LicenseConfigrecord class. - load(Path) - Static method in class org.snmp4j.mcp.tool.mib.semantic.MibEmbeddingIndex
-
Loads a previously saved index from a GZIP'd JSON file.
- loadModules(String[]) - Method in class org.snmp4j.mcp.SnmpMcpServer
-
Loads and initializes specific modules based on the provided patterns.
- localCertificateAlias() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.TlsConfig
-
Returns the value of the
localCertificateAliasrecord component. - localEngineID() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.TlsConfig
-
Returns the value of the
localEngineIDrecord component. - localId() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.TlsConfig
-
Returns the value of the
localIdrecord component.
M
- main(String[]) - Static method in class org.snmp4j.mcp.SnmpMcpServer
-
The main entry point for the MCP Server.
- MAX_BATCH_SIZE - Static variable in class org.snmp4j.mcp.tool.mib.semantic.OpenAiEmbeddingClient
-
Maximum number of texts sent in a single API call.
- maxFragmentSize() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.TlsConfig
-
Returns the value of the
maxFragmentSizerecord component. - maxInboundMessageSize() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.TlsConfig
-
Returns the value of the
maxInboundMessageSizerecord component. - maxModuleLoadThreads() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.MibConfig
-
Returns the value of the
maxModuleLoadThreadsrecord component. - maxRepetitions() - Method in record class org.snmp4j.mcp.tool.snmp.McpSnmpCommandGenerator.PduRequest
-
Returns the value of the
maxRepetitionsrecord component. - maxSizeResponsePdu() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.SnmpTargetConfig
-
Returns the value of the
maxSizeResponsePdurecord component. - McpConfig(SnmpMcpServer.ServerConfiguration.LicenseConfig, SnmpMcpServer.ServerConfiguration.MibConfig, List) - Constructor for record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.McpConfig
-
Creates an instance of a
McpConfigrecord class. - McpContext - Interface in org.snmp4j.mcp.context
-
Interface for contexts that can be registered with the MCP server.
- McpContextException - Exception Class in org.snmp4j.mcp.context
-
Exception thrown when a context operation fails.
- McpContextException(String) - Constructor for exception class org.snmp4j.mcp.context.McpContextException
-
Creates a new context exception with the specified message.
- McpContextException(String, Throwable) - Constructor for exception class org.snmp4j.mcp.context.McpContextException
-
Creates a new context exception with the specified message and cause.
- McpMibSemanticSearch - Class in org.snmp4j.mcp.tool.mib.semantic
-
MCP tool that performs semantic (vector-similarity) search over all MIB objects currently loaded in the server's
SmiManager. - McpMibSemanticSearch(SmiManager, EmbeddingClient, Path) - Constructor for class org.snmp4j.mcp.tool.mib.semantic.McpMibSemanticSearch
-
Creates a new semantic search tool.
- McpServerStdioHelp - Class in org.snmp4j.mcp.server.stdio.help
-
Formats command-line help text for the MCP server stdio transport.
- McpServerStdioHelp() - Constructor for class org.snmp4j.mcp.server.stdio.help.McpServerStdioHelp
-
Creates a new instance of
McpServerStdioHelp. - McpSnmpBuilder - Class in org.snmp4j.mcp.tool.snmp
-
Fluent builder that translates an
SnmpMcpServer.ServerConfiguration.SnmpTargetConfiginto the SNMP4J fluent-API objects (Target,Snmp,PduBuilder) used by MCP tool implementations. - McpSnmpCommandGenerator - Class in org.snmp4j.mcp.tool.snmp
-
MCP Tool that sends an SNMP PDU to a named
SnmpMcpServer.ServerConfiguration.SnmpTargetConfigand returns theResponseEventserialised as JSON. - McpSnmpCommandGenerator(Supplier, SmiManager) - Constructor for class org.snmp4j.mcp.tool.snmp.McpSnmpCommandGenerator
-
Creates a new SNMP command generator tool.
- McpSnmpCommandGenerator.PduRequest - Record Class in org.snmp4j.mcp.tool.snmp
-
JSON representation of an SNMP ScopedPDU sent to the tool as the
pduparameter. - McpSnmpCommandGenerator.VbRequest - Record Class in org.snmp4j.mcp.tool.snmp
-
JSON representation of a single
VariableBindingwithin aMcpSnmpCommandGenerator.PduRequest. - McpSnmpEncodeBER - Class in org.snmp4j.mcp.tool.snmp.ber
-
MCP tool that encodes a BER node tree — expressed in the same JSON format that
snmp_message_beremits — back into raw message bytes, with optional fault injection, declarative mutations and computed permutations. - McpSnmpEncodeBER() - Constructor for class org.snmp4j.mcp.tool.snmp.ber.McpSnmpEncodeBER
-
Creates a new BER encode/mutate tool.
- McpSnmpMessageBER - Class in org.snmp4j.mcp.tool.snmp.ber
-
MCP tool that parses a raw SNMP message from a hex string and returns its BER structure as a text tree or JSON object tree.
- McpSnmpMessageBER(Supplier) - Constructor for class org.snmp4j.mcp.tool.snmp.ber.McpSnmpMessageBER
-
Creates a new BER parser tool.
- McpSnmpModuleSupport - Class in org.snmp4j.mcp.tool.snmp.agent
-
MCP tool that determines which loaded MIB modules are supported by a single SNMP target.
- McpSnmpModuleSupport(Supplier, SmiManager) - Constructor for class org.snmp4j.mcp.tool.snmp.agent.McpSnmpModuleSupport
-
Creates a new MIB module support detection tool.
- McpSnmpSendRaw - Class in org.snmp4j.mcp.tool.snmp.raw
-
MCP tool that transmits a raw, caller-supplied byte sequence to a configured SNMP target's transport endpoint and captures the raw response — the foundational primitive for robustness/fuzzing and security-negative testing of an SNMP agent.
- McpSnmpSendRaw(Supplier) - Constructor for class org.snmp4j.mcp.tool.snmp.raw.McpSnmpSendRaw
-
Creates a new raw-send tool.
- McpSnmpTable - Class in org.snmp4j.mcp.tool.snmp.table
-
MCP Tool that retrieves SNMP tabular data from a named
SnmpMcpServer.ServerConfiguration.SnmpTargetConfigand returns it as JSON. - McpSnmpTable(Supplier, SmiManager) - Constructor for class org.snmp4j.mcp.tool.snmp.table.McpSnmpTable
-
Creates a new SNMP table retrieval tool.
- McpSnmpTree - Class in org.snmp4j.mcp.tool.snmp.tree
-
MCP Tool that walks an SNMP subtree from a named
SnmpMcpServer.ServerConfiguration.SnmpTargetConfigand returns all variable bindings as JSON. - McpSnmpTree(Supplier, SmiManager) - Constructor for class org.snmp4j.mcp.tool.snmp.tree.McpSnmpTree
-
Creates a new SNMP subtree walk tool.
- McpTool - Interface in org.snmp4j.mcp.tool
-
Interface for tools that can be registered with the MCP server.
- McpToolException - Exception Class in org.snmp4j.mcp.tool
-
Exception thrown when a tool execution fails.
- McpToolException(String) - Constructor for exception class org.snmp4j.mcp.tool.McpToolException
-
Creates a new tool exception with the specified message.
- McpToolException(String, Throwable) - Constructor for exception class org.snmp4j.mcp.tool.McpToolException
-
Creates a new tool exception with the specified message and cause.
- mib() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.McpConfig
-
Returns the value of the
mibrecord component. - MibBrowserTool - Class in org.snmp4j.mcp
-
A tool for browsing MIB structures.
- MibBrowserTool() - Constructor for class org.snmp4j.mcp.MibBrowserTool
-
Creates a new MibBrowserTool.
- MibChunkFormatter - Class in org.snmp4j.mcp.tool.mib.semantic
-
Converts a
SmiObjectinto one or more plain-text chunks suitable for embedding. - MibChunkFormatter() - Constructor for class org.snmp4j.mcp.tool.mib.semantic.MibChunkFormatter
-
Creates a formatter with default chunk size and overlap.
- MibChunkFormatter(int, double, double) - Constructor for class org.snmp4j.mcp.tool.mib.semantic.MibChunkFormatter
-
Creates a formatter with custom chunk size and overlap window.
- MibCompilerTool - Class in org.snmp4j.mcp.tool.mib.compiler
-
An MCP Tool that compiles SMIv1 or SMIv2 MIB specifications using the underlying
SmiManagerand returns compilation results as a JSON string. - MibCompilerTool(SmiManager, SmiCompiler.TargetMode, String) - Constructor for class org.snmp4j.mcp.tool.mib.compiler.MibCompilerTool
-
Creates a
MibCompilerToolfor the specified target mode. - MibConfig(String, List, String, Integer, String) - Constructor for record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.MibConfig
-
Creates an instance of a
MibConfigrecord class. - MibEmbeddingIndex - Class in org.snmp4j.mcp.tool.mib.semantic
-
In-memory vector index over MIB objects with cosine-similarity search and optional GZIP'd JSON persistence.
- MibEmbeddingIndex() - Constructor for class org.snmp4j.mcp.tool.mib.semantic.MibEmbeddingIndex
-
Creates a new, empty embedding index.
- MibEmbeddingIndex.IndexEntry - Record Class in org.snmp4j.mcp.tool.mib.semantic
-
Metadata stored for each indexed chunk.
- MibEmbeddingIndex.SearchResult - Record Class in org.snmp4j.mcp.tool.mib.semantic
-
A single search hit with its cosine-similarity score.
- MibModuleSupplier - Class in org.snmp4j.mcp.resource.mib.module
-
A
Supplierthat provides the SMI module definition text for a given MIB module by querying theSmiManagerat retrieval time. - MibModuleSupplier(SmiManager, String) - Constructor for class org.snmp4j.mcp.resource.mib.module.MibModuleSupplier
-
Creates a supplier for the MIB module definition of the specified module.
- MibObjectResourceTemplate - Class in org.snmp4j.mcp.resource.mib.object
-
Provides MCP
McpServerFeatures.SyncResourceTemplateSpecificationandMcpServerFeatures.SyncCompletionSpecificationinstances for queryingSmiObjectdefinitions by two addressing schemes:mib/object/{moduleName}/{objectName}— fully-qualified module + object name pairmib/object/{oid}— globally unique dotted-decimal OID Both parameter sets support MCP completion so clients can interactively discover valid values. - MibObjectResourceTemplate(Supplier, IntSupplier) - Constructor for class org.snmp4j.mcp.resource.mib.object.MibObjectResourceTemplate
-
Creates a resource template backed by the given
SmiManagersupplier. - MibSearchTool - Class in org.snmp4j.mcp.tool.mib.search
-
An MCP Tool that exposes search functionality for MIB (Management Information Base) definitions using the underlying
SmiManager. - MibSearchTool(SmiManager) - Constructor for class org.snmp4j.mcp.tool.mib.search.MibSearchTool
-
Creates a new MIB Search Tool instance.
- mibSourcePath() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.MibConfig
-
Returns the value of the
mibSourcePathrecord component. - mibSourcePathOrDefault() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.MibConfig
-
Returns the configured MIB source directory, or "mibs" when the
mibSourcePathproperty is not set (null or blank). - model(String) - Method in class org.snmp4j.mcp.tool.mib.semantic.OpenAiEmbeddingClient.Builder
-
Sets the embedding model name.
- ModelRepositoryContext - Class in org.snmp4j.mcp
-
A context for accessing model repository data.
- ModelRepositoryContext() - Constructor for class org.snmp4j.mcp.ModelRepositoryContext
-
Creates a new ModelRepositoryContext with default id and name.
- moduleNames() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.MibConfig
-
Returns the value of the
moduleNamesrecord component. - moduleObjectCompletionSpec() - Method in class org.snmp4j.mcp.resource.mib.object.MibObjectResourceTemplate
-
Returns the completion specification for
mib/object/{moduleName}/{objectName}. - moduleObjectTemplateSpec() - Method in class org.snmp4j.mcp.resource.mib.object.MibObjectResourceTemplate
-
Returns the resource template specification for
mib/object/{moduleName}/{objectName}.
N
- name() - Method in record class org.snmp4j.mcp.tool.mib.semantic.MibEmbeddingIndex.IndexEntry
-
Returns the value of the
namerecord component. - name() - Method in record class org.snmp4j.mcp.tool.mib.semantic.MibEmbeddingIndex.SearchResult
-
Returns the value of the
namerecord component. - Node fields - Section in class org.snmp4j.mcp.tool.snmp.ber.BerJsonEncoder
- nonRepeaters() - Method in record class org.snmp4j.mcp.tool.snmp.McpSnmpCommandGenerator.PduRequest
-
Returns the value of the
nonRepeatersrecord component.
O
- oid() - Method in record class org.snmp4j.mcp.tool.mib.semantic.MibEmbeddingIndex.IndexEntry
-
Returns the value of the
oidrecord component. - oid() - Method in record class org.snmp4j.mcp.tool.mib.semantic.MibEmbeddingIndex.SearchResult
-
Returns the value of the
oidrecord component. - oid() - Method in record class org.snmp4j.mcp.tool.snmp.McpSnmpCommandGenerator.VbRequest
-
Returns the value of the
oidrecord component. - oidCompletionSpec() - Method in class org.snmp4j.mcp.resource.mib.object.MibObjectResourceTemplate
-
Returns the completion specification for
mib/object/{oid}. - oidTemplateSpec() - Method in class org.snmp4j.mcp.resource.mib.object.MibObjectResourceTemplate
-
Returns the resource template specification for
mib/object/{oid}. - OnnxEmbeddingClient - Class in org.snmp4j.mcp.tool.mib.semantic
-
An
EmbeddingClientthat runssentence-transformers/all-MiniLM-L6-v2locally via ONNX Runtime — no external API or internet connection required after the model files have been downloaded and cached on first use (~23 MB, quantized). - OnnxEmbeddingClient() - Constructor for class org.snmp4j.mcp.tool.mib.semantic.OnnxEmbeddingClient
-
Downloads and caches the model on first use, then loads it into ONNX Runtime.
- OpenAiEmbeddingClient - Class in org.snmp4j.mcp.tool.mib.semantic
-
EmbeddingClientthat calls the OpenAI Embeddings API (POST https://api.openai.com/v1/embeddings). - OpenAiEmbeddingClient.Builder - Class in org.snmp4j.mcp.tool.mib.semantic
-
Fluent builder for
OpenAiEmbeddingClient. - org.snmp4j.mcp - package org.snmp4j.mcp
- org.snmp4j.mcp.context - package org.snmp4j.mcp.context
- org.snmp4j.mcp.resource.mib.module - package org.snmp4j.mcp.resource.mib.module
- org.snmp4j.mcp.resource.mib.object - package org.snmp4j.mcp.resource.mib.object
- org.snmp4j.mcp.resource.snmp - package org.snmp4j.mcp.resource.snmp
- org.snmp4j.mcp.server.stdio.help - package org.snmp4j.mcp.server.stdio.help
- org.snmp4j.mcp.tool - package org.snmp4j.mcp.tool
- org.snmp4j.mcp.tool.mib.compiler - package org.snmp4j.mcp.tool.mib.compiler
- org.snmp4j.mcp.tool.mib.search - package org.snmp4j.mcp.tool.mib.search
- org.snmp4j.mcp.tool.mib.semantic - package org.snmp4j.mcp.tool.mib.semantic
- org.snmp4j.mcp.tool.mib.text - package org.snmp4j.mcp.tool.mib.text
- org.snmp4j.mcp.tool.snmp - package org.snmp4j.mcp.tool.snmp
- org.snmp4j.mcp.tool.snmp.agent - package org.snmp4j.mcp.tool.snmp.agent
- org.snmp4j.mcp.tool.snmp.ber - package org.snmp4j.mcp.tool.snmp.ber
- org.snmp4j.mcp.tool.snmp.raw - package org.snmp4j.mcp.tool.snmp.raw
- org.snmp4j.mcp.tool.snmp.set - package org.snmp4j.mcp.tool.snmp.set
- org.snmp4j.mcp.tool.snmp.table - package org.snmp4j.mcp.tool.snmp.table
- org.snmp4j.mcp.tool.snmp.tree - package org.snmp4j.mcp.tool.snmp.tree
P
- parse(OID, String, SmiManager) - Static method in class org.snmp4j.mcp.tool.snmp.SnmpVariableParser
-
Parses
valueStringinto the most appropriateVariablesubclass. - parseHex(String) - Static method in class org.snmp4j.mcp.tool.snmp.HexUtil
-
Parses a hex string into a byte array.
- PDU_REQUEST_SCHEMA_RESOURCE_URI - Static variable in class org.snmp4j.mcp.tool.snmp.McpSnmpCommandGenerator
-
MCP resource URI for the PDU request JSON schema.
- PduRequest(String, List, String, String, Integer, Integer) - Constructor for record class org.snmp4j.mcp.tool.snmp.McpSnmpCommandGenerator.PduRequest
-
Creates an instance of a
PduRequestrecord class. - peerHostId() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.TlsConfig
-
Returns the value of the
peerHostIdrecord component. - peerId() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.TlsConfig
-
Returns the value of the
peerIdrecord component. - Per-node fault-injection fields (all optional) - Section in class org.snmp4j.mcp.tool.snmp.ber.BerJsonEncoder
- privPassphrase() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.SnmpV3Config
-
Returns the value of the
privPassphraserecord component. - privProtocol() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.SnmpV3Config
-
Returns the value of the
privProtocolrecord component. - PROP_API_KEY - Static variable in class org.snmp4j.mcp.tool.mib.semantic.OpenAiEmbeddingClient
-
JVM system property name for the OpenAI API key.
R
- rebuildAsync() - Method in class org.snmp4j.mcp.tool.mib.semantic.McpMibSemanticSearch
-
Triggers an asynchronous (re-)build of the embedding index.
- registerContext(McpContext) - Method in class org.snmp4j.mcp.SnmpMcpServer
-
Registers a new context with the server.
- registerTool(McpTool) - Method in class org.snmp4j.mcp.SnmpMcpServer
-
Registers a new tool with the server.
- remove(String) - Method in class org.snmp4j.mcp.tool.mib.semantic.MibEmbeddingIndex
-
Removes all chunk entries for the given OID, if present.
- removeResource(String) - Method in class org.snmp4j.mcp.SnmpMcpServer
-
Removes a resource from the MCP server.
- repositoryPath() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.MibConfig
-
Returns the value of the
repositoryPathrecord component. - resetModules() - Method in class org.snmp4j.mcp.SnmpMcpServer
-
Unloads all MIB modules from memory and notifies clients of the resource list change.
- resolveNode(Object, String) - Static method in class org.snmp4j.mcp.tool.snmp.ber.BerMutations
-
Resolves a JSON Pointer against the tree and returns the addressed node.
- RESPONSE_SCHEMA_RESOURCE_URI - Static variable in class org.snmp4j.mcp.tool.snmp.McpSnmpCommandGenerator
-
MCP resource URI for the SNMP response event JSON schema.
- retries() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.SnmpTargetConfig
-
Returns the value of the
retriesrecord component. - revocationCheckOptions() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.TlsConfig
-
Returns the value of the
revocationCheckOptionsrecord component.
S
- save(Path) - Method in class org.snmp4j.mcp.tool.mib.semantic.MibEmbeddingIndex
-
Saves the index to a GZIP'd JSON file at
path. - score() - Method in record class org.snmp4j.mcp.tool.mib.semantic.MibEmbeddingIndex.SearchResult
-
Returns the value of the
scorerecord component. - search(float[], int, String, String) - Method in class org.snmp4j.mcp.tool.mib.semantic.MibEmbeddingIndex
-
Searches the index by cosine similarity to
queryVector. - SearchResult(float, String, String, String, String, String) - Constructor for record class org.snmp4j.mcp.tool.mib.semantic.MibEmbeddingIndex.SearchResult
-
Creates an instance of a
SearchResultrecord class. - securityLevel() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.SnmpV3Config
-
Returns the value of the
securityLevelrecord component. - securityLevel() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.TlsConfig
-
Returns the value of the
securityLevelrecord component. - securityName() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.SnmpV3Config
-
Returns the value of the
securityNamerecord component. - securityName() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.TlsConfig
-
Returns the value of the
securityNamerecord component. - SEND_RAW_RESULT_SCHEMA_RESOURCE_URI - Static variable in class org.snmp4j.mcp.tool.snmp.raw.McpSnmpSendRaw
-
MCP resource URI for the result JSON schema.
- ServerConfiguration() - Constructor for class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration
-
Creates a ServerConfiguration with all defaults.
- serverFingerprint() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.TlsConfig
-
Returns the value of the
serverFingerprintrecord component. - setConfig(SnmpMcpServer.ServerConfiguration) - Method in class org.snmp4j.mcp.SnmpMcpServer
-
Sets the server configuration.
- setConfigFile(String) - Method in class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration
-
Sets the path to the configuration file.
- setLicenseKey(String) - Method in class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration
-
Sets the license key for the SMI manager.
- setMcpConfig(SnmpMcpServer.ServerConfiguration.McpConfig) - Method in class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration
-
Configures the Management Control Protocol (MCP) settings for the server.
- setPort(int) - Method in class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration
-
Sets the port number for the server configuration.
- setPort(int) - Method in class org.snmp4j.mcp.SnmpMcpServer
-
Sets the server port.
- setRepositoryPath(String) - Method in class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration
-
Sets the file-system path to the MIB repository directory.
- setValue(String, Object) - Method in interface org.snmp4j.mcp.context.McpContext
-
Sets a value in the context.
- setValue(String, Object) - Method in class org.snmp4j.mcp.ModelRepositoryContext
- setValue(String, Object) - Method in class org.snmp4j.mcp.SnmpAgentContext
- size() - Method in class org.snmp4j.mcp.tool.mib.semantic.MibEmbeddingIndex
-
Returns the number of indexed chunks.
- smiType() - Method in record class org.snmp4j.mcp.tool.snmp.McpSnmpCommandGenerator.VbRequest
-
Returns the value of the
smiTyperecord component. - SNMP_TARGET_ADDR_ENTRY_CREATE_ROW_SAMPLE_URI - Static variable in class org.snmp4j.mcp.tool.snmp.McpSnmpCommandGenerator
-
MCP resource URI for the sample
snmpTargetAddrEntrycreate-row PDU. - SnmpAgentContext - Class in org.snmp4j.mcp
-
A context for interacting with SNMP agents.
- SnmpAgentContext() - Constructor for class org.snmp4j.mcp.SnmpAgentContext
-
Creates a new SnmpAgentContext with default id and name.
- SnmpMcpServer - Class in org.snmp4j.mcp
-
Model Context Protocol Server implementation that provides a framework for adding tools and contexts to extend server capabilities.
- SnmpMcpServer() - Constructor for class org.snmp4j.mcp.SnmpMcpServer
-
Creates a new MCP server with the default configuration.
- SnmpMcpServer(SnmpMcpServer.ServerConfiguration) - Constructor for class org.snmp4j.mcp.SnmpMcpServer
-
Creates a new MCP server with the specified configuration.
- SnmpMcpServer.ServerConfiguration - Class in org.snmp4j.mcp
-
The ServerConfiguration class provides configuration settings for a server application.
- SnmpMcpServer.ServerConfiguration.LicenseConfig - Record Class in org.snmp4j.mcp
-
Represents the configuration for a license.
- SnmpMcpServer.ServerConfiguration.McpConfig - Record Class in org.snmp4j.mcp
-
Configuration record for the MCP (Management Control Protocol) system.
- SnmpMcpServer.ServerConfiguration.MibConfig - Record Class in org.snmp4j.mcp
-
Represents the configuration for managing MIB (Management Information Base) settings.
- SnmpMcpServer.ServerConfiguration.SnmpTargetConfig - Record Class in org.snmp4j.mcp
-
Represents the configuration settings for a named SNMP target.
- SnmpMcpServer.ServerConfiguration.SnmpV3Config - Record Class in org.snmp4j.mcp
-
Represents the configuration for SNMPv3 (Simple Network Management Protocol version 3).
- SnmpMcpServer.ServerConfiguration.TlsConfig - Record Class in org.snmp4j.mcp
-
A record representing the configuration for (D)TLS (Datagram Transport Layer Security) as defined by RFC 6353 (TLSTM) and RFC 7296/RFC 5953 (DTLSTM).
- SnmpSet - Class in org.snmp4j.mcp.tool.snmp.set
-
MCP Tool that issues an SNMP GET (default, read-only) or SET request against a configured target.
- SnmpSet(Supplier, SmiManager) - Constructor for class org.snmp4j.mcp.tool.snmp.set.SnmpSet
-
Creates a new SNMP GET/SET tool.
- SnmpTargetConfig(String, String, String, int, int, String, int, SnmpMcpServer.ServerConfiguration.SnmpV3Config, SnmpMcpServer.ServerConfiguration.TlsConfig, boolean) - Constructor for record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.SnmpTargetConfig
-
Creates an instance of a
SnmpTargetConfigrecord class. - SnmpTargetResourceTemplate - Class in org.snmp4j.mcp.resource.snmp
-
Provides an MCP
McpServerFeatures.SyncResourceTemplateSpecificationand aMcpServerFeatures.SyncCompletionSpecificationthat expose each configuredSnmpMcpServer.ServerConfiguration.SnmpTargetConfigas a JSON resource addressed by its uniquetargetName. - SnmpTargetResourceTemplate(Supplier) - Constructor for class org.snmp4j.mcp.resource.snmp.SnmpTargetResourceTemplate
-
Creates a resource template backed by the given supplier.
- snmpTargets() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.McpConfig
-
Returns the value of the
snmpTargetsrecord component. - snmpV3() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.SnmpTargetConfig
-
Returns the value of the
snmpV3record component. - SnmpV3Config(String, String, String, String, String, String, String, String, String) - Constructor for record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.SnmpV3Config
-
Creates an instance of a
SnmpV3Configrecord class. - SnmpVariableParser - Class in org.snmp4j.mcp.tool.snmp
-
Utility that converts a plain string value into the correct
Variablesubclass for a given SNMP OID. - spaces(int) - Static method in class org.snmp4j.mcp.server.stdio.help.McpServerStdioHelp
-
Generates a string containing a specified number of space characters.
- start() - Method in class org.snmp4j.mcp.SnmpMcpServer
-
Starts the server on the configured port.
- stop() - Method in class org.snmp4j.mcp.SnmpMcpServer
-
Stops the server and releases all resources.
- success(Object) - Static method in class org.snmp4j.mcp.tool.ToolResult
-
Creates a successful result.
- success(Object, String) - Static method in class org.snmp4j.mcp.tool.ToolResult
-
Creates a successful result with a message.
- syntaxStr() - Method in record class org.snmp4j.mcp.tool.mib.semantic.MibEmbeddingIndex.IndexEntry
-
Returns the value of the
syntaxStrrecord component. - syntaxStr() - Method in record class org.snmp4j.mcp.tool.mib.semantic.MibEmbeddingIndex.SearchResult
-
Returns the value of the
syntaxStrrecord component.
T
- TABLE_RESULT_SCHEMA_RESOURCE_URI - Static variable in class org.snmp4j.mcp.tool.snmp.table.McpSnmpTable
-
MCP resource URI for the table result JSON schema.
- targetName() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.SnmpTargetConfig
-
Returns the value of the
targetNamerecord component. - templateSpec() - Method in class org.snmp4j.mcp.resource.snmp.SnmpTargetResourceTemplate
-
Returns the resource template specification for
snmp/target/{targetName}. - timeout() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.SnmpTargetConfig
-
Returns the value of the
timeoutrecord component. - tls() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.SnmpTargetConfig
-
Returns the value of the
tlsrecord component. - TlsConfig(String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, List, Integer, Integer, Integer, Long, String, Boolean) - Constructor for record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.TlsConfig
-
Creates an instance of a
TlsConfigrecord class. - tlsVersion() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.TlsConfig
-
Returns the value of the
tlsVersionrecord component. - toHex(byte[]) - Static method in class org.snmp4j.mcp.tool.snmp.HexUtil
-
Formats bytes as a lower-case, colon-delimited hex string (e.g.
- TOOL_ID - Static variable in class org.snmp4j.mcp.tool.mib.semantic.McpMibSemanticSearch
-
Tool ID registered with the MCP server ("semantic_search_mib").
- TOOL_ID - Static variable in class org.snmp4j.mcp.tool.mib.text.GetMibFileTool
-
The tool identifier as exposed to MCP clients.
- TOOL_ID - Static variable in class org.snmp4j.mcp.tool.snmp.agent.McpSnmpModuleSupport
-
Tool ID registered with the MCP server ("snmp_detect_mib_modules").
- TOOL_ID - Static variable in class org.snmp4j.mcp.tool.snmp.ber.McpSnmpEncodeBER
-
Tool ID registered with the MCP server ("snmp_encode_ber").
- TOOL_ID - Static variable in class org.snmp4j.mcp.tool.snmp.ber.McpSnmpMessageBER
-
Tool ID registered with the MCP server ("snmp_message_ber").
- TOOL_ID - Static variable in class org.snmp4j.mcp.tool.snmp.McpSnmpCommandGenerator
-
Tool ID registered with the MCP server ("snmp_command_generator").
- TOOL_ID - Static variable in class org.snmp4j.mcp.tool.snmp.raw.McpSnmpSendRaw
-
Tool ID registered with the MCP server ("snmp_send_raw").
- TOOL_ID - Static variable in class org.snmp4j.mcp.tool.snmp.set.SnmpSet
-
Tool ID registered with the MCP server ("snmp_set").
- TOOL_ID - Static variable in class org.snmp4j.mcp.tool.snmp.table.McpSnmpTable
-
Tool ID registered with the MCP server ("snmp_get_table").
- TOOL_ID - Static variable in class org.snmp4j.mcp.tool.snmp.tree.McpSnmpTree
-
Tool ID registered with the MCP server ("snmp_walk_subtree").
- ToolParameter - Class in org.snmp4j.mcp.tool
-
Describes a parameter that can be passed to a tool.
- ToolParameter(String, String, boolean, Class) - Constructor for class org.snmp4j.mcp.tool.ToolParameter
-
Creates a new tool parameter.
- ToolParameter(String, String, boolean, Class, Object) - Constructor for class org.snmp4j.mcp.tool.ToolParameter
-
Creates a new tool parameter with a default value.
- ToolResult - Class in org.snmp4j.mcp.tool
-
Represents the result of a tool execution.
- ToolResult(boolean, Object, String) - Constructor for class org.snmp4j.mcp.tool.ToolResult
-
Creates a new tool result.
- ToolSchemaConverterUtils - Class in org.snmp4j.mcp.tool
-
Utility class for converting tool parameters to JSON Schema for use in MCP input schemas.
- toString() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.LicenseConfig
-
Returns a string representation of this record class.
- toString() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.McpConfig
-
Returns a string representation of this record class.
- toString() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.MibConfig
-
Returns a string representation of this record class.
- toString() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.SnmpTargetConfig
-
Returns a string representation of this record class.
- toString() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.SnmpV3Config
-
Returns a string representation of this record class.
- toString() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.TlsConfig
-
Returns a string representation of this record class.
- toString() - Method in record class org.snmp4j.mcp.tool.mib.semantic.MibEmbeddingIndex.IndexEntry
-
Returns a string representation of this record class.
- toString() - Method in record class org.snmp4j.mcp.tool.mib.semantic.MibEmbeddingIndex.SearchResult
-
Returns a string representation of this record class.
- toString() - Method in record class org.snmp4j.mcp.tool.snmp.McpSnmpCommandGenerator.PduRequest
-
Returns a string representation of this record class.
- toString() - Method in record class org.snmp4j.mcp.tool.snmp.McpSnmpCommandGenerator.VbRequest
-
Returns a string representation of this record class.
- toSyncToolSpec() - Method in class org.snmp4j.mcp.tool.snmp.table.McpSnmpTable
-
Returns a
McpServerFeatures.SyncToolSpecificationfor direct server registration. - toSyncToolSpec() - Method in class org.snmp4j.mcp.tool.snmp.tree.McpSnmpTree
-
Returns a
McpServerFeatures.SyncToolSpecificationfor direct server registration. - total - Variable in class org.snmp4j.mcp.tool.snmp.ber.BerMutations.Expansion
-
Total combinations the spec would have produced (before the limit).
- TREE_RESULT_SCHEMA_RESOURCE_URI - Static variable in class org.snmp4j.mcp.tool.snmp.tree.McpSnmpTree
-
MCP resource URI for the tree result JSON schema.
- trees - Variable in class org.snmp4j.mcp.tool.snmp.ber.BerMutations.Expansion
-
One (cloned, mutated) node tree per generated message.
- truncated - Variable in class org.snmp4j.mcp.tool.snmp.ber.BerMutations.Expansion
-
Whether
BerMutations.Expansion.totalexceeded the limit and the output was truncated. - trustCa() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.TlsConfig
-
Returns the value of the
trustCarecord component. - trustStore() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.TlsConfig
-
Returns the value of the
trustStorerecord component. - trustStorePassword() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.TlsConfig
-
Returns the value of the
trustStorePasswordrecord component. - tsmUsePrefix() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.TlsConfig
-
Returns the value of the
tsmUsePrefixrecord component. - type() - Method in record class org.snmp4j.mcp.tool.snmp.McpSnmpCommandGenerator.PduRequest
-
Returns the value of the
typerecord component. - typeStr() - Method in record class org.snmp4j.mcp.tool.mib.semantic.MibEmbeddingIndex.IndexEntry
-
Returns the value of the
typeStrrecord component. - typeStr() - Method in record class org.snmp4j.mcp.tool.mib.semantic.MibEmbeddingIndex.SearchResult
-
Returns the value of the
typeStrrecord component.
U
- unloadModule(String) - Method in class org.snmp4j.mcp.SnmpMcpServer
-
Unloads a MIB module from memory and notifies clients of the resource list change.
- unloadModuleWithDependencies(String) - Method in class org.snmp4j.mcp.SnmpMcpServer
-
Unloads a MIB module and all its dependents from memory, notifying clients of the resource list change.
- unregisterContext(String) - Method in class org.snmp4j.mcp.SnmpMcpServer
-
Unregisters a context from the server.
- unregisterTool(String) - Method in class org.snmp4j.mcp.SnmpMcpServer
-
Unregisters a tool from the server.
- upsert(SmiObject, EmbeddingClient, MibChunkFormatter) - Method in class org.snmp4j.mcp.tool.mib.semantic.MibEmbeddingIndex
-
Incrementally upserts (adds or replaces) a single object and all of its chunks.
V
- value() - Method in record class org.snmp4j.mcp.tool.snmp.McpSnmpCommandGenerator.VbRequest
-
Returns the value of the
valuerecord component. - Value syntax - Section in class org.snmp4j.mcp.tool.snmp.SnmpVariableParser
- variableBindings() - Method in record class org.snmp4j.mcp.tool.snmp.McpSnmpCommandGenerator.PduRequest
-
Returns the value of the
variableBindingsrecord component. - VbRequest(String, String, String) - Constructor for record class org.snmp4j.mcp.tool.snmp.McpSnmpCommandGenerator.VbRequest
-
Creates an instance of a
VbRequestrecord class. - version() - Method in record class org.snmp4j.mcp.SnmpMcpServer.ServerConfiguration.SnmpTargetConfig
-
Returns the value of the
versionrecord component.
W
- withTarget(SnmpMcpServer.ServerConfiguration.SnmpTargetConfig) - Method in class org.snmp4j.mcp.tool.snmp.McpSnmpBuilder
-
Sets the target configuration to use when building the SNMP target.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form