# MCP server Ask for docs in Cursor, Claude Code or Claude Desktop and get them back in the chat. ## In plain words MCP is the standard way to give an AI assistant new abilities. Add the Writulos server to Cursor, Claude Code or Claude Desktop, then type “document the files in this project using writulos” in the chat. **Put another way:** Adding a tool to the assistant's belt — ask in plain English, and it reaches for Scribe. ## Reach for it when - You already live in Cursor, Claude Code or Claude Desktop and would rather not open a browser tab. - You want to document a handful of files right now, conversationally. - You want the AI to work out which files you meant. ## Setting it up 1. **Install Node.js 18 or newer**: Get it from nodejs.org if needed — it runs the connector program, and you never touch it directly. 2. **Get your key**: Sign in, open the dashboard, and go to API Keys → Create key — the string starts with writ_ and is shown only once. 3. **Add the server to your assistant**: Use the block below for your app; each one starts the same writulos-mcp connector with your key. Cursor reads .cursor/mcp.json in your project (set WRITULOS_PROJECT_ROOT to the project's full path, e.g. C:/Users/you/code/my-app). Claude Code takes one command, run in your project's terminal. Claude Desktop reads claude_desktop_config.json, which Settings → Developer → Edit Config opens. 4. **Restart the app**: Quit Cursor or Claude Desktop entirely — they only read their server list on a cold start. In Claude Code, start a new session. 5. **Ask for docs**: In the chat: “Document the files in this project using writulos” — the docs arrive right there. Cursor — .cursor/mcp.json: ``` { "mcpServers": { "writulos": { "command": "npx", "args": ["-y", "writulos-mcp"], "env": { "WRITULOS_API_KEY": "writ_YOUR_API_KEY", "WRITULOS_PROJECT_ROOT": "/absolute/path/to/your/project" } } } } ``` Claude Code — run in your project: ``` claude mcp add writulos -e WRITULOS_API_KEY=writ_YOUR_API_KEY -- npx -y writulos-mcp ``` Claude Desktop — claude_desktop_config.json: ``` { "mcpServers": { "writulos": { "command": "npx", "args": ["-y", "writulos-mcp"], "env": { "WRITULOS_API_KEY": "writ_YOUR_API_KEY" } } } } ``` ## What you end up with - Two abilities appear in your assistant: generate_docs for one file and generate_docs_batch for up to 20 at once. - A running history of every run (files documented, generations left, any limit warnings) is appended to docs/writulos.log. - Each file documented costs one generation from your monthly allowance. ## Things people ask ### Nothing happens when I ask. Usually the app wasn't fully restarted, or (in Cursor) WRITULOS_PROJECT_ROOT isn't an absolute path. In Claude Code, `claude mcp list` shows whether writulos connected. Check docs/writulos.log — no file means the connector never ran. ### Where do the docs get saved? Nowhere automatically — they come back as chat text for you to save. Only the run log writes to docs/; set WRITULOS_OUTPUT_DIR to move it, and WRITULOS_PROJECT_ROOT to choose the folder it sits under (Claude Desktop is not opened on a project, so the log lands wherever the app starts the server). ### Does this work in other tools? Anything that speaks MCP can use the same writulos-mcp connector — only the way you add it changes. Copy the command, args and env from the blocks above. ### Where is it published? On npm as writulos-mcp, and in the official MCP Registry as com.writulos/scribe. ### Does my code go through my assistant's servers? The connector runs on your machine and talks to Writulos directly. Your assistant still reads the files it hands to it, as it does for anything else you ask it about. ## Try it on one file first. The web app needs no key or sign-up — see what comes out before you wire anything up. [Try it now →](https://scribe.writulos.com/app)