Skip to content

MCP Gateway — How to Use

Developer

Before connecting to the MCP Gateway, ensure you have:

  1. Access to your Prodgy workspace
  2. An API Token or an application that supports OAuth 2.1

There are two ways to connect:

MethodBest forToken management
API TokenCLIs and local tools (Claude Code, Cursor, Windsurf)Manual — you generate and paste the token
OAuth 2.1Web applications and platformsAutomatic — the application handles everything

Generate an API Token from Workspace Settings > API Tokens, then configure your tool.

Section titled “Option A — Via CLI (recommended for Claude Code)”
claude mcp add --transport http prodgy https://your-prodgy-url/mcp \
  --header "Authorization: Bearer prodgy_your_token_here"

This automatically writes the correct configuration to your .mcp.json file.

Add the following to your AI tool’s MCP settings file:

{
  "mcpServers": {
    "prodgy": {
      "type": "http",
      "url": "https://your-prodgy-url/mcp",
      "headers": {
        "Authorization": "Bearer prodgy_your_token_here"
      }
    }
  }
}
ToolConfiguration file
Claude Code.mcp.json (project root) or ~/.claude/mcp.json (global)
Cursor.cursor/mcp.json (project root)
Windsurf~/.codeium/windsurf/mcp_config.json
Claude DesktopClaude Desktop MCP settings

After saving, restart your AI tool. You should see Prodgy tools listed in the MCP tools panel.


Method 2: OAuth 2.1 (for applications that support it)

Section titled “Method 2: OAuth 2.1 (for applications that support it)”

If the application you are using supports OAuth 2.1 (for example, some web platforms, automation tools, or custom integrations), you can connect it to Prodgy without manually generating a token.

What you need to do:

  1. In the third-party application, look for an option to add an MCP server or external connection
  2. Enter your Prodgy MCP URL: https://your-prodgy-url/mcp
  3. The application will start the OAuth flow automatically — you will be redirected to Prodgy
  4. Log in (if not already), select the organization, product, and permissions you want to grant
  5. Click Authorize — the application is now connected

That’s it. The application manages tokens automatically — no copy/paste, no expiration to worry about.

After connecting, you can manage the application in Workspace Settings > Apps — view permissions, last usage, and revoke access if needed.


Once configured, you can verify the connection by asking your AI tool to:

  1. List tools — ask “What Prodgy tools are available?” and check that platform tools appear.
  2. Get project context — ask “Get my Prodgy project context” to verify connectivity.
  3. Search knowledge — ask “Search for [topic] in the knowledge base” to test RAG search.
ProblemSolution
No tools listedCheck that the URL in the config is correct
Cannot connect / no responseAdd "type": "http" to your MCP config (required for remote servers)
“Unauthorized” errorVerify your API Token is valid and has the correct permissions
”Connection refused”Check the Gateway URL with your administrator
”Forbidden” on restricted toolsYour API Token must belong to a user with the SUPERADMIN or ADMIN role

Once connected, your AI coding assistant has access to all Prodgy tools. Here are some common use cases:

Ask your AI tool: “Get the Prodgy project context” — returns product vision, OKRs, target audience, and active integrations.

Ask: “Search the knowledge base for authentication flow” — performs semantic (RAG) search across all indexed documents.

  • “Create a PBI for user authentication improvements”
  • “Search for open bugs assigned to me”
  • “Update work item #123 status to Done”

Ask: “List available Prodgy agents” then “Run the backlog prioritization agent” — triggers a Prodgy AI agent with its own tools and system prompt.

Ask: “Show me the integration catalog” then “Install the Azure DevOps integration with my PAT token” — the AI will use install_integration to provision the integration with your credentials. No need to visit the Prodgy UI.

Manage Integration Templates (SUPERADMIN/ADMIN only)

Section titled “Manage Integration Templates (SUPERADMIN/ADMIN only)”

Ask: “Create an integration template for Zendesk” — the AI will use the configured rules to generate a valid integration template, then offer to install it immediately.


  • Overview — transport modes and available tools
  • How It Works — tool discovery, execution flow, and access control