MCP Server

Connect Evergreen to Claude Desktop, Claude Code, Cursor, and other AI tools using the Model Context Protocol (MCP).

Evergreen exposes a Model Context Protocol (MCP) server that lets AI tools query your website intelligence data directly. Access it from Settings → MCP Server in your organization.

Two authentication methods are available:

MethodBest for
OAuth (recommended)Interactive clients — Claude Desktop, claude.ai, Claude Code, Cursor, and any MCP client that supports the OAuth browser flow
API keysScripts, CI pipelines, and clients that cannot complete a browser-based OAuth flow

OAuth lets you authorize Evergreen through your browser — no secrets to copy or rotate.

Key properties:

  • One-click browser authorization
  • Tokens auto-refresh automatically
  • Revocable per connected client
  • Scoped to the account you authorize (personal or organization)

Connecting via OAuth

Copy your MCP server URL from Settings → MCP Server, then follow the steps for your client. The settings page shows the same instructions with your URL filled in.

Claude Desktop and claude.ai

Add Evergreen as a custom connector. Connectors sync across Claude Desktop, claude.ai, and the Claude mobile apps, so you only need to do this once.

  1. In Claude Desktop (or on claude.ai), open Settings → Connectors.
  2. Click Add custom connector.
  3. Name it Evergreen and paste your MCP server URL. Leave the advanced OAuth Client ID and Client Secret fields blank — Claude registers itself automatically.
  4. Click Add, then Connect. Sign in to Evergreen in the browser window, choose the account to connect, and click Allow.
  5. Start a chat, check that Evergreen is switched on in the tools menu, and ask a question like "Which of my pages are missing meta descriptions?"

On a Claude Team or Enterprise plan, an owner adds the connector once under Organization settings → Connectors. Each member then clicks Connect to sign in with their own Evergreen account.

Claude Code

claude mcp add --transport http evergreen <your-mcp-endpoint-url>

Then run /mcp inside Claude Code and choose Authenticate to sign in through your browser.

Cursor

Add the server to ~/.cursor/mcp.json (or Settings → MCP → Add new MCP server):

{
  "mcpServers": {
    "evergreen": {
      "url": "<your-mcp-endpoint-url>"
    }
  }
}

Cursor opens your browser to sign in the first time it connects.

Other clients

Evergreen uses the Streamable HTTP transport and supports MCP OAuth discovery with dynamic client registration. Point any compatible client at your MCP server URL and it will start the browser sign-in automatically.

Once approved, the client receives a scoped token that refreshes automatically.


API Keys

API keys are long-lived bearer tokens for use in scripts, CI environments, or MCP clients that do not support OAuth.

Key properties:

  • Paste directly into your MCP client configuration
  • Read-only access, same permission scopes as OAuth
  • Revoke any key at any time from the settings page

Creating an API Key

  1. Open Settings → MCP Server and scroll to the API keys section.
  2. Click Create API key.
  3. Give the key a descriptive name (e.g. ci-pipeline or cursor-local).
  4. For new keys, the "Allow adding and removing projects" (write:projects) permission is enabled by default. You can opt-out by unchecking the box in the creation dialog if this access is not needed.
  5. Copy the key immediately — it is shown only once.

Using an API Key

Replace your-api-key-here with the key you created.

Claude Code:

claude mcp add --transport http evergreen <your-mcp-endpoint-url> \
  --header "Authorization: Bearer your-api-key-here"

Cursor (~/.cursor/mcp.json):

{
  "mcpServers": {
    "evergreen": {
      "url": "<your-mcp-endpoint-url>",
      "headers": {
        "Authorization": "Bearer your-api-key-here"
      }
    }
  }
}

Claude Desktop: use the custom connector above when you can. If you can't add custom connectors, Claude Desktop's local config file can reach Evergreen through the mcp-remote bridge (requires Node.js). Open Settings → Developer → Edit Config, add the following to claude_desktop_config.json, and restart Claude Desktop:

{
  "mcpServers": {
    "evergreen": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "<your-mcp-endpoint-url>",
        "--header",
        "Authorization:${EVERGREEN_AUTH}"
      ],
      "env": {
        "EVERGREEN_AUTH": "Bearer your-api-key-here"
      }
    }
  }
}

Claude Desktop's config file only launches local (stdio) servers, so a url + headers entry like Cursor's will not work there.

Revoking an API Key

Navigate to Settings → MCP Server, find the key in the list, and click Revoke. The key is invalidated immediately.


Project Management API

Evergreen's MCP server now includes endpoints for programmatically creating and deleting projects. These operations require the write:projects permission.

See MCP Project Management API for full details on how to use these endpoints.


Supported Clients

Any MCP-compatible client works with Evergreen's MCP server. Clients confirmed to support the OAuth browser flow:

  • Claude Desktop, claude.ai, and Claude mobile (custom connectors)
  • Claude Code
  • Cursor

Clients without browser-based OAuth support (headless scripts, CI pipelines) should use API keys.