Superpositional
Getting started

Installing MCP

Connect your AI coding tools to Superpositional via MCP so your agent gets live system context while you code.

MCP (Model Context Protocol) is how your AI coding tools talk to Superpositional. Once connected, your agent can review a diff, ask questions about an indexed repository, and request additional context directly from your editor.

There is nothing to install and no repository to clone. Add the hosted MCP URL to your coding tool and sign in when it opens the browser.

What you need first

  • A Superpositional account (sign up here)
  • An MCP-capable AI coding tool (Cursor, VS Code, Kiro, Windsurf, Claude Desktop)

An indexed repository is optional for a direct diff review. Indexed repositories add deeper context such as architecture, dependencies, history, and semantic search.

MCP endpoint

Your organisation's MCP endpoint is:

https://mcp.superpositional.io

Authentication uses OAuth. The first time you connect, your tool opens a browser window for you to sign in with your Superpositional account. After that, the token is stored and connections happen automatically. Superpositional does not receive access to your local filesystem.

Setup by tool

Cursor

Add to .cursor/mcp.json in your project root (or global config):

{
  "mcpServers": {
    "superpositional": {
      "url": "https://mcp.superpositional.io"
    }
  }
}

Restart Cursor. It opens a browser window for OAuth on first use.

VS Code (Copilot)

Add to .vscode/mcp.json in your project root:

{
  "servers": {
    "superpositional": {
      "url": "https://mcp.superpositional.io"
    }
  }
}

Reload VS Code. The MCP client handles OAuth automatically.

Kiro

Add to .kiro/settings/mcp.json (project-level) or ~/.kiro/settings/mcp.json (global):

{
  "mcpServers": {
    "superpositional": {
      "url": "https://mcp.superpositional.io"
    }
  }
}

Save and reload. Kiro handles OAuth automatically.

Windsurf

Add the MCP server in Windsurf's MCP settings with the endpoint URL https://mcp.superpositional.io. Windsurf handles the OAuth flow on first connection.

Claude Desktop

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "superpositional": {
      "url": "https://mcp.superpositional.io"
    }
  }
}

Restart Claude Desktop. It opens a browser window for OAuth on first use.

Verify it works

After setup, ask your agent to review a current change. For example:

  • "Review the current diff for security and correctness issues."
  • "Review the changes I made in the payment handler."
  • "Review my plan to refactor the auth module."

The agent sends the diff to the review_diff MCP tool. If the review needs information that is not in the diff or indexed repository, the tool returns targeted evidence questions. Your agent can inspect the local workspace and answer those questions with only the information you authorize it to share.

For indexed repository questions, you can also ask:

  • "What does the payment service depend on?"
  • "Review my plan to refactor the auth module"
  • "What's the blast radius if I change src/handlers/webhook.ts?"

If the agent responds with specific findings or asks focused evidence questions, MCP is working. If it gives generic advice, check Troubleshooting below.

What your agent can do via MCP

Once connected, your agent has access to these capabilities:

CapabilityWhat it does
AskNatural-language questions about your codebase, answered with source references
Review planCheck a proposed plan or design against architecture guards before writing code
Review diffRun a code diff through the full review pipeline (guards + lenses)
Review specArchitectural review of a spec or design document
Blast radiusCompute what's affected if you change specific files
System contextGet the role, dependencies, and change implications of a code entity
DiagnoseRoot cause analysis from an error message or stack trace
Review issueAnalyse a bug report or feature request against your codebase
List reposSee which repositories are indexed and their status
List guardsSee which coding standard guards are active
List rulesSee compiled rules for a repository

Your agent discovers and uses these tools automatically based on what you're doing. You don't need to call them directly.

For the full tool reference, see MCP Interface.

Troubleshooting

Agent gives generic answers instead of codebase-specific ones:

  • For repository questions, check that your repo is indexed. Open the Repos page in the app and confirm at least one repo shows Ready status.
  • For a diff review without an indexed repo, ask the agent to review the current diff. The agent may need to answer evidence questions before the review can be grounded.

OAuth window doesn't appear:

  • Make sure the endpoint URL is exactly https://mcp.superpositional.io — no trailing slash, no path.
  • Try removing the server config and re-adding it.

Connection drops or token expires:

  • Your tool should re-authenticate automatically. If it doesn't, remove the MCP server config, restart your tool, and re-add it.

Firewall or proxy issues:

  • The MCP endpoint requires HTTPS access to mcp.superpositional.io. If you're behind a corporate proxy, ensure this domain is allowed.

On this page