Ash-AI MCP and Cursor
My MCP config in Cursor:
When I enable the MCP server in Cursor, the output from my Ash app run via
mix phx.server
outputs the following endlessly:
```
[info] POST /mcp/ash_ai
[debug] Processing with AshAi.Mcp.Router
Parameters: %{"id" => "init", "jsonrpc" => "2.0", "method" => "initialize", "params" => %{"capabilities" => %{}, "clientInfo" => %{"name" => "test", "version" => "0.1.0"}, "protocolVersion" => "2025-03-26"}}
Pipelines: [:mcp]
[info] Sent 401 in 580µs
[debug] Phoenix.Router halted in :mcp/2Solution:Jump to solution
```
"ash_dev": {
"command": "npx",
"args": ["mcp-remote@0.1.5", "http://localhost:4000/mcp/ash"]
}...
3 Replies
I believe in the docs we recommend a specific proxy
mcp-remote
sweet
I wonder if that works with tidewave too
I'm reading the github readmes. Maybe I need to stop doing that.
Solution