daji-cursor-mcp-server
v0.1.1
Published
stdio MCP server exposing Cursor bridge diagnostics and agent tools for DAJI
Maintainers
Readme
daji-cursor-mcp-server
stdio MCP server that exposes Cursor bridge operations as DAJI agent tools.
Requires the HTTP sidecar daji-cursor-bridge for live agent calls (optional in --mock mode).
Tools
| Tool | Description |
|------|-------------|
| cursor_status | GET /v1/diagnostics from the bridge |
| cursor_list_models | GET /v1/models |
| cursor_agent_run | One-shot POST /v1/chat/completions |
Registered in DAJI as mcp_cursor_bridge_<tool> when server name is cursor-bridge.
DAJI config
[[mcp.servers]]
name = "cursor-bridge"
enabled = false
command = "npx"
args = ["-y", "daji-cursor-mcp-server"]
env = { DAJI_CURSOR_BRIDGE_URL = "http://127.0.0.1:8765/v1" }Local development:
[[mcp.servers]]
name = "cursor-bridge"
enabled = true
command = "node"
args = ["/path/to/DAJI-AGENT-v3/packages/daji-cursor-mcp-server/bin/daji-cursor-mcp-server.js"]
env = { DAJI_CURSOR_BRIDGE_URL = "http://127.0.0.1:8765/v1" }Run
# With live bridge on 8765
node bin/daji-cursor-mcp-server.js
# Mock (tests / no Cursor CLI)
node bin/daji-cursor-mcp-server.js --mockEnvironment
| Variable | Default | Description |
|----------|---------|-------------|
| DAJI_CURSOR_BRIDGE_URL | http://127.0.0.1:8765/v1 | Bridge OpenAI root |
| DAJI_CURSOR_BRIDGE_MOCK | 0 | Mock bridge responses |
See docs/planning/CURSOR_BRIDGE_PLUGIN_DESIGN.md.
