PageSpace speaks the Model Context Protocol (MCP) — an open standard for giving AI tools access to external data and actions. The companion pagespace-mcp npm package runs locally as an MCP server and lets tools like Claude Desktop, Claude Code, and Cursor read and write your PageSpace workspace.
AI tool (MCP client) → pagespace-mcp (MCP server) → PageSpace API
↓
Your workspace
Tokens authenticate as your user. Every operation runs with your permissions; drive-scoped tokens restrict access further.
mcp_ and is shown once — only the SHA-256 hash is stored server-side.The config format follows the standard MCP mcpServers schema:
{
"mcpServers": {
"pagespace": {
"command": "npx",
"args": ["-y", "pagespace-mcp@latest"],
"env": {
"PAGESPACE_API_URL": "https://pagespace.ai",
"PAGESPACE_AUTH_TOKEN": "mcp_your_token_here"
}
}
}
}
Edit claude_desktop_config.json:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\\Claude\\claude_desktop_config.jsonclaude mcp add pagespace -- npx -y pagespace-mcp@latest
Then set PAGESPACE_API_URL and PAGESPACE_AUTH_TOKEN in your environment.
Settings > MCP Servers → add the mcpServers block above.
Once connected, pagespace-mcp exposes tools that wrap the PageSpace API. The exact tool list ships with the npm package and evolves independently; the pagespace-mcp README is the authoritative reference.
At a minimum the server covers:
/api/mcp/drives.read, replace, insert, delete, edit-cells). Backed by /api/mcp/documents and /api/pages./api/search and /api/search/multi-drive.TASK_LIST pages. Backed by /api/pages/[pageId]/tasks.Every tool respects the caller's permissions. If you cannot view a page in the web UI, the MCP server cannot see it either.
Token rejected: confirm it hasn't been revoked in Settings > MCP and that it starts with mcp_.
Connection refused: check PAGESPACE_API_URL is correct and reachable from the machine running the MCP server.
Permission denied: MCP inherits your user permissions. If you lost access to a drive, the token stops seeing it too.
Server fails to start: run npx -y pagespace-mcp@latest --help to confirm the package installs.
Search docs, blog posts, and more.