Index

C D E H I J L M N O P R S T 
All Classes and Interfaces|All Packages|Serialized Form

C

callTool(String, String) - Method in class com.agentforge4j.mcp.client.McpServerConnection
Invokes a remote tool, starting the session on demand.
callTool(String, String) - Method in class com.agentforge4j.mcp.client.transport.StreamableHttpTransport
 
callTool(String, String) - Method in interface com.agentforge4j.mcp.client.transport.McpTransport
Invokes a remote tool.
close() - Method in class com.agentforge4j.mcp.client.McpServerConnection
Closes the session.
close() - Method in class com.agentforge4j.mcp.client.transport.StreamableHttpTransport
 
close() - Method in interface com.agentforge4j.mcp.client.transport.McpTransport
Closes the session.
closeAll() - Method in class com.agentforge4j.mcp.client.McpServerRegistry
Closes and removes every registered connection.
com.agentforge4j.mcp.client - package com.agentforge4j.mcp.client
 
com.agentforge4j.mcp.client.transport - package com.agentforge4j.mcp.client.transport
 
com.agentforge4j.mcp.integration - package com.agentforge4j.mcp.integration
 
connection(String) - Method in class com.agentforge4j.mcp.client.McpServerRegistry
Looks up the connection registered under a server id.
connections() - Method in class com.agentforge4j.mcp.client.McpServerRegistry
 
create(IntegrationDefinition, ToolProviderFactoryContext) - Method in class com.agentforge4j.mcp.integration.McpStdioToolProviderFactory
 
create(IntegrationDefinition, ToolProviderFactoryContext) - Method in class com.agentforge4j.mcp.integration.McpStreamableHttpToolProviderFactory
 
createSdkTransport() - Method in class com.agentforge4j.mcp.client.transport.StdioTransport
 
createSdkTransport() - Method in class com.agentforge4j.mcp.client.transport.StreamableHttpTransport
 

D

description() - Method in record class com.agentforge4j.mcp.client.transport.RemoteTool
Returns the value of the description record component.

E

equals(Object) - Method in record class com.agentforge4j.mcp.client.transport.RemoteTool
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.agentforge4j.mcp.client.transport.RemoteToolResult
Indicates whether some other object is "equal to" this one.
error() - Method in record class com.agentforge4j.mcp.client.transport.RemoteToolResult
Returns the value of the error record component.
error(String) - Static method in record class com.agentforge4j.mcp.client.transport.RemoteToolResult
Creates an error result.
errorMessage() - Method in record class com.agentforge4j.mcp.client.transport.RemoteToolResult
Returns the value of the errorMessage record component.

H

hashCode() - Method in record class com.agentforge4j.mcp.client.transport.RemoteTool
Returns a hash code value for this object.
hashCode() - Method in record class com.agentforge4j.mcp.client.transport.RemoteToolResult
Returns a hash code value for this object.
health() - Method in class com.agentforge4j.mcp.client.McpServerConnection
 
health() - Method in class com.agentforge4j.mcp.client.McpToolProvider
 

I

inputSchemaJson() - Method in record class com.agentforge4j.mcp.client.transport.RemoteTool
Returns the value of the inputSchemaJson record component.
invoke(ToolDescriptor, String, ToolInvocationContext, ToolExecutionOptions) - Method in class com.agentforge4j.mcp.client.McpToolProvider
 
isReady() - Method in class com.agentforge4j.mcp.client.transport.StreamableHttpTransport
 
isReady() - Method in interface com.agentforge4j.mcp.client.transport.McpTransport
 

J

jsonMapper() - Method in class com.agentforge4j.mcp.client.transport.StreamableHttpTransport
 

L

listTools() - Method in class com.agentforge4j.mcp.client.McpServerConnection
 
listTools() - Method in class com.agentforge4j.mcp.client.McpToolProvider
 
listTools() - Method in class com.agentforge4j.mcp.client.transport.StreamableHttpTransport
 
listTools() - Method in interface com.agentforge4j.mcp.client.transport.McpTransport
 

M

McpServerConnection - Class in com.agentforge4j.mcp.client
Lifecycle wrapper around a single MCP server's McpTransport: it owns connect, reconnect, health, and dispose for one server id.
McpServerConnection(String, McpTransport) - Constructor for class com.agentforge4j.mcp.client.McpServerConnection
Selects the supplied transport strategy for serverId.
McpServerRegistry - Class in com.agentforge4j.mcp.client
Registry of MCP server connections keyed by server id.
McpServerRegistry() - Constructor for class com.agentforge4j.mcp.client.McpServerRegistry
 
McpStdioToolProviderFactory - Class in com.agentforge4j.mcp.integration
Realises IntegrationType.MCP_STDIO integrations: launches the configured MCP server subprocess over stdio.
McpStdioToolProviderFactory() - Constructor for class com.agentforge4j.mcp.integration.McpStdioToolProviderFactory
 
McpStreamableHttpToolProviderFactory - Class in com.agentforge4j.mcp.integration
Realises IntegrationType.MCP_STREAMABLE_HTTP integrations: connects to a remote MCP server over Streamable HTTP.
McpStreamableHttpToolProviderFactory() - Constructor for class com.agentforge4j.mcp.integration.McpStreamableHttpToolProviderFactory
 
McpToolInvocationException - Exception in com.agentforge4j.mcp.client
Thrown when an MCP tool listing or invocation fails for reasons other than a tool-reported error (for example serialization or transport failures).
McpToolInvocationException(String) - Constructor for exception com.agentforge4j.mcp.client.McpToolInvocationException
Creates the exception with a detail message.
McpToolInvocationException(String, Throwable) - Constructor for exception com.agentforge4j.mcp.client.McpToolInvocationException
Creates the exception with a detail message and underlying cause.
McpToolProvider - Class in com.agentforge4j.mcp.client
ToolProvider backed by a single MCP server connection.
McpToolProvider(String, McpServerConnection, ToolSourceKind) - Constructor for class com.agentforge4j.mcp.client.McpToolProvider
Creates a provider over a single MCP server connection.
McpTransport - Interface in com.agentforge4j.mcp.client.transport
A session to a single MCP server, abstracted away from the MCP SDK so callers (and tests) depend only on transport-neutral types.

N

name() - Method in record class com.agentforge4j.mcp.client.transport.RemoteTool
Returns the value of the name record component.

O

output() - Method in record class com.agentforge4j.mcp.client.transport.RemoteToolResult
Returns the value of the output record component.

P

providerId() - Method in class com.agentforge4j.mcp.client.McpToolProvider
 

R

reconnect() - Method in class com.agentforge4j.mcp.client.McpServerConnection
Closes and re-establishes the session.
register(McpServerConnection) - Method in class com.agentforge4j.mcp.client.McpServerRegistry
Registers (or replaces) a connection under its server id.
RemoteTool - Record Class in com.agentforge4j.mcp.client.transport
Transport-neutral description of a tool exposed by a remote MCP server, decoupled from the MCP SDK types.
RemoteTool(String, String, String) - Constructor for record class com.agentforge4j.mcp.client.transport.RemoteTool
Validates that name is non-blank.
RemoteToolResult - Record Class in com.agentforge4j.mcp.client.transport
Transport-neutral result of a remote tool call, decoupled from the MCP SDK types.
RemoteToolResult(boolean, String, String) - Constructor for record class com.agentforge4j.mcp.client.transport.RemoteToolResult
Creates an instance of a RemoteToolResult record class.

S

serverId() - Method in class com.agentforge4j.mcp.client.McpServerConnection
 
start() - Method in class com.agentforge4j.mcp.client.McpServerConnection
Establishes the session if it is not already started.
start() - Method in class com.agentforge4j.mcp.client.transport.StreamableHttpTransport
 
start() - Method in interface com.agentforge4j.mcp.client.transport.McpTransport
Establishes the session (connect and initialize).
StdioTransport - Class in com.agentforge4j.mcp.client.transport
McpTransport that launches a local MCP server subprocess over stdio.
StdioTransport(String, List<String>, Map<String, String>, Duration, McpJsonMapper) - Constructor for class com.agentforge4j.mcp.client.transport.StdioTransport
Creates a stdio transport.
StreamableHttpTransport - Class in com.agentforge4j.mcp.client.transport
McpTransport that connects to a remote MCP server over Streamable HTTP.
StreamableHttpTransport(String, Duration, Map<String, String>, Map<String, String>, Function<String, String>, McpJsonMapper) - Constructor for class com.agentforge4j.mcp.client.transport.StreamableHttpTransport
Creates a Streamable HTTP transport.
success(String) - Static method in record class com.agentforge4j.mcp.client.transport.RemoteToolResult
Creates a success result.
supportedType() - Method in class com.agentforge4j.mcp.integration.McpStdioToolProviderFactory
 
supportedType() - Method in class com.agentforge4j.mcp.integration.McpStreamableHttpToolProviderFactory
 

T

toString() - Method in record class com.agentforge4j.mcp.client.transport.RemoteTool
Returns a string representation of this record class.
toString() - Method in record class com.agentforge4j.mcp.client.transport.RemoteToolResult
Returns a string representation of this record class.
C D E H I J L M N O P R S T 
All Classes and Interfaces|All Packages|Serialized Form