--- title: "Connect custom MCP Clients" slug: "connect-a-custom-application" description: "When there is no guidance on connecting specific MCP clients, use this page for general guidance on connecting custom MCP clients." tags: ["OAuth 2.1", "Pigment Integrations"] updated: 2026-11-05T11:04:12Z published: 2026-11-05T11:04:12Z canonical: "kb.pigment.com/connect-a-custom-application" --- > ## Documentation Index > Fetch the complete documentation index at: https://kb.pigment.com/llms.txt > Use this file to discover all available pages before exploring further. # Connect custom MCP Clients To connect AI systems not listed in [Connect common MCP Clients](/v1/docs/connect-common-mcp-clients) to Pigment’s MCP Server, follow the below instructions. > [!WARNING] > ⚠️ Important > > Your custom MCP client must support **OAuth 2.1 with Dynamic Client Registration (DCR)**. API keys and other authentication methods are not supported. 1. **Get the client's callback URL.** Check your MCP client's documentation for its OAuth callback URL. If it's not listed, attempt to connect. The authentication flow will fail and return an error message containing the callback URL: `No MCP connector type found for redirect uris ["https://example.com/oauth/callback"]` . The callback URL is the one shown in brackets. 2. **Register the client in Pigment.** Go to **Workspace Settings > Integrations > MCP** and add a new MCP client using the callback URL. Two whitelisting options are available: - **Static URL:** whitelist a fixed callback URL with an exact path (e.g. `https://example.com/oauth/callback` ) - **Dynamic URL:** whitelist all URLs beginning with a specific path (e.g. `https://example.com/oauth/callback/*` will match any URL starting with `https://example.com/oauth/callback`). Pigment logs changes to the callback URLs you register in the Audit Logs API, such as adding or activating a URL. For more information, see [Audit Logs API Events and Event Types](/v1/docs/audit-logs-api-event-types).