Skip to main content
Most MCP-compatible clients can connect to Cotality MCP with minimal configuration. You need:
  1. The target environment’s MCP endpoint URL — See Quick start
  2. A valid access token — See Authentication
Token configuration required — The clients below (VS Code, Cursor, Claude Code, Windsurf) connect to Cotality MCP with a static bearer token. Include your access token as an Authorization header in your client configuration, as shown in the examples.Automatic OAuth discovery is a separate flow, live in UAT and production, for interactive assistants that ship their own OAuth client and are registered with Cotality — see Choosing an authentication flow. If your client is not one of those, configure the token manually.

Client setup

1. Create/edit a .vscode/mcp.json file in your project (or open your user-level settings.json).2. Add MCP server configuration:
Avoid committing secrets - If your .vscode/mcp.json is checked into version control, use the input-prompt approach below instead. VS Code will prompt you to paste your token at runtime and store it in local memory.
3. Reload VS Code. The Cotality MCP tools will appear in your MCP tool list and be available to MCP-aware extensions such as GitHub Copilot.4. A quick test: ask Copilot to “list available Cotality MCP tools”. It should respond with the same tools you see in your MCP tool list.

Troubleshooting

  • 401 Unauthorized: Your token may have expired; generate a new one and update it in your client’s configuration.
  • Connection refused or timeout: Check the endpoint URL and ensure your network allows outbound HTTPS connections.
  • Client repeatedly prompts for credentials: If a token is missing, invalid, or expired, some clients (e.g., VS Code) fall back to interactive OAuth sign-in, which these token-based setups are not configured for. Ensure you have a valid, unexpired token configured and that your client is set to use it.
  • A tool is missing from the tool list: tools/list returns only the tools your token is scoped for. Contact your account team if a tool you expect is missing.
  • Tools not appearing: After updating your configuration, fully restart or reload your client. Some clients cache the tool list and require a fresh connection.