plane-mcp
Provides direct read access to Plane's PostgreSQL database, enabling arbitrary SELECT/WITH/EXPLAIN queries plus issue and project lookups through SQL.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
plane-mcp
Lean MCP server for Plane CE — direct PostgreSQL access for AI agents.
8 tools, ~1600 token schema footprint. Compare to the official Plane MCP server's 96 tools / ~25,000 tokens.
Architecture
Reads go direct to PostgreSQL (fast, no API overhead)
Mutations go through Plane's REST API (triggers email notifications, activity logs, webhooks)
Humans use Plane CE web UI (boards, Gantt, dashboards)
Fallback: if API credentials aren't configured, mutations fall back to direct SQL (no notifications)
When PLANE_*_API_URL and PLANE_*_API_KEY are set, create_issue, update_issue, and complete_issue use the REST API at /api/v1/workspaces/{slug}/projects/{id}/work-items/. All read operations (list_issues, get_issue, search_issues, query) always use direct SQL.
Related MCP server: Plane MCP Server
Tools
Tool | Type | Description |
| Read | Run arbitrary SELECT/WITH/EXPLAIN against Plane's database |
| Read | List projects with open/total issue counts |
| Read | List issues with filters (project, state, assignee, priority, label) |
| Read | Full issue details with assignees, labels, description |
| Write | Create issue with state resolution, sequence tracking, optional assignee |
| Write | Partial update of fields including state transitions |
| Write | Batch mark issues as complete |
| Read | Case-insensitive search across issue names and descriptions |
Setup
1. Expose PostgreSQL
Add a docker-compose.override.yml alongside Plane's docker-compose:
services:
plane-db:
ports:
- "0.0.0.0:5432:5432"Then recreate the DB container:
cd /opt/plane && docker compose up -d plane-db2. Create database role
CREATE ROLE plane_mcp WITH LOGIN PASSWORD '<password>';
GRANT SELECT, INSERT, UPDATE ON ALL TABLES IN SCHEMA public TO plane_mcp;
GRANT USAGE, SELECT ON ALL SEQUENCES IN SCHEMA public TO plane_mcp;
ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT, INSERT, UPDATE ON TABLES TO plane_mcp;Add to pg_hba.conf inside the data directory:
host plane plane_mcp 0.0.0.0/0 md5Reload: docker exec plane-plane-db-1 pg_ctl reload -D /var/lib/postgresql/data
3. Create API token
In the Plane web UI, go to Profile Settings > Personal Access Tokens and create a token. Or create one in the database:
INSERT INTO api_tokens (id, token, label, user_type, user_id, workspace_id, description, is_active, is_service, created_at, updated_at, allowed_rate_limit)
VALUES (gen_random_uuid(), 'plane_api_<hex>', 'mcp-server', 0, '<user-uuid>', '<workspace-uuid>', 'MCP server', true, false, NOW(), NOW(), '60/minute');4. Configure MCP
In .mcp.json:
{
"mcpServers": {
"plane": {
"command": "npx",
"args": ["-y", "@versedhand/plane-mcp"],
"env": {
"PLANE_PERSONAL_DB_HOST": "127.0.0.1",
"PLANE_PERSONAL_DB_PORT": "5432",
"PLANE_PERSONAL_DB_USER": "plane_mcp",
"PLANE_PERSONAL_DB_PASSWORD": "...",
"PLANE_PERSONAL_DB_NAME": "plane",
"PLANE_PERSONAL_WORKSPACE_SLUG": "personal",
"PLANE_PERSONAL_API_URL": "https://plane.example.com",
"PLANE_PERSONAL_API_KEY": "plane_api_..."
}
}
}
}The API_URL and API_KEY are optional. Without them, mutations fall back to direct SQL (no notifications).
5. Build
npm install
npm run buildOutput format
Compact one-liner for list operations:
[URGENT] OPS-12: Fix login bug | isaac | Due: 2026-03-05 | In Progress
[HIGH] OPS-8: Update docs | unassigned | TodoFull detail for get_issue:
# OPS-12: Fix login bug
Priority: urgent | State: In Progress (started)
Assignees: Isaac (isaac@rirobinson.com)
Project: Operations
Labels: bug, frontend
Due: 2026-03-05Table format for raw queries (same as LifeDB).
SSH tunnel
If Plane's PostgreSQL isn't directly reachable (e.g., running on a Proxmox container without Tailscale), use an SSH tunnel:
ssh -f -N -L 15432:<container-ip>:5432 root@<proxmox-host>Then set PLANE_DB_PORT=15432.
Testing
npm test runs the pure-logic tests and skips the live-DB ones unless Plane DB env is set. Do not point that
env at a real instance: the live tests create issues. Instead run
npm run test:live-local # docker requiredwhich starts a throwaway postgres:15 on 127.0.0.1, loads the structure of the Plane tables this package
touches (test/fixtures/plane-schema.sql, no data), seeds synthetic fixtures, and runs every test including
the write-path regressions (label scoped to its project, emptied target_date not completing an issue,
state change stamping completed_at). It forces every DB host to 127.0.0.1 and unsets the API env.
prepublishOnly and the GitHub workflow run it. After a Plane upgrade, refresh the fixture with
pg_dump --schema-only --no-owner --no-privileges -t <the 11 tables> (structure only).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Connect AI assistants to Plain customer support data and workflows.
Supabase-compatible Postgres for agents: projects, branches, SQL, auth, storage, email.
The agent-native cloud: database, functions, AI, storage, computers. 53 tools. OAuth or API key.
Store, query, and update structured data from any AI agent
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables interaction with Plane.so project management API through natural language, allowing users to manage issues, cycles, and projects.10MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with Plane project management APIs, offering tools for managing projects, work items, cycles, modules, initiatives, and more through MCP.MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI models to interact with a self-hosted Plane workspace through MCP tools, supporting task, project, cycle, and module management.-
- FlicenseNot gradedqualityCmaintenanceEnables an LLM to act as a project manager across self-hosted Plane workspaces and projects, providing tools for work items, cycles, modules, states, labels, comments, members, and intake triage via Plane's REST API.-