Class McpServer
java.lang.Object
org.ek9lang.mcp.McpServer
- All Implemented Interfaces:
IMcpServer
MCP server implementation for the EK9 compiler.
Provides tools and resources for AI assistants to interact with the compiler.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconnect(IMcpClient client) Connect the remote client proxy for sending notifications.voidexit()initialize(McpInitializeParams params) voidresourcesList(Object params) resourcesRead(ResourceReadParams params) shutdown()toolsCall(ToolCallParams params)
-
Constructor Details
-
McpServer
Create MCP server with the given OS support.
-
-
Method Details
-
connect
Connect the remote client proxy for sending notifications. -
initialize
- Specified by:
initializein interfaceIMcpServer
-
initialized
public void initialized()- Specified by:
initializedin interfaceIMcpServer
-
shutdown
- Specified by:
shutdownin interfaceIMcpServer
-
exit
public void exit()- Specified by:
exitin interfaceIMcpServer
-
toolsList
- Specified by:
toolsListin interfaceIMcpServer
-
toolsCall
- Specified by:
toolsCallin interfaceIMcpServer
-
resourcesList
- Specified by:
resourcesListin interfaceIMcpServer
-
resourcesRead
- Specified by:
resourcesReadin interfaceIMcpServer
-