DevStride MCP Server

Setting Up Your Connection

Connect your AI client to the DevStride MCP Server using OAuth 2.1 or an API key, with ready-to-paste setup for Claude, ChatGPT, Cursor, and more.

Connecting an AI client to DevStride takes a few minutes. You open the Connect AI page in DevStride, choose how to authenticate, copy the ready-made setup snippet for your client, and you're done.

Open the Connect AI page

In the left navigation sidebar, find the Help section and click Connect AI (MCP) (terminal icon). This opens a page titled Connect your AI client (MCP).

This page is available to all users — it's not limited to administrators. Everything you set up here acts within the permissions you already have.

The MCP Server URL

Your AI client connects to a single endpoint, shown on the page as a copyable MCP Server URL:

https://api.devstride.com/mcp

The server identifies itself to your client as devstride-mcp. You'll paste this URL — or the ready-made setup command for your client — into your AI assistant during setup.

Choose an authentication method

The Connect AI page offers two ways to authenticate, switched with a toggle at the top of the panel:

  • OAuth 2.1 (recommended, and the default)
  • API Key

Lead with OAuth 2.1 unless you have a specific reason to use an API key.

OAuth 2.1API Key
Stores a long-lived secretNo — short-lived token, refreshed automaticallyYes — you must copy and store the secret
Works with web clients (Claude.ai, ChatGPT)YesNo
Works with Claude Code, Codex, Cursor, Copilot, Gemini CLIYesYes
Organization scopeOne org, chosen when you sign inOne org, chosen when you create the key

On first use, your AI client opens a browser so you can sign in to DevStride, pick which organization to connect to, and approve access. No secrets are stored on your machine — your client receives a short-lived token that it refreshes automatically.

  • One organization per connection. When you sign in, you pick the organization on a consent page and click Allow. To work in a different organization, you authorize again and pick that org.
  • You must be an active member of the organization you authorize.
  • Short-lived access. Tokens last about an hour and refresh automatically, so you rarely sign in more than once per client.

Method 2: API Key

API keys are the alternative for clients that can use them (everything except the web clients). Create a key from the Connect AI panel's Create a new API key link, or from My Account → API Keys → New Key. You provide a Label and a For Organization selection — the organization travels with the key.

When you create the key, the dialog shows the Api Key, Organization Id, Organization Slug, and Api Secret.

After creation, the dialog embeds the Connect AI panel pre-filled with your new credentials, so you get a ready-to-paste setup command.

Set up your AI client

The Connect AI panel has a tab for each supported client, each with a ready-to-paste snippet tailored to how that client expects to be configured:

  • Claude Code and Codex give you a terminal mcp add command.
  • Copilot provides a .vscode/mcp.json block; Cursor a ~/.cursor/mcp.json entry; Gemini CLI an entry for ~/.gemini/settings.json.
  • Claude (web) and ChatGPT give you a connector Name (use DevStride) and the MCP Server URL to paste into the client's connector settings.

Connecting Claude (web)

  1. In Claude, open Settings → Connectors and choose Add custom connector.
  2. For Name, enter DevStride.
  3. Paste the MCP Server URL: https://api.devstride.com/mcp.
  4. Click Add, then Connect, and sign in to DevStride when prompted.

On the Claude.ai free plan you can add only one custom connector.

Connecting ChatGPT

ChatGPT also uses OAuth and the same connector Name and MCP Server URL, plus a connector Description (the panel provides one). Open Settings → Connectors → Create, paste the URL, and set authentication to OAuth. For full access to DevStride's tools, turn on Developer mode under Connectors → Advanced.

Reconnecting

To reconnect a CLI client like Claude Code — for example, to switch organizations — remove the existing server first, then run the setup command again from the Connect AI panel:

claude mcp remove devstride

New to the command line? Set up Claude Code first

If you want to use Claude Code (the terminal-based assistant) and don't have it yet, install it before connecting. On a Mac:

  1. Install Homebrew (the command-line installer for macOS) by following the instructions at brew.sh, then run the two PATH commands it prints at the end.
  2. Install Node.js (which provides npm): brew install node
  3. Install Claude Code: npm install -g @anthropic-ai/claude-code (run claude --version to confirm).
  4. Start it from a folder you'd like to work in: claude. The first time, it walks you through signing in.
  5. Add DevStride by pasting the Claude Code snippet from the Connect AI panel, then restart Claude Code and run /mcp to confirm DevStride shows as connected.