{"_id":"@axiolex/mcp-gateway","_rev":"7-0f18305d7199d1d12149e95c560ee813","name":"@axiolex/mcp-gateway","dist-tags":{"latest":"0.2.1"},"versions":{"0.1.0":{"name":"@axiolex/mcp-gateway","version":"0.1.0","keywords":["mcp","model-context-protocol","axiolex","proxy","stdio","claude","ai","tool-discovery"],"license":"MIT","_id":"@axiolex/mcp-gateway@0.1.0","maintainers":[{"name":"vr.rajkumar","email":"vr.rajkumar99@gmail.com"}],"bin":{"axiolex-mcp-gateway":"index.js"},"dist":{"shasum":"d9608ecde01cbb04903aaf52c1c1e140553b3cf4","tarball":"https://registry.npmjs.org/@axiolex/mcp-gateway/-/mcp-gateway-0.1.0.tgz","fileCount":4,"integrity":"sha512-W9ZekLau4ban/EFwdv+yvu+THqsxc02qwRtKIuJT55xTf4OjM+nb8RQIQ2fSTfacVGbkvRS85iTGTxFLF6DbFA==","signatures":[{"sig":"MEUCIQC1xgdoTGOoUyPFCFOeCueGte6HoCoSLw8t6kWlnGlrrgIgb427gMJMKRnRR5GKBa2si/SGGgL4XerfRgRh/BQfboQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7971},"type":"module","engines":{"node":">=18"},"gitHead":"2f4e320c1d3f40052a432ff6a893cb4b45a51b9d","_npmUser":{"name":"vr.rajkumar","email":"vr.rajkumar99@gmail.com"},"_npmVersion":"10.9.8","description":"Stdio-to-HTTP proxy for Axiolex MCP. Connects Claude Desktop (and other stdio-only MCP clients) to a remote Axiolex server.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mcp-gateway_0.1.0_1788471350560_0.2913126353824196","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@axiolex/mcp-gateway","version":"0.1.1","keywords":["mcp","model-context-protocol","axiolex","proxy","stdio","claude","ai","tool-discovery"],"license":"MIT","_id":"@axiolex/mcp-gateway@0.1.1","maintainers":[{"name":"vr.rajkumar","email":"vr.rajkumar99@gmail.com"}],"bin":{"axiolex-mcp-gateway":"index.js"},"dist":{"shasum":"633ae56067484e9d9531b3ef5b48187f887f312f","tarball":"https://registry.npmjs.org/@axiolex/mcp-gateway/-/mcp-gateway-0.1.1.tgz","fileCount":4,"integrity":"sha512-pXokxYpCMI4QFa22zCfaUP6xmDtH7chHBplSywoLOeojXqCms1XhZCIa3WUMZ/mj7MzfBUsueqD5Bg8bGcIhiA==","signatures":[{"sig":"MEQCIEl0JmP2kh6a74U72X5FUaNyWBnnCFbYYUviW7pWj7c4AiAxM9qsrvfD5CHjnXCV70AN3XVPJGPdwFapg/ppSiqroA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7952},"type":"module","engines":{"node":">=18"},"gitHead":"7aaac02286e653e6d5bb536fffc66e26f5d96163","_npmUser":{"name":"vr.rajkumar","email":"vr.rajkumar99@gmail.com"},"_npmVersion":"10.9.8","description":"Stdio-to-HTTP proxy for Axiolex MCP. Connects Claude Desktop (and other stdio-only MCP clients) to a remote Axiolex server.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mcp-gateway_0.1.1_1788477851364_0.3585775836220284","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@axiolex/mcp-gateway","version":"0.1.2","keywords":["mcp","model-context-protocol","axiolex","proxy","stdio","claude","ai","tool-discovery"],"license":"MIT","_id":"@axiolex/mcp-gateway@0.1.2","maintainers":[{"name":"vr.rajkumar","email":"vr.rajkumar99@gmail.com"}],"bin":{"axiolex-mcp-gateway":"index.js"},"dist":{"shasum":"12d91d5b00620680f34513ac98f264952dd6b7d5","tarball":"https://registry.npmjs.org/@axiolex/mcp-gateway/-/mcp-gateway-0.1.2.tgz","fileCount":4,"integrity":"sha512-81h5kw5T2aDK+RN48jusCX1T5HImWSuzzv9IyS7ZaVZgQy7z84AP3zIj/wfZLHlub4/5v+lSynZehnLMaPLERg==","signatures":[{"sig":"MEYCIQDs3K2DtGcR7mImhmS0AVsrJ0eO1gsS9ZjktZ5pXHs1kQIhAKwyjzcIx0CdC9Y3be1lLrhuxyTHwmJSb3/kbkvBiTyg","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8732},"type":"module","engines":{"node":">=18"},"gitHead":"2c59f2f2f3a1803d3d096599d6083d07e8ff71b5","_npmUser":{"name":"vr.rajkumar","email":"vr.rajkumar99@gmail.com"},"_npmVersion":"10.9.8","description":"Stdio-to-HTTP proxy for Axiolex MCP. Connects Claude Desktop (and other stdio-only MCP clients) to a remote Axiolex server.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mcp-gateway_0.1.2_1788645890063_0.9067824188111784","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@axiolex/mcp-gateway","version":"0.1.3","keywords":["mcp","model-context-protocol","axiolex","proxy","stdio","claude","ai","tool-discovery"],"license":"MIT","_id":"@axiolex/mcp-gateway@0.1.3","maintainers":[{"name":"vr.rajkumar","email":"vr.rajkumar99@gmail.com"}],"bin":{"axiolex-mcp-gateway":"index.js"},"dist":{"shasum":"da0723c5c5d680c995369c28f13e6b21648abf46","tarball":"https://registry.npmjs.org/@axiolex/mcp-gateway/-/mcp-gateway-0.1.3.tgz","fileCount":4,"integrity":"sha512-Gx5U7YF9JGbCkShgbxHY9sb5DcL0kFcgIOiAkKU8ENL88LdWf7TQSJpv1ee9qWrRdy9WLH8Tzu9VoLZqKkFJ7w==","signatures":[{"sig":"MEYCIQDo5LqQ7gzmRc1yM6MW9Xs6ICFDc7ThIHE/xoDzevdIBgIhAIcZ7PzI9iTQr6KNX3I8UxYhH+PghhcvYjtKEgR48Xg7","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9029},"type":"module","engines":{"node":">=18"},"gitHead":"138ef576caffe8d3b7c1421cae805063e470c218","_npmUser":{"name":"vr.rajkumar","email":"vr.rajkumar99@gmail.com"},"_npmVersion":"10.9.8","description":"Stdio-to-HTTP proxy for Axiolex MCP. Connects stdio-only MCP clients (Claude Desktop, Cursor, Codex) to a remote Axiolex server.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mcp-gateway_0.1.3_1788978079823_0.4723540291024031","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@axiolex/mcp-gateway","version":"0.1.4","keywords":["mcp","model-context-protocol","axiolex","proxy","stdio","claude","ai","tool-discovery"],"license":"MIT","_id":"@axiolex/mcp-gateway@0.1.4","maintainers":[{"name":"vr.rajkumar","email":"vr.rajkumar99@gmail.com"}],"bin":{"axiolex-mcp-gateway":"index.js"},"dist":{"shasum":"361eee5662cb1846196d823002585356502b6d65","tarball":"https://registry.npmjs.org/@axiolex/mcp-gateway/-/mcp-gateway-0.1.4.tgz","fileCount":4,"integrity":"sha512-0EWbVSYXkRQMczkUrrZyA/PWlo/NTTXLPmQgyXCpCigU0OUx7DZ0hpvJofsABpMrKP751Uu1vKvglrWZdejwEg==","signatures":[{"sig":"MEUCID/0sBMHCMKM+mW/atzq+4FbhTtJgxDWRVq/sZLg26g9AiEAvEMxwolyouQvM7nAg1zboDo8iW5KLVod9f7jP7cpKd0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8984},"type":"module","engines":{"node":">=18"},"gitHead":"d97e6f27c1cf66a343ef4196b415427a48a1c477","_npmUser":{"name":"vr.rajkumar","email":"vr.rajkumar99@gmail.com"},"_npmVersion":"10.9.8","description":"Stdio-to-HTTP proxy for Axiolex MCP. Connects stdio-only MCP clients (Claude Desktop, Cursor, Codex) to a remote Axiolex server.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mcp-gateway_0.1.4_1788981641582_0.5754661835013772","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@axiolex/mcp-gateway","version":"0.2.0","keywords":["mcp","model-context-protocol","axiolex","proxy","stdio","claude","ai","tool-discovery"],"license":"MIT","_id":"@axiolex/mcp-gateway@0.2.0","maintainers":[{"name":"vr.rajkumar","email":"vr.rajkumar99@gmail.com"}],"bin":{"axiolex-mcp-gateway":"index.js"},"dist":{"shasum":"af356cf53d66e052f6386553b3795c0c149b1a03","tarball":"https://registry.npmjs.org/@axiolex/mcp-gateway/-/mcp-gateway-0.2.0.tgz","fileCount":4,"integrity":"sha512-j0yek4oPiX49UqgTW4fXgn6aa3VOgN3GgnEKde+LvNxvGmeSZ2dQQdxLKmPEVFg5SQYoKrVMf1AKe4IoFtBWVA==","signatures":[{"sig":"MEUCIC13zhMrlq1eTaEbR97Sx3GG0aQeCWFp2p6YNpM7lVB1AiEAwnemDtZDFbRdNy+o9YUde+q9jnVof1KnIBS6bDBxA/w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCVKGAoXumHeSqrqWd/5OQdigsF/k+Qs8MVaOjnpG9CrwIhAL25qmVZZGGA7Q6zD5sNNDwhqe8+NnG4RupDRgnn5BEe","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9525},"type":"module","engines":{"node":">=18"},"gitHead":"214e891e52a839548c749b8527883f1e2c71d06f","_npmUser":{"name":"vr.rajkumar","email":"vr.rajkumar99@gmail.com"},"_npmVersion":"10.9.8","description":"Stdio-to-HTTP proxy for Axiolex MCP. Connects stdio-only MCP clients (Claude Desktop, Cursor, Codex) to a remote Axiolex server.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mcp-gateway_0.2.0_1789511119307_0.09819889012743754","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"_id":"@axiolex/mcp-gateway@0.2.1","bin":{"axiolex-mcp-gateway":"index.js"},"dist":{"shasum":"45c68c35117cce055cc61edcfb515b9d642bd2e7","tarball":"https://registry.npmjs.org/@axiolex/mcp-gateway/-/mcp-gateway-0.2.1.tgz","fileCount":4,"integrity":"sha512-w3eJRJ1NhsrtWfON9lfXPUOSOKFJYUgh3YeO7axEt8OB1n5qKjsZYinx+MRXQ2RCmD/z19dIphyHzVC39tRmgg==","signatures":[{"sig":"MEUCIC9IUhIZXi/lob8n0u2nZ2k0XYcHl1poZAIy8K5c6qAsAiEA+y4LIFX3I+Mva0D488gFrItGJbIkgU5+lH0N7z+m7DI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHDjA+KkFDWtzCa0lFS5tBPs94GCoI3AJ6rQvunTOXl+AiEAg7a9p6Ewk822gFR4KqdFdOmH6270Wvm600F6EqoettQ="}],"unpackedSize":10480},"name":"@axiolex/mcp-gateway","type":"module","engines":{"node":">=18"},"gitHead":"669911619956af31ded1a499b43786b052465210","license":"MIT","version":"0.2.1","_npmUser":{"name":"vr.rajkumar","email":"vr.rajkumar99@gmail.com"},"keywords":["mcp","model-context-protocol","axiolex","proxy","stdio","claude","ai","tool-discovery"],"_npmVersion":"10.9.8","description":"Stdio-to-HTTP proxy for Axiolex MCP. Connects stdio-only MCP clients (Claude Desktop, Cursor, Codex) to a remote Axiolex server.","directories":{},"maintainers":[{"name":"vr.rajkumar","email":"vr.rajkumar99@gmail.com"}],"_nodeVersion":"22.23.2","dependencies":{"@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp-gateway_0.2.1_1790729939272_0.308213180491236"}}},"time":{"created":"2026-09-03T21:35:50.314Z","modified":"2026-09-30T00:58:59.539Z","0.1.0":"2026-09-03T21:35:50.692Z","0.1.1":"2026-09-03T23:24:11.555Z","0.1.2":"2026-09-05T22:04:50.192Z","0.1.3":"2026-09-09T18:21:19.952Z","0.1.4":"2026-09-09T19:20:41.704Z","0.2.0":"2026-09-15T22:25:19.548Z","0.2.1":"2026-09-30T00:58:59.345Z"},"license":"MIT","keywords":["mcp","model-context-protocol","axiolex","proxy","stdio","claude","ai","tool-discovery"],"description":"Stdio-to-HTTP proxy for Axiolex MCP. Connects stdio-only MCP clients (Claude Desktop, Cursor, Codex) to a remote Axiolex server.","maintainers":[{"name":"vr.rajkumar","email":"vr.rajkumar99@gmail.com"}],"readme":"# @axiolex/mcp-gateway\n\nA tiny stdio-to-HTTP proxy that connects stdio-only MCP clients to a remote [Axiolex](https://github.com/vrraj/axiolex) server.\n\n## Why\n\nSome MCP clients only support the `stdio` transport — they spawn a local subprocess and communicate over stdin/stdout. At the time of writing, this includes Claude Desktop, Cursor, and Codex. Axiolex serves MCP over HTTP at `/mcp` on the API server (port 9700). This proxy bridges the two: it speaks stdio to the client and HTTP to Axiolex.\n\nThe proxy is **~150 lines of JavaScript** with one dependency (`@modelcontextprotocol/sdk`). No Python, no Redis, no ML libraries.\n\n## Install\n\nNo install needed — `npx` fetches and caches the package automatically:\n\n```json\n{\n  \"mcpServers\": {\n    \"axiolex\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@axiolex/mcp-gateway\", \"--endpoint\", \"http://localhost:9700/mcp\"]\n    }\n  }\n}\n```\n\nOr install globally:\n\n```bash\nnpm install -g @axiolex/mcp-gateway\n```\n\n## Client config\n\n### Claude Desktop\n\n```json\n{\n  \"mcpServers\": {\n    \"axiolex\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"@axiolex/mcp-gateway\",\n        \"--endpoint\", \"http://localhost:9700/mcp\"\n      ]\n    }\n  }\n}\n```\n\n### Cursor\n\nAdd to `~/.cursor/mcp.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"axiolex\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@axiolex/mcp-gateway\", \"--endpoint\", \"http://localhost:9700/mcp\"]\n    }\n  }\n}\n```\n\n### Codex\n\nAdd to `~/.codex/config.toml`:\n\n```toml\n[mcp_servers.axiolex]\ncommand = \"npx\"\nargs = [\"-y\", \"@axiolex/mcp-gateway\", \"--endpoint\", \"http://localhost:9700/mcp\"]\n```\n\nFor a remote Axiolex server, replace `http://localhost:9700/mcp` with your endpoint URL.\n\n## Options\n\n| Option | Env var | Default | Description |\n|---|---|---|---|\n| `--endpoint, -e` | `AXIOLEX_URL` | `http://localhost:9700/mcp` | Axiolex MCP HTTP endpoint |\n| `--help, -h` | | | Show help |\n\n## How it works\n\n```\nMCP Client (Claude, Cursor, Codex)\n  └── spawns: npx @axiolex/mcp-gateway --endpoint http://localhost:9700/mcp\n        ├── stdio server (stdin/stdout)  ← client sends JSON-RPC here\n        ├── HTTP client (fetch)          → forwards to localhost:9700/mcp\n        └── returns response via stdout  ← client receives result\n```\n\nThe proxy connects to the Axiolex server on startup (MCP `initialize` handshake), then forwards `tools/list`, `tools/call`, `prompts/list`, and `prompts/get` requests. All retrieval, ranking, and execution happens server-side — the proxy is just a pipe.\n\n## Capabilities\n\nThe proxy advertises the following MCP capabilities to the client:\n\n- **tools** (`listChanged: false`) — `tools/list` and `tools/call` proxied to upstream\n- **prompts** (`listChanged: false`) — `prompts/list` and `prompts/get` proxied to upstream\n\nSee the [Axiolex prompts catalog](https://github.com/vrraj/axiolex/blob/main/source_files/prompts_list.yaml) for available prompts.\n\n## Requirements\n\n- Node.js 18+ (pre-installed on most developer machines)\n- An Axiolex server running and reachable at the configured endpoint\n\n## License\n\nMIT\n","readmeFilename":"README.md"}