Skip to main content

MCP Client Setup

This guide provides step-by-step instructions for connecting popular MCP clients to Mission Control.

Prerequisites

Before connecting any client, you'll need:

  1. MCP Server URL

    • SaaS users: https://mc.<org-id>.workload-prod-eu-02.flanksource.com/mcp
    • Self-hosted users: https://your.domain.com/api/mcp
  2. Authorization Token

    • Create a token with mcp.* permissions in Mission Control
    • Navigate to Settings → API Tokens → Create New Token
    • Select "MCP" permissions scope
info

The authorization token is a Basic token with credentials - user: token & password: <token value>

Hence, it needs to be encoded to base64(token:<token_value>) when using the Authorization: Basic <base64_token> header.

Creating a token

To generate a token for MCP, a setup wizard is available.

Click on the user avatar and choose "Setup MCP"

Choose the name for the token

Copy the generated config for your relevant client, or use the token directly

Client Setup Instructions

Claude Desktop supports MCP connections through its configuration file.

Setup Steps

  1. Open Claude Desktop settings
  2. Navigate to Developer → Edit Config
  3. Add the Mission Control MCP server:
{
"mcpServers": {
"mission-control": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-http",
"https://mc.<org-id>.workload-prod-eu-02.flanksource.com/mcp"
],
"env": {
"AUTHORIZATION": "Basic YOUR_TOKEN_HERE"
}
}
}
}
  1. Restart Claude Desktop
  2. The Mission Control tools will appear in the tools menu

Troubleshooting

Common Issues

  1. Connection Refused

    • Verify the server URL is correct
    • Check if you're behind a firewall or proxy
    • Ensure the token has proper permissions
  2. Authentication Failed

    • Verify token is valid and not expired
    • Ensure token has mcp.* permissions
    • Check if Basic prefix is included
  3. Tools Not Appearing

    • Restart the client application
    • Check client logs for errors
    • Verify MCP server is properly configured

Testing Connection

You can test your MCP connection using the MCP CLI:

npx @modelcontextprotocol/cli connect \
--transport http \
--url https://mc.<org-id>.workload-prod-eu-02.flanksource.com/mcp \
--header "Authorization: Basic YOUR_TOKEN_HERE"

Next Steps

Once connected, explore the available tools:

Troubleshooting

Common Issues

  1. Connection Refused

    • Verify the server URL is correct
    • Check if you're behind a firewall or proxy
    • Ensure the token has proper permissions
  2. Authentication Failed

    • Verify token is valid and not expired
    • Ensure token has mcp.* permissions
    • Check if Basic prefix is included
  3. Tools Not Appearing

    • Restart the client application
    • Check client logs for errors
    • Verify MCP server is properly configured

Testing Connection

You can test your MCP connection using the MCP CLI:

npx @modelcontextprotocol/cli connect \
--transport http \
--url https://mc.<org-id>.workload-prod-eu-02.flanksource.com/mcp \
--header "Authorization: Basic YOUR_TOKEN_HERE"

Next Steps

Once connected, explore the available tools: