4 ms·
Sorry for the misunderstanding, Active MCP requires two processes. 1. mount the Engine and then `$ rails s` 2. `server.rb` to start the MCP server. `$ ruby pa
by moekiorg 2y ago
Sorry for the misunderstanding, Active MCP requires two processes.
1. mount the Engine and then `$ rails s`
2. `server.rb` to start the MCP server. `$ ruby path/to/server.rb`
`server = ActiveMcp::Server.new(name: "ActiveMcp DEMO", uri: 'https://your-app.example.com/mcp https://your-app.example.com/mcp'
);server.start`
Then, with an MCP client such as Claude Desktop, configure the following.
`{"mcpServers": {"active-mcp-demo": {"command": "/path/to/ruby", "args": ["/path/to/server.rb"]}}}`