Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AbstractHttpMcpServer - Class in org.machanism.machai.mcp.server
-
Abstract base class for HTTP-based MCP (Model Context Protocol) server implementations.
- AbstractHttpMcpServer() - Constructor for class org.machanism.machai.mcp.server.AbstractHttpMcpServer
-
Constructs a new
AbstractHttpMcpServer. - AbstractMcpServer - Class in org.machanism.machai.mcp.server
-
Abstract base class for MCP (Model Context Protocol) server implementations.
- AbstractMcpServer() - Constructor for class org.machanism.machai.mcp.server.AbstractMcpServer
-
Constructs a new
AbstractMcpServer. - AbstractMcpServer.ToolSpecificationBuilder<TExchange> - Interface in org.machanism.machai.mcp.server
-
Interface for building tool and tool specification objects for MCP servers.
- addTool(String, String, ToolFunction, ParamDescriptor...) - Method in class org.machanism.machai.mcp.server.GenericGenaiAdapter
-
Registers a new tool with the adapter.
B
- buildSpecification(Object, BiFunction<McpTransportContext, McpSchema.CallToolRequest, McpSchema.CallToolResult>) - Method in class org.machanism.machai.mcp.server.HttpStatelessMcpServer.HttpStatelessToolSpecificationBuilder
-
Builds a
SyncToolSpecificationfor the Remote MCP server. - buildSpecification(Object, BiFunction<McpSyncServerExchange, McpSchema.CallToolRequest, McpSchema.CallToolResult>) - Method in class org.machanism.machai.mcp.server.HttpStreamableMcpServer.HttpStreamableToolSpecificationBuilder
-
Builds a
SyncToolSpecificationfor the Remote MCP server. - buildSpecification(Object, BiFunction<McpSyncServerExchange, McpSchema.CallToolRequest, McpSchema.CallToolResult>) - Method in class org.machanism.machai.mcp.server.StdioMcpServer.StdioToolSpecificationBuilder
-
Builds a
SyncToolSpecificationfor the STDIO MCP server. - buildSpecification(Object, BiFunction<TExchange, McpSchema.CallToolRequest, McpSchema.CallToolResult>) - Method in interface org.machanism.machai.mcp.server.AbstractMcpServer.ToolSpecificationBuilder
-
Builds a tool specification object with the given tool and call handler.
C
- Class Diagram - Search tag in Overview
- Section
E
- Extensibility - Search tag in Overview
- Section
G
- GenericGenaiAdapter<TExchange,
TSpecification> - Class in org.machanism.machai.mcp.server -
A generic adapter for integrating GenAI tools with different server implementations.
- GenericGenaiAdapter(List<TSpecification>, AbstractMcpServer.ToolSpecificationBuilder<TExchange>) - Constructor for class org.machanism.machai.mcp.server.GenericGenaiAdapter
-
Constructs a new GenericGenaiAdapter.
- getPort() - Method in class org.machanism.machai.mcp.server.AbstractHttpMcpServer
-
Returns the port number on which the server is configured to listen.
- getProjectDir() - Method in class org.machanism.machai.mcp.server.AbstractMcpServer
- getTransportProvider() - Method in class org.machanism.machai.mcp.server.AbstractHttpMcpServer
-
Returns the HTTP servlet transport provider responsible for handling requests.
H
- HttpStatelessMcpServer - Class in org.machanism.machai.mcp.server
-
HttpStatelessMcpServer sets up and runs a Model Context Protocol (MCP) server that listens for HTTP requests on a specified port.
- HttpStatelessMcpServer(String, String) - Constructor for class org.machanism.machai.mcp.server.HttpStatelessMcpServer
-
Constructs a new HttpStatelessMcpServer with the given name and version.
- HttpStatelessMcpServer.HttpStatelessToolSpecificationBuilder - Class in org.machanism.machai.mcp.server
- HttpStatelessToolSpecificationBuilder() - Constructor for class org.machanism.machai.mcp.server.HttpStatelessMcpServer.HttpStatelessToolSpecificationBuilder
- HttpStreamableMcpServer - Class in org.machanism.machai.mcp.server
-
HttpStatelessMcpServer sets up and runs a Model Context Protocol (MCP) server that listens for HTTP requests on a specified port.
- HttpStreamableMcpServer(String, String) - Constructor for class org.machanism.machai.mcp.server.HttpStreamableMcpServer
-
Constructs a new HttpStatelessMcpServer with the given name and version.
- HttpStreamableMcpServer.HttpStreamableToolSpecificationBuilder - Class in org.machanism.machai.mcp.server
- HttpStreamableToolSpecificationBuilder() - Constructor for class org.machanism.machai.mcp.server.HttpStreamableMcpServer.HttpStreamableToolSpecificationBuilder
M
- MACHAI_MACHANISM_HOMEPAGE - Static variable in class org.machanism.machai.mcp.server.AbstractMcpServer
-
The homepage URL for the Machai MCP server.
- MACHAI_MACHANISM_ICON - Static variable in class org.machanism.machai.mcp.server.AbstractMcpServer
-
The icon URL for the Machai MCP server.
- Machai MCP Server - Search tag in Overview
- Section
- main(String[]) - Static method in class org.machanism.machai.mcp.server.McpServer
-
Main entry point for the MCP server application.
- McpServer - Class in org.machanism.machai.mcp.server
-
Entry point for starting the MCP (Model Context Protocol) server.
- McpServer() - Constructor for class org.machanism.machai.mcp.server.McpServer
O
- org.machanism.machai.mcp.server - package org.machanism.machai.mcp.server
-
Provides the executable Model Context Protocol (MCP) server layer for Machai.
P
- Package Structure - Search tag in Overview
- Section
- perform() - Method in class org.machanism.machai.mcp.server.GenericGenaiAdapter
- Purpose - Search tag in Overview
- Section
R
- Runtime Behavior - Search tag in Overview
- Section
S
- setConsoleOutputAtRuntime() - Static method in class org.machanism.machai.mcp.server.McpServer
- setPort(int) - Method in class org.machanism.machai.mcp.server.AbstractHttpMcpServer
-
Sets the port number for the server to listen on.
- setProjectDir(File) - Method in class org.machanism.machai.mcp.server.AbstractMcpServer
- setTransportProvider(HttpServlet) - Method in class org.machanism.machai.mcp.server.AbstractHttpMcpServer
-
Sets the HTTP servlet transport provider for handling requests.
- start() - Method in class org.machanism.machai.mcp.server.AbstractHttpMcpServer
-
Starts the MCP HTTP server with the configured port and transport provider.
- start() - Method in class org.machanism.machai.mcp.server.AbstractMcpServer
-
Starts the MCP server.
- start() - Method in class org.machanism.machai.mcp.server.HttpStatelessMcpServer
-
Starts the HTTP server and listens for incoming MCP requests on the specified port.
- start() - Method in class org.machanism.machai.mcp.server.HttpStreamableMcpServer
-
Starts the HTTP server and listens for incoming MCP requests on the specified port.
- start() - Method in class org.machanism.machai.mcp.server.StdioMcpServer
-
Builds and returns the configured
McpSyncServerinstance. - StdioMcpServer - Class in org.machanism.machai.mcp.server
-
StdioMcpServer sets up and runs a Model Context Protocol (MCP) server that communicates via standard input and output (STDIO).
- StdioMcpServer(String, String) - Constructor for class org.machanism.machai.mcp.server.StdioMcpServer
-
Constructs a new StdioMcpServer with the given name and version.
- StdioMcpServer.StdioToolSpecificationBuilder - Class in org.machanism.machai.mcp.server
- StdioToolSpecificationBuilder() - Constructor for class org.machanism.machai.mcp.server.StdioMcpServer.StdioToolSpecificationBuilder
T
- toHumanReadable(String) - Static method in class org.machanism.machai.mcp.server.GenericGenaiAdapter
-
Converts a function tool name in Python style (snake_case or camelCase) to a human-readable format.
- tools() - Method in class org.machanism.machai.mcp.server.AbstractMcpServer
-
Registers or defines the available tools for this MCP server.
- tools() - Method in class org.machanism.machai.mcp.server.HttpStatelessMcpServer
-
Loads and registers GenAI tools with the MCP server.
- tools() - Method in class org.machanism.machai.mcp.server.HttpStreamableMcpServer
-
Loads and registers GenAI tools with the MCP server.
- tools() - Method in class org.machanism.machai.mcp.server.StdioMcpServer
-
Loads and registers GenAI tools with the MCP server.
U
- Usage - Search tag in Overview
- Section
All Classes and Interfaces|All Packages|Constant Field Values