jdx mcp
IDE equivalent: MCP stdio server (typed jdx_* tools)
Serve the MCP stdio server: each jdx query as a typed jdx_* tool with a generated schema, for agents that speak Model Context Protocol. Holds the workspace in memory for the session, so repeated queries are instant. MCP clients spawn this as a child process and talk JSON-RPC over stdin/stdout.
Usage#
jdx mcp [<options>]Options#
| Option | Description |
|---|---|
-w, --workspace=<text> | Stored workspace the server answers from (default: default). A missing workspace reads as an error naming the fix; individual tool calls may override it per call. |
-h, --help | Show this message and exit |
Full help text#
Show jdx mcp --help
jdx mcp --help
Usage: jdx mcp [<options>]
Serve the MCP stdio server: each jdx query as a typed jdx_* tool with a generated schema, for agents that speak Model Context Protocol. Holds the workspace in memory for the session, so repeated queries are instant. MCP clients spawn this as a child process and talk JSON-RPC over stdin/stdout.
Options:
-w, --workspace=<text> Stored workspace the server answers from (default: default). A missing workspace reads as an error naming the fix; individual tool calls may override it per call.
-h, --help Show this message and exitReal output — this example ran against the current jdx when the page was built.
Learn more#
Guide: MCP, daemon, HTTP & batch · All commands