Skip to content
VS Code

Writing MCP for VS Code

io.github.hannasdev/mcp-writing

Metadata-first fiction editing and reasoning tools for long-form writing projects.

client:VS Code transport:stdio runtime:npm

Install Writing MCP in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "writing-sync-dir",
      "description": "WRITING_SYNC_DIR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "db-path",
      "description": "DB_PATH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ownership-guard-mode",
      "description": "OWNERSHIP_GUARD_MODE",
      "password": true
    }
  ],
  "servers": {
    "mcp-writing": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@hanna84/mcp-writing"
      ],
      "env": {
        "WRITING_SYNC_DIR": "${input:writing-sync-dir}",
        "DB_PATH": "${input:db-path}",
        "OWNERSHIP_GUARD_MODE": "${input:ownership-guard-mode}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Writing MCP in other clients