{"_id":"@addai/docflows-mcp","name":"@addai/docflows-mcp","dist-tags":{"latest":"0.2.0"},"versions":{"0.2.0":{"name":"@addai/docflows-mcp","version":"0.2.0","description":"MCP server for DocFlows — documents, folders, pages, and scoped entity memory","type":"module","publishConfig":{"access":"public"},"bin":{"docflows-mcp":"src/index.js"},"main":"./src/index.js","scripts":{"start":"node src/index.js"},"dependencies":{"@modelcontextprotocol/sdk":"^1.12.1","zod":"^3.24.4"},"_id":"@addai/docflows-mcp@0.2.0","gitHead":"c64c18eeedf3638e222280206412ce6deff738e6","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-c1uHuDfr2/BtdA8EUT87TkGhB6lILj1lf79xJRhhVZGaF9UO7o+VcXpFTQjadDM8exXXBIXTf9OT5qWmV0DSGw==","shasum":"e5d3280ff02e737cf14e7b13e60c8ebeaf0ca6b8","tarball":"https://registry.npmjs.org/@addai/docflows-mcp/-/docflows-mcp-0.2.0.tgz","fileCount":5,"unpackedSize":13442,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBJtrsJdK1ySBWtH9DxJlNgeaXDeMagF0/wQH+6Cr1D9AiEA0elDw9x7Up/Quifehocn2mXTqo9CB3WrBzkgRvylTPU="}]},"_npmUser":{"name":"addai","email":"npm@add.ai"},"directories":{},"maintainers":[{"name":"addai","email":"npm@add.ai"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/docflows-mcp_0.2.0_1782394625056_0.5527758574981221"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-25T13:37:04.833Z","0.2.0":"2026-06-25T13:37:05.192Z","modified":"2026-06-25T13:37:05.388Z"},"maintainers":[{"name":"addai","email":"npm@add.ai"}],"description":"MCP server for DocFlows — documents, folders, pages, and scoped entity memory","readme":"# docflows-mcp\n\nAn MCP server that lets Claude Code (and other MCP clients) read and write **DocFlows**\ndocuments, folders and pages through the `docflows-api` edge function.\n\n## 1. Get an API key\n\nIn the DocFlows web app: **profile picture (bottom-left) → Account → API Keys → Create Key**.\nChoose the workspaces and permissions the key should have. Copy the key (`dfk_user_…`) — it is\nshown only once.\n\n## 2. Install deps\n\n```bash\ncd mcp\nnpm install\n```\n\n## 3. Add to Claude Code\n\n```bash\nclaude mcp add docflows \\\n  --env DOCFLOWS_API_KEY=dfk_user_your_key_here \\\n  -- node /absolute/path/to/docflows_md/mcp/src/index.js\n```\n\nOnce published to npm you can instead use `-- npx -y docflows-mcp`.\n\nOptional env var `DOCFLOWS_API_URL` overrides the API base (defaults to the hosted\n`docflows-api` function, ending in `/v1`).\n\n## Tools\n\n| Tool | Purpose |\n|------|---------|\n| `list_workspaces` | Workspaces this key can access |\n| `list_folders` / `create_folder` / `rename_folder` / `delete_folder` | Manage folders |\n| `list_documents` / `get_document` / `search_documents` | Browse documents |\n| `create_document` / `update_document` / `move_document` / `delete_document` | Manage documents |\n| `list_pages` / `create_page` / `update_page` / `delete_page` | Manage a document's pages |\n\n`get_document` returns the document plus all its pages (with `content_markdown`). A document's\nbody lives on its **pages** — use `update_page` to change content.\n\n> Content is rendered as HTML by the editor, so send HTML or plain text (not raw Markdown).\n","readmeFilename":"README.md","_rev":"1-b4733d7c7c8b32281a485ef0fcf0fe8c"}