Skip to the content.

Connect Cursor to Axiolex via MCP

New to Axiolex? Start with the overview or the quick start guide.

Cursor connects to Axiolex through the MCP Streamable HTTP transport. Cursor can discover the most relevant tool for a request and execute it through Axiolex’s dispatcher — without any secrets on the client.

What Cursor sees

When connected, Cursor can call three MCP tools:

Prerequisites

Start the Axiolex server:

git clone https://github.com/vrraj/axiolex.git && cd axiolex
make install
make start

MCP is served at http://localhost:9700/mcp.

Edit your Cursor MCP configuration at ~/.cursor/mcp.json:

{
  "mcpServers": {
    "axiolex": {
      "url": "http://localhost:9700/mcp"
    }
  }
}

Restart Cursor after saving the config.

Enterprise deployment

Point at the shared Axiolex URL:

{
  "mcpServers": {
    "axiolex": {
      "url": "https://axiolex.internal.corp/mcp"
    }
  }
}

The server holds all provider credentials — nothing secret lives on the client.

Alternative: stdio via npx proxy

If your Cursor configuration requires stdio transport, use the @axiolex/mcp-gateway proxy:

{
  "mcpServers": {
    "axiolex": {
      "command": "npx",
      "args": ["-y", "@axiolex/mcp-gateway", "--endpoint", "http://localhost:9700/mcp"]
    }
  }
}

See Connecting MCP Clients for the full comparison of npx proxy vs Python stdio.

Example prompts

Once connected, try prompts in Cursor Agent mode like:

These are example prompts we tested with based on the tools configured in our Axiolex deployment. Connect your own MCP servers, A2A agents, and local tools, then run queries relevant to your catalog.

Notes