PageSpace implements the Model Context Protocol (MCP) — an open standard for connecting AI tools to external data sources. This lets tools like Claude Desktop, Claude Code, and Cursor read and write to your PageSpace workspace.
MCP uses a client-server architecture:
pagespace-mcp) runs locally and connects to PageSpaceAI Tool (Client) → pagespace-mcp (Server) → PageSpace API
↓
Your workspace data
mcp_ and is only shown onceTokens authenticate as your user. Any operation the MCP server performs runs with your permissions.
Add the PageSpace MCP server to your tool's configuration:
{
"mcpServers": {
"pagespace": {
"command": "npx",
"args": ["-y", "pagespace-mcp@latest"],
"env": {
"PAGESPACE_API_URL": "https://pagespace.ai",
"PAGESPACE_AUTH_TOKEN": "mcp_your_token_here"
}
}
}
}
Add the config to 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 the environment variables PAGESPACE_API_URL and PAGESPACE_AUTH_TOKEN.
Go to Settings > MCP Servers and add the server configuration.
Once connected, your AI tool can use these PageSpace operations:
| Operation | Description |
|---|---|
list_drives | List all accessible workspaces |
read_page | Read page content (documents, sheets, code) |
create_page | Create new pages of any type |
replace_lines | Edit document content by line range |
search | Find pages across drives by title or content |
update_task | Create and manage tasks on task lists |
list_pages | Navigate page hierarchies within drives |
All operations respect your user permissions. The MCP server cannot access drives or pages you don't have permission to view or edit.
If you're self-hosting PageSpace, point the MCP server at your instance:
{
"env": {
"PAGESPACE_API_URL": "https://your-pagespace-instance.com",
"PAGESPACE_AUTH_TOKEN": "mcp_your_token_here"
}
}
The MCP server communicates with the PageSpace API over HTTPS. Ensure your instance is accessible from the machine running the MCP server.
Token not working: Verify the token hasn't been revoked in Settings > MCP. Tokens are prefixed with mcp_.
Connection refused: Check that PAGESPACE_API_URL is correct and accessible. For self-hosted instances, ensure HTTPS is configured.
Permission denied: MCP tokens inherit your user permissions. If you can't access a drive in the web UI, you can't access it via MCP either.
Server not starting: Run npx -y pagespace-mcp@latest --help to verify the package installs correctly.
Search docs, blog posts, and more.