feat(mcp): Cursor project config + scripts for wormhole-docs server

- .cursor/mcp.json: wormhole-docs via node ./mcp-wormhole-docs/index.js + cwd
- package.json: mcp:wormhole, verify:wormhole-mcp
- MCP_SETUP + mcp-wormhole-docs README: Cursor reload + health check

Made-with: Cursor
This commit is contained in:
defiQUG
2026-03-31 22:59:08 -07:00
parent 5fc90e1913
commit f411a89908
4 changed files with 24 additions and 1 deletions

View File

@@ -14,6 +14,10 @@ Read-only MCP server exposing Wormholes **AI documentation exports** as **res
| `WORMHOLE_DOCS_FETCH` | `0` | If `1`, fall back to HTTPS from `https://wormhole.com/docs/...` when a file is missing locally |
| `WORMHOLE_MAX_RESOURCE_BYTES` | `5242880` | Max bytes returned for `llms-full.jsonl` via MCP read (avoid OOM); increase or read file on disk for RAG |
## Cursor
Repo file [`.cursor/mcp.json`](../.cursor/mcp.json) registers this server as **`wormhole-docs`**. Enable MCP in Cursor; reload if the server does not appear. From repo root: `pnpm run verify:wormhole-mcp` then `pnpm run mcp:wormhole` (manual stdio test only).
## Run
```bash