Skip to documentation
Developer docs

Connect your agent

Set up the DevGuides Model Context Protocol (MCP) server in your chat app, editor or CLI.

On this page

Start a connection from the client you plan to use. Each client opens DevGuides in your browser so you can sign in, choose an author account and grant permissions.

Server settings

SettingValue
MCP server URLhttps://www.devguides.com/api/mcp
TransportStreamable HTTP
AuthenticationOAuth with PKCE (S256)
Client secretLeave empty for the clients listed below

ChatGPT

  1. Open ChatGPT Plugins on the web. Select + → Add custom MCP server and name it DevGuides.
  2. Enter https://www.devguides.com/api/mcp, select OAuth with an existing client and enter devguides-chatgpt as the client ID. Leave the secret empty. If prompted for a token authentication method, choose none.
  3. Review the connection, select Create as a plugin, then install and connect it. On DevGuides, grant public guide reading, private draft reading and writing, and publishing to try the full author workflow.
  4. Start a new ChatGPT conversation. Type @, select DevGuides in the picker, and ask it to find a guide. Select DevGuides again on follow-ups that need another action. ChatGPT may ask you to confirm a write.

Drafting and publishing require a Business or Enterprise/Edu workspace with write actions enabled. On Business, an owner or admin creates a custom connection. Personal Pro supports reading and fetching from custom servers. After changing your grant, open the plugin, select Refresh, and start a new chat. ChatGPT plan and workspace requirements

Workspace admins with upload access can also download the ChatGPT workspace plugin and use Admin console → your workspace → Plugins → Add → Upload plugin. Enter the same public client ID when configuring OAuth. The registered callback is https://chatgpt.com/connector_platform_oauth_redirect.

Codex CLI

Download the Codex CLI marketplace ZIP and extract it to a folder you’ll keep. From the folder that contains .agents, install the plugin and sign in.

sh
codex plugin marketplace add .
codex plugin add devguides@devguides
codex mcp login devguides

Start a new Codex session after consent. Run codex mcp list to see the connection. For a manual setup, use this entry in ~/.codex/config.toml in place of the plugin.

toml
[mcp_servers.devguides]
url = "https://www.devguides.com/api/mcp"

[mcp_servers.devguides.oauth]
client_id = "devguides-codex-cli"
callback_port = 48654
callback_url = "http://127.0.0.1:48654/callback"

For the manual setup, request your desired permissions at login. This command offers all eight author permissions.

sh
codex mcp login devguides --scopes guides:read,drafts:read,drafts:write,media:upload,guides:publish,revisions:read,revisions:write,analytics:author

Claude Code

Install the plugin from the DevGuides marketplace.

sh
claude plugin marketplace add https://www.devguides.com/account/mcp/downloads/claude-marketplace.json
claude plugin install devguides@devguides

Start Claude Code, open /mcp and authenticate plugin:devguides:devguides. To try the plugin for one session, download the Claude Code ZIP and run claude --plugin-dir ./devguides-claude-code.zip.

For a direct connection across projects, use the registered client and callback port.

sh
claude mcp add --scope user --transport http --client-id devguides-claude-code --callback-port 48655 devguides https://www.devguides.com/api/mcp
claude mcp login devguides

The direct connection returns to http://localhost:48655/callback.

Claude on the web

In Customize → Connectors, add a custom connector named DevGuides with the server URL above. Choose Sign in now → Use your own OAuth client, enter devguides-claude as the client ID and leave the secret empty. Add the connector and finish consent in DevGuides. Claude returns to https://claude.ai/api/mcp/auth_callback.

Perplexity Computer

In Plugins → Add MCP connector, name the connector DevGuides and paste the server URL. Under Advanced, choose OAuth, Streamable HTTP and Public network access. Enter devguides-perplexity as Client ID and leave Client Secret empty. Click Add, then open the connector card to sign in and choose scopes.

This registration uses https://www.perplexity.ai/rest/connections/oauth_callback. A Perplexity Enterprise subdomain with a different callback needs a separate registration.

Cursor

Add this entry to ~/.cursor/mcp.json for your user, or .cursor/mcp.json in a project. Merge it with any existing servers. Follow Cursor’s sign-in prompt. Its desktop callback is http://localhost:8787/callback.

json
{
  "mcpServers": {
    "devguides": {
      "url": "https://www.devguides.com/api/mcp",
      "auth": {
        "CLIENT_ID": "devguides-cursor",
        "scopes": ["guides:read", "drafts:read", "drafts:write", "media:upload", "guides:publish", "revisions:read", "revisions:write", "analytics:author"]
      }
    }
  }
}

Gemini CLI

Add this entry to ~/.gemini/settings.json for your user, or .gemini/settings.json in a project. Merge it with any existing servers.

json
{
  "mcpServers": {
    "devguides": {
      "httpUrl": "https://www.devguides.com/api/mcp",
      "oauth": {
        "enabled": true,
        "clientId": "devguides-gemini-cli",
        "redirectUri": "http://localhost:41822/oauth/callback",
        "scopes": ["guides:read", "drafts:read", "drafts:write", "media:upload", "guides:publish", "revisions:read", "revisions:write", "analytics:author"]
      }
    }
  }
}

Run /mcp auth devguides in Gemini CLI and choose the permissions to grant.

General connector

Any other MCP-compatible IDE, chat application, CLI, or custom agent framework can connect to DevGuides over standard Streamable HTTP with OAuth 2.1 + PKCE.

ParameterValue
Endpointhttps://www.devguides.com/api/mcp
TransportStreamable HTTP (MCP 2025-11-25)
Resource metadatahttps://www.devguides.com/.well-known/oauth-protected-resource/api/mcp
Authorization serverhttps://www.devguides.com/.well-known/oauth-authorization-server
Grant & PKCEAuthorization Code with S256 PKCE (token_endpoint_auth_method: "none")
Author scopesguides:read, drafts:read, drafts:write, media:upload, guides:publish, revisions:read, revisions:write, analytics:author
  1. Point your MCP client at https://www.devguides.com/api/mcp using Streamable HTTP. Clients that implement MCP OAuth discovery automatically read the bearer challenge and fetch the authorization server metadata.
  2. For self-describing platforms and agents that support Client ID Metadata Documents, pass your client’s canonical https:// metadata URL as client_id with token_endpoint_auth_method: "none" and no client secret—no operator pre-registration is required.
  3. For desktop or web tools that require a static client_id, configure an HTTPS public callback or fixed loopback callback (http://127.0.0.1:<port>/callback or http://localhost:<port>/callback) and include offline_access alongside your requested DevGuides scopes if your client rotates refresh tokens.
  4. Complete the browser sign-in and permission selection on DevGuides. Access tokens last 1 hour and renew automatically via rotating refresh tokens.

Verify the connection

Select DevGuides in your client and try this request.

Use DevGuides to find the guide about accessible CSS transitions. Read the guide, summarize its reduced-motion example and give me its public URL.

With guides:read granted, look for search_guides and read_guide in the tool activity. With draft access, create a private draft and open its returned Studio link. You can manage connected clients in Account.