Skip to content

Self-host the MCP server ​

This guide is for teams that want to run their own instance of the Plane MCP server — either because they use a self-hosted Plane installation that needs OAuth against their own domain, or because they want full control over the MCP infrastructure.

If you're a Plane Cloud user connecting to mcp.plane.so, you don't need this. Use the MCP server setup guide instead.

There are four ways to run it:

OptionBest for
Plane Commercial Edition Docker ComposeRecommended for Docker installs of Plane Commercial Edition (Prime CLI), v4.1.0 or later. The mcp service is already in your compose file. You turn it on in plane.env, and it is served on your Plane domain under /mcp
Plane Commercial Edition Helm chartRecommended for Kubernetes installs of Plane Commercial Edition — the MCP server runs inside the same release and is served on your Plane domain under /mcp
Standalone Helm chartKubernetes, with the MCP server on its own hostname (for example mcp.yourdomain.com), including against Plane Cloud
Standalone Docker ComposeA single host that runs only the MCP server, on its own hostname, including against Plane Cloud

Prerequisites ​

  • A running Plane instance (self-hosted or Cloud) with workspace admin access. OAuth application registration is available on Plane Cloud and Plane Commercial Edition; Plane Community Edition does not include it, so the OAuth transport cannot be used against a Community Edition instance. Community Edition users should run the server in local (stdio) mode with a personal access token instead.
  • Docker and Docker Compose v2+, or Kubernetes v1.21+ with Helm v3+
  • A public URL for the MCP server (e.g. https://mcp.yourdomain.com) — OAuth callbacks must reach it over HTTPS. When the server runs inside Plane Commercial Edition, through Docker Compose or the Helm chart, there is no separate URL. The server is reachable on your Plane domain under /mcp (for example https://plane.yourdomain.com/mcp).

Register an OAuth app in Plane ​

The MCP server authenticates users through Plane's OAuth 2.0 system. You need to register an app to get a Client ID and Client Secret.

  1. Go to Workspace settings → Integrations:

    text
    https://<your-plane-domain>/<workspace>/settings/integrations/
  2. Click Build your own.

  3. Fill in the application details:

    FieldValue
    App NameAnything descriptive (e.g. Plane MCP Server)
    Setup URLYour MCP server's public URL (e.g. https://mcp.yourdomain.com, or https://plane.yourdomain.com/mcp when it runs inside Plane Commercial Edition)
    Redirect URIBoth URIs listed below, space-separated
    Webhook URLLeave empty unless you need webhook events

    Add both redirect URIs

    FastMCP exposes one callback under the HTTP mount and one under the SSE mount:

    TransportRedirect URI
    Streamable HTTP<MCP_SERVER_URL>/http/auth/callback
    SSE (deprecated)<MCP_SERVER_URL>/auth/callback

    For https://mcp.yourdomain.com, paste this into the Redirect URI field:

    text
    https://mcp.yourdomain.com/http/auth/callback https://mcp.yourdomain.com/auth/callback

    A previously registered https://mcp.yourdomain.com/callback URI is harmless but unnecessary.

    If the server runs inside Plane Commercial Edition, <MCP_SERVER_URL> is your Plane domain plus the path prefix. The prefix is /mcp with Docker Compose. With the Helm chart it is services.mcp_server.path_prefix, /mcp by default. For https://plane.yourdomain.com with the default prefix, register:

    text
    https://plane.yourdomain.com/mcp/http/auth/callback https://plane.yourdomain.com/mcp/auth/callback
  4. Under Scopes & permissions, tick both Read and Write on the All workspace resources row.

    Grant full read and write — granular scopes will not work

    The MCP server requests the workspace-wide read and write scopes, because its tools span every resource (projects, work items, cycles, modules, pages, members, and more).

    Scopes & permissionsReadWrite
    All workspace resources✅✅

    If you select only granular scopes (for example projects:read) or none at all, Plane rejects the authorization request with error=invalid_scope and the token exchange never happens.

  5. Save. Copy the generated Client ID and Client Secret - you'll need them in the next step.

WARNING

Never expose the Client Secret in client-side code or commit it to version control.

For more detail on OAuth app creation, see Create an OAuth Application.


Deploy ​

Use this for Plane Commercial Edition installed with Prime CLI or the Commercial Docker Compose files. From v4.1.0, the compose file defines an mcp service, and the bundled proxy routes /mcp/* and the two OAuth discovery paths to it. The MCP server runs on your Plane domain under /mcp, so you don't need a second compose file or a separate hostname. The service is scaled to zero until you give it an OAuth app.

1. Register the OAuth app as described above. Use your Plane domain plus /mcp for the setup URL, and register both redirect URIs:

text
https://plane.yourdomain.com/mcp/http/auth/callback https://plane.yourdomain.com/mcp/auth/callback

2. Edit /opt/plane/plane.env:

ini
MCP_REPLICAS=1
PLANE_OAUTH_PROVIDER_CLIENT_ID=<your-oauth-client-id>
PLANE_OAUTH_PROVIDER_CLIENT_SECRET=<your-oauth-client-secret>

MCP_REPLICAS is near the top of the file, with the other *_REPLICAS keys. The other two are in the # Plane MCP Server block further down. If a key is missing from your file, add it.

Set both OAuth keys before you set MCP_REPLICAS=1. Without them the server exits at startup, and the personal access token endpoint stops along with the OAuth one. Keep MCP_REPLICAS at 1. Sessions on the deprecated SSE transport (/mcp/sse) live in the memory of one process, so a second replica breaks them.

Leave the remaining MCP keys empty unless the plane.env reference below says you need one. PLANE_OAUTH_PROVIDER_BASE_URL defaults to your WEB_URL, and MCP_REDIS_URL defaults to database 1 of the bundled Redis.

3. Restart Plane:

bash
sudo prime-cli restart

prime-cli restart rebuilds the compose file from plane.env, so a plain docker compose restart doesn't pick up the change. If you manage the containers directly, run docker compose --env-file plane.env up -d instead.

4. Verify:

bash
curl -i https://plane.yourdomain.com/mcp/http/mcp
# expect: 401 with a WWW-Authenticate header
docker logs $(docker ps -q --filter name=mcp) 2>&1 | grep "Token store"
# expect: Token store: Redis (url=redis://plane-redis:6379/1)

A 502 from the first command means the proxy can't reach the mcp container. See Troubleshooting.

For a FIPS install, docker-compose-fips.yml defines the same mcp service and reads the same keys.

Your own reverse proxy

If your reverse proxy forwards every path to Plane's bundled proxy, /mcp needs no extra route. The proxy must not buffer responses. See Streaming responses. If you replaced the bundled proxy, route /mcp/*, /.well-known/oauth-authorization-server/mcp* and /.well-known/oauth-protected-resource/mcp* to the mcp service on port 8211. Without the two /.well-known paths, clients fail OAuth discovery with an "is not valid JSON" error.

plane.env reference ​

KeyDefaultDescription
MCP_REPLICAS01 runs the MCP server. Don't set it above 1.
MCP_RELEASE_VERSIONThe tag the release shipsMCP server image tag, for example v0.3.6 in Plane v4.1.1. The MCP server has its own release cadence.
PLANE_OAUTH_PROVIDER_CLIENT_IDemptyOAuth Client ID. Required.
PLANE_OAUTH_PROVIDER_CLIENT_SECRETemptyOAuth Client Secret. Required.
PLANE_OAUTH_PROVIDER_BASE_URLWEB_URLOrigin of the OAuth flow, without /mcp. The server appends the prefix. Must be https:// except on localhost.
PLANE_OAUTH_ALLOWED_REDIRECT_URISemptyExtra client redirect patterns, comma-separated. See Onboard a new MCP client.
MCP_REDIS_URLredis://plane-redis:6379/1OAuth token store. Set it when Plane uses an external Redis or Valkey through REDIS_URL, because Prime CLI then leaves out the bundled plane-redis. Use a different database number from REDIS_URL. The API flushes its own database on every start, which deletes the stored tokens.
LOG_PAYLOADSfalseLogs tool arguments and results, which include work item content.

Upgrading ​

A Plane upgrade with Prime CLI keeps the values already in plane.env, including MCP_RELEASE_VERSION, so the MCP server stays on its current version. To move to a newer one, set MCP_RELEASE_VERSION to a tag from the plane-mcp-server releases and run sudo prime-cli restart.

Disabling ​

Set MCP_REPLICAS=0 and run sudo prime-cli restart. The proxy keeps its /mcp routes, which return 502 while the service is scaled to zero.


This is the recommended way to run the MCP server for a self-hosted Plane Commercial Edition. If you deploy Plane with the plane-enterprise Helm chart, enable the MCP server as a service of that release instead of installing a second chart. The chart wires it to the release's own API service and Redis, and adds a route for it to the Plane ingress, so it is served on your Plane domain under a path prefix (/mcp by default).

Requires plane-enterprise chart 3.9.0 or later. The MCP server is off by default.

Custom path prefix

The URLs in this section use the default /mcp prefix. If you set services.mcp_server.path_prefix to something else, use that prefix everywhere /mcp appears — in the setup URL, both redirect URIs, the client URL and the /.well-known discovery paths. The chart's ingress routes follow the value, so the registered OAuth app must too.

1. Register the OAuth app as described above, using your Plane domain plus /mcp for the setup URL and the two redirect URIs (https://plane.yourdomain.com/mcp/http/auth/callback and https://plane.yourdomain.com/mcp/auth/callback).

2. Add to your values.yaml:

yaml
services:
  mcp_server:
    enabled: true
    plane_oauth:
      client_id: "<your-oauth-client-id>"
      client_secret: "<your-oauth-client-secret>"

client_id and client_secret are required whenever services.mcp_server.enabled is true — the server's HTTP transport does not start without an OAuth app, so helm template and helm upgrade fail with the reason if they are missing (unless they come from external_secrets.mcp_server_env_existingSecret).

Everything else is derived from the release: PLANE_BASE_URL and PLANE_OAUTH_PROVIDER_BASE_URL from license.licenseDomain and your TLS setting (the server appends <path_prefix>/http itself), PLANE_INTERNAL_BASE_URL from the in-cluster API service, and REDIS_URL from the same Redis the API and live services use (bundled, env.remote_redis_url, or external_secrets.redis).

3. Upgrade the release:

bash
helm upgrade plane-app plane/plane-enterprise \
  --namespace plane \
  -f values.yaml

4. Verify:

bash
kubectl logs -n plane deploy/plane-app-mcp-server-wl | grep "Token store"
# expect: Token store: Redis (url=redis://plane-app-redis...)
curl -i https://plane.yourdomain.com/mcp/http/mcp
# expect: 401 with a WWW-Authenticate header

Ingress routes are added for you

The chart's nginx, Traefik and OpenShift ingress templates route <path_prefix>/ to the MCP server, plus the two OAuth discovery prefixes MCP clients fetch at the root of the host: /.well-known/oauth-protected-resource<path_prefix> and /.well-known/oauth-authorization-server<path_prefix> (/mcp with the default prefix). If you manage the ingress yourself (ingress.enabled: false), add those three paths to the <release>-mcp-server service on port 8211 — without the two /.well-known paths, clients fail OAuth discovery with an "is not valid JSON" error.

Chart values reference ​

ValueDefaultDescription
services.mcp_server.enabledfalseRun the MCP server inside the release
services.mcp_server.imagemakeplane/plane-mcp-server:v0.3.2Image, including the tag. Independent of planeVersion; the MCP server has its own release cadence
services.mcp_server.replicas1Number of replicas
services.mcp_server.path_prefix/mcpPath prefix on the Plane domain (MCP_PATH_PREFIX); the ingress route follows it
services.mcp_server.plane_base_url""Override PLANE_BASE_URL; empty derives it from license.licenseDomain
services.mcp_server.plane_internal_base_url""Override PLANE_INTERNAL_BASE_URL; empty uses the release's in-cluster API service
services.mcp_server.plane_oauth.client_id""OAuth Client ID. Required when the MCP server is enabled
services.mcp_server.plane_oauth.client_secret""OAuth Client Secret. Required when the MCP server is enabled
services.mcp_server.plane_oauth.provider_base_url""Override PLANE_OAUTH_PROVIDER_BASE_URL (your Plane URL, without /mcp); empty derives it from license.licenseDomain
services.mcp_server.pullPolicyAlwaysImage pull policy
services.mcp_server.assign_cluster_ipfalseAssign a ClusterIP to the Service
services.mcp_server.memoryRequest / cpuRequest150Mi / 100mResource requests
services.mcp_server.memoryLimit / cpuLimit1000Mi / 500mResource limits
services.mcp_server.nodeSelector / tolerations / affinity{} / [] / {}Scheduling, same shape as the other services
services.mcp_server.labels / annotations{} / {}Custom labels and annotations for the Deployment
external_secrets.mcp_server_env_existingSecret""Name of a Secret you manage that replaces the chart's MCP Secret (PLANE_OAUTH_PROVIDER_CLIENT_*, REDIS_URL)

To keep the OAuth credentials out of values.yaml, create a Secret with the PLANE_OAUTH_PROVIDER_CLIENT_ID and PLANE_OAUTH_PROVIDER_CLIENT_SECRET keys and point external_secrets.mcp_server_env_existingSecret at it; the chart then renders no MCP Secret of its own. Add REDIS_URL (rediss:// for TLS) unless external_secrets.redis.secretName is set, in which case the Redis connection comes from that Secret. PLANE_OAUTH_PROVIDER_BASE_URL is not needed — the chart puts it in the <release>-mcp-server-vars ConfigMap — but a value in your Secret overrides it.

Environment variables that have no chart value — for example PLANE_OAUTH_ALLOWED_REDIRECT_URIS or LOG_USER_INFO — can be set through the chart's extraEnv list, which applies to every workload.

Upgrading ​

Upgrade the Plane release as usual. To move the MCP server to a newer version on its own, change the tag in services.mcp_server.image and run helm upgrade.

Disabling ​

Set services.mcp_server.enabled: false and upgrade; the Service, Deployment, ConfigMap, Secret and ingress routes are removed.


Option C: Standalone Helm chart ​

Use the standalone plane-mcp-server chart when the MCP server needs its own hostname or runs against Plane Cloud. For a self-hosted Plane Commercial Edition, prefer Option B, which is where the chart-based deployment is maintained going forward.

1. Add the Plane Helm repo:

bash
helm repo add plane https://helm.plane.so
helm repo update

2. Create a values.yaml:

yaml
ingress:
  enabled: true
  host: mcp.yourdomain.com
  ingressClass: nginx
  ssl:
    enabled: true
    issuer: cloudflare # cloudflare | digitalocean | http
    email: you@yourdomain.com

services:
  api:
    plane_base_url: "https://api.plane.so"
    plane_oauth:
      enabled: true
      client_id: "<your-oauth-client-id>"
      client_secret: "<your-oauth-client-secret>"
      provider_base_url: "https://mcp.yourdomain.com"

3. Install:

bash
helm install plane-mcp plane/plane-mcp-server \
  --namespace plane-mcp \
  --create-namespace \
  -f values.yaml

Helm values reference ​

ValueDefaultDescription
dockerRegistry.default_taglatestImage tag to deploy
ingress.enabledtrueEnable ingress
ingress.hostmcp.example.comPublic hostname
ingress.ingressClassnginxIngress class name
ingress.ssl.enabledfalseEnable TLS via cert-manager
ingress.ssl.issuercloudflareACME issuer (cloudflare, digitalocean, http)
services.api.replicas1Number of MCP server replicas
services.api.plane_base_url""Plane API URL
services.api.plane_oauth.enabledfalseEnable OAuth endpoints
services.api.plane_oauth.client_id""OAuth Client ID
services.api.plane_oauth.client_secret""OAuth Client Secret
services.api.plane_oauth.provider_base_url""Public URL this server is reachable on
services.redis.local_setuptrueDeploy Valkey in-cluster
services.redis.external_redis_url""External Valkey/Redis URL (if not using in-cluster)

Environment variables that have no Helm value — for example PLANE_OAUTH_ALLOWED_REDIRECT_URIS or LOG_USER_INFO — must be set as environment variables on the MCP server deployment.

Upgrading ​

bash
helm upgrade plane-mcp plane/plane-mcp-server \
  --namespace plane-mcp \
  -f values.yaml

Uninstalling ​

bash
helm uninstall plane-mcp --namespace plane-mcp

Option D: Standalone Docker Compose ​

Use this to run the MCP server on its own host or hostname, for example against Plane Cloud. For a Docker install of Plane Commercial Edition, use Option A instead. The server is already in your compose file.

1. Create a docker-compose.yaml:

yaml
name: plane-mcp

services:
  mcp:
    image: makeplane/plane-mcp-server:${APP_RELEASE_VERSION:-stable}
    restart: always
    ports:
      - "8211:8211"
    env_file:
      - variables.env
    environment:
      REDIS_HOST: valkey
      REDIS_PORT: "6379"
    depends_on:
      valkey:
        condition: service_healthy

  valkey:
    image: valkey/valkey:8-alpine
    restart: always
    volumes:
      - valkey-data:/data
    healthcheck:
      test: ["CMD", "valkey-cli", "ping"]
      interval: 5s
      timeout: 3s
      retries: 5

volumes:
  valkey-data:

2. Create a variables.env with your OAuth credentials from Step 1:

ini
# Image tag - pin to a specific version in production
APP_RELEASE_VERSION=stable

# Plane API URL - use your self-hosted instance URL or https://api.plane.so for Cloud
PLANE_BASE_URL=https://api.plane.so

# Optional: internal URL for server-to-server calls (same-network setups)
# PLANE_INTERNAL_BASE_URL=

# OAuth credentials from Step 1
PLANE_OAUTH_PROVIDER_CLIENT_ID=your-client-id
PLANE_OAUTH_PROVIDER_CLIENT_SECRET=your-client-secret

# Public URL where MCP clients reach this server (must match what you registered in Step 1)
PLANE_OAUTH_PROVIDER_BASE_URL=https://mcp.yourdomain.com

3. Start:

bash
docker compose up -d

4. Verify:

bash
docker compose logs -f mcp           # follow startup logs
curl http://localhost:8211/http/mcp  # expect: 401 or MCP protocol response

Terminate TLS in front of this container

The container listens on plain HTTP at :8211. Put it behind a reverse proxy (nginx, Caddy, Traefik, Cloudflare) that handles TLS. OAuth callbacks will fail without HTTPS, and PLANE_OAUTH_PROVIDER_BASE_URL must be the https:// URL that proxy exposes.

The proxy must also pass responses through without buffering them: the MCP server replies over server-sent events, and its /sse transport is a connection that stays open. See Streaming responses.

Environment variable reference ​

VariableRequiredDescription
APP_RELEASE_VERSIONNoImage tag to deploy. Defaults to stable. Pin in production.
PLANE_BASE_URLNoPublic Plane API URL. Defaults to https://api.plane.so.
PLANE_INTERNAL_BASE_URLNoInternal Plane URL for server-to-server calls. Falls back to PLANE_BASE_URL.
PLANE_OAUTH_PROVIDER_CLIENT_IDYesOAuth Client ID from Step 1.
PLANE_OAUTH_PROVIDER_CLIENT_SECRETYesOAuth Client Secret from Step 1.
PLANE_OAUTH_PROVIDER_BASE_URLYesPublic URL of this MCP server, not your Plane instance.
PLANE_OAUTH_PROVIDER_ENABLE_CIMDNoEnables client ID metadata documents. Defaults to false.
PLANE_OAUTH_ALLOWED_REDIRECT_URISNoComma-separated extra client redirect patterns. * can match a port, path segment, or subdomain; keep hosts pinned.
MCP_PATH_PREFIXNoPrefix for every route. For example, /plane serves MCP at /plane/http/mcp.
REDIS_URLNoRedis or Valkey connection URL (redis:// or rediss:// for TLS) for persistent OAuth token storage. Takes precedence over REDIS_HOST/REDIS_PORT. Available from v0.3.2.
REDIS_HOSTNoRedis or Valkey host for persistent OAuth token storage. Without it (or REDIS_URL), tokens use in-memory storage.
REDIS_PORTNoRedis or Valkey port.
REDIS_PASSWORDNoStatic Redis or Valkey password.
REDIS_SSLNoEnables TLS for Redis or Valkey when set to true.
ELASTICACHE_SECRET_ARNNoAWS Secrets Manager ARN containing a rotating ElastiCache authentication token.
AWS_REGIONNoAWS region for ELASTICACHE_SECRET_ARN.
REDIS_AUTH_TOKEN_KEYNoJSON key that contains the rotating token in the AWS secret.
LOG_USER_INFONoLogs the user's display name when true. Defaults to false; the display name is PII.

Onboard a new MCP client ​

The built-in redirect allowlist contains:

  • http://localhost:*, http://localhost:*/*, http://127.0.0.1:*, and http://127.0.0.1:*/*
  • cursor://anysphere.cursor-mcp/oauth/* and https://www.cursor.com/*
  • https://vscode.dev/redirect and https://insiders.vscode.dev/redirect
  • https://antigravity.google/oauth-callback
  • https://claude.ai/*
  • https://chatgpt.com/connector/oauth/* and https://chatgpt.com/connector_platform_oauth_redirect
  • https://oauth-redirect.googleusercontent.com/r/* — Gemini custom apps (Spark). Added in v0.3.3
  • https://grok.com/connectors-oauth-exchange-code/ — Grok custom connectors on the web. Added in v0.3.3

Grok Build, the CLI, calls back to http://127.0.0.1:8080/callback and is already covered by the loopback patterns.

Append new client callbacks without releasing a new server version:

ini
PLANE_OAUTH_ALLOWED_REDIRECT_URIS=https://newclient.com/cb,https://other.app/oauth/*

The * wildcard can match any port, path segment, or subdomain. Keep the host pinned to a domain you trust.

Upgrading ​

bash
docker compose pull
docker compose up -d

Logging and observability ​

The server emits structured JSON logs with the tool name, duration, status, opaque user ID, and workspace slug.

LOG_USER_INFO defaults to false. Setting it to true also logs the user's display name, which is personally identifiable information.

Even with LOG_USER_INFO=false, log entries contain the opaque user ID and the workspace slug, which can identify a person or organisation when combined with other data. Treat log storage as sensitive: restrict who can read it, set a retention period, and redact those fields before sharing logs outside your team.

Connect AI clients ​

Once the server is running, your available endpoints are:

EndpointAuthDescription
https://mcp.yourdomain.com/http/mcpOAuthRecommended for most clients
https://mcp.yourdomain.com/http/api-key/mcpAuthorization: Bearer <PAT>, x-workspace-slug: <slug>CI, scripts, and headless setups
https://mcp.yourdomain.com/sseOAuthDeprecated HTTP+SSE transport

When the server runs inside Plane Commercial Edition, through Docker Compose or the Helm chart, the same three endpoints live under your Plane domain and path prefix, for example https://plane.yourdomain.com/mcp/http/mcp.

Client configuration is identical to the MCP server setup guide. Swap https://mcp.plane.so for your server's host (and path prefix, if any) in each configuration.


Troubleshooting ​

Server not starting (standalone Docker Compose):

bash
docker compose logs mcp

Valkey not reachable (standalone Docker Compose):

bash
docker compose exec valkey valkey-cli ping
# Expect: PONG

If Valkey is unhealthy, tokens are stored in-memory and lost on restart. Verify REDIS_HOST and REDIS_PORT are set correctly in your environment.

OAuth errors:

  • If Plane redirects back with error=invalid_scope, the OAuth app is missing the workspace-wide scopes. Open the app in Workspace settings → Integrations and tick both Read and Write on the All workspace resources row, then restart the authorization flow. Granular scopes alone are not enough — see step 4 of Register an OAuth app in Plane above.

  • Confirm both redirect URIs are registered in your Plane OAuth app: /http/auth/callback and /auth/callback. An existing /callback registration is harmless but unnecessary.

  • Check that PLANE_OAUTH_PROVIDER_CLIENT_ID and PLANE_OAUTH_PROVIDER_CLIENT_SECRET match what Plane generated.

  • With a standalone deployment, check that PLANE_OAUTH_PROVIDER_BASE_URL is the publicly reachable https:// URL of this MCP server - not your Plane instance URL. Inside Plane Commercial Edition it is your Plane URL without /mcp, which is the default, so leave it empty.

  • If the client reports redirect_uri is not allowed, add its exact callback or a host-pinned pattern to PLANE_OAUTH_ALLOWED_REDIRECT_URIS, then restart the deployment.

  • Clear any cached auth tokens on the client side:

    bash
    rm -rf ~/.mcp-auth

Plane Commercial Edition Docker Compose:

  • If https://plane.yourdomain.com/mcp/http/mcp returns 502, the mcp container isn't running. Check that MCP_REPLICAS=1 is in /opt/plane/plane.env, then run sudo prime-cli restart.
  • If the mcp container keeps restarting with client_id is required - set via parameter or PLANE_OAUTH_PROVIDER_CLIENT_ID, set both PLANE_OAUTH_PROVIDER_CLIENT_ID and PLANE_OAUTH_PROVIDER_CLIENT_SECRET in plane.env and restart.
  • If it restarts with Redis connection failed during startup PING and Plane uses an external Redis or Valkey (REDIS_URL), set MCP_REDIS_URL. Prime CLI leaves out the bundled plane-redis when REDIS_URL is set, so the default redis://plane-redis:6379/1 doesn't resolve. Use a different database number from REDIS_URL.
  • If a client fails discovery with Unexpected token '<' ... is not valid JSON, a proxy in front of Plane is sending the two /.well-known/oauth-* paths to the Plane web app. See Your own reverse proxy under Option A.

Plane Commercial Edition Helm chart:

  • If helm upgrade fails because the MCP server's OAuth client ID or secret is missing, set services.mcp_server.plane_oauth.client_id and client_secret (or supply them through external_secrets.mcp_server_env_existingSecret) and upgrade again.
  • If the <release>-mcp-server-wl pod restarts with client_id is required - set via parameter or PLANE_OAUTH_PROVIDER_CLIENT_ID, your mcp_server_env_existingSecret is missing the PLANE_OAUTH_PROVIDER_CLIENT_ID / PLANE_OAUTH_PROVIDER_CLIENT_SECRET keys.
  • If it restarts with Redis connection failed during startup PING, the release's Redis is not reachable — check the bundled <release>-redis StatefulSet or env.remote_redis_url. The MCP server uses the same Redis as the API.
  • If a client fails discovery with Unexpected token '<' ... is not valid JSON, the two /.well-known/oauth-* paths are reaching the Plane web app instead of the MCP server. With the chart-managed ingress this cannot happen; with your own ingress, route them as described in Option B.

Reset standalone Docker Compose (deletes Valkey data):

Standalone Docker Compose only

In a Plane Commercial Edition install, docker compose down stops every Plane service, not only the MCP server. To restart the MCP server there, run sudo prime-cli restart.

bash
docker compose down -v
docker compose up -d

Still stuck:

  1. Double-check OAuth credentials and redirect URIs in Plane workspace settings.
  2. Check the plane-mcp-server repo for known issues.
  3. Contact support@plane.so.

→ For client configuration details, see the MCP server setup guide. → For the full list of available tools, see the tool reference.