This is a Model Context Protocol server for Moose. Using it, LLM clients can query a Moose model
It is an extension of the Pharo MCP server adding tools to query a Moose model.
To install:
Metacello new
baseline: 'MooseMCP';
repository: 'github://NicolasAnquetil/MooseMCP';
load.The instructions for running it are the same as for Pharo MCP:
mcp := MCP new.
mcp port: 4000.
mcp start.Additionaly the MooseMCP tools have to be registered in the MCPToolRegistry. This is a temporary step that should be removed in the future:
MMCPTool withAllSubclasses do: [ :c |
c isAbstract ifFalse: [ mcp toolRegistry registerToolClass: c] ].