> ## Documentation Index
> Fetch the complete documentation index at: https://docs.connie.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Initiate OAuth for a curated MCP provider

> Initiates OAuth for a curated provider. Attempts static OAuth endpoints first, falls back to .well-known discovery. Supports DCR or pre-registered credentials. Generates PKCE code_verifier/challenge. Redirects to login if no credentials configured.




## OpenAPI

````yaml /openapi/tools.yaml get /mcp/connect/{provider}
openapi: 3.1.0
info:
  title: Connie Tools API
  version: 1.0.0
  description: >
    API for the Tools module â€” the connectivity layer that manages OAuth
    integrations, MCP (Model Context Protocol) servers, and webhooks.

    **Important:** "Tools" here refers to the module that *connects* external
    services and manages integrations â€” not to the built-in AI tools (like CRM
    operations, web browsing, etc.) that are documented in the AI & Brain
    module. Think of this module as the "connectors" layer: it handles OAuth
    flows, MCP server connections, and webhook ingestion.
servers:
  - url: https://connie.ai/api
    description: Production
security:
  - cookieAuth: []
tags:
  - name: Integrations
    description: Manage connected integration accounts
  - name: MCP Connections
    description: Model Context Protocol server connections and OAuth flows
  - name: MCP Registry
    description: MCP server registry management
  - name: MCP Tools
    description: Tool-level enable/disable management for MCP servers
  - name: Integration Providers
    description: Available integration provider catalog
  - name: Webhooks
    description: Inbound webhook handlers for external services
paths:
  /mcp/connect/{provider}:
    get:
      tags:
        - MCP Connections
      summary: Initiate OAuth for a curated MCP provider
      description: >
        Initiates OAuth for a curated provider. Attempts static OAuth endpoints
        first, falls back to .well-known discovery. Supports DCR or
        pre-registered credentials. Generates PKCE code_verifier/challenge.
        Redirects to login if no credentials configured.
      operationId: initiateMcpOAuth
      parameters:
        - name: provider
          in: path
          required: true
          schema:
            type: string
        - name: endpoint
          in: query
          schema:
            type: string
      responses:
        '302':
          description: Redirect to OAuth authorization URL
components:
  securitySchemes:
    cookieAuth:
      type: apiKey
      in: cookie
      name: session

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.