Casama AI MCP API

The mcp API from Casama AI, for mcp.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 7

GET /v1/oauth/requests/{id} An AI app asking to connect, for the consent screen #
POST /v1/oauth/requests/{id}/consent Allow or refuse an AI app's access to one workspace; returns where to send the… #
GET /v1/orgs/{id}/mcp-keys List mcp keys #
POST /v1/orgs/{id}/mcp-keys A workspace API key for the hosted MCP endpoint (admins); it acts as you in… #
DELETE /v1/orgs/{id}/mcp-keys/{key_id} Revoke mcp key #
GET /v1/orgs/{id}/mcp-connections AI apps connected to this workspace with OAuth: your own, or everyone's for… #
DELETE /v1/orgs/{id}/mcp-connections/{client_id} Disconnect an AI app at once: its access and refresh tokens stop working. #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/casama-ai:casama-ai-mcp-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

casama-ai-mcp-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Casama MCP API
  version: 0.1.0
  license:
    name: Apache-2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
servers:
- url: http://api.casama.ai
tags:
- name: MCP
paths:
  /v1/oauth/requests/{id}:
    get:
      operationId: getMcpAuthRequest
      tags:
      - MCP
      security:
      - bearerAuth: []
      summary: An AI app asking to connect, for the consent screen
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: id
        in: path
      responses:
        '200':
          description: Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/McpAuthRequestInfo'
        '401':
          description: Not authenticated
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: Not found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
  /v1/oauth/requests/{id}/consent:
    post:
      operationId: decideMcpAuthRequest
      tags:
      - MCP
      security:
      - bearerAuth: []
      summary: Allow or refuse an AI app's access to one workspace; returns where to send the…
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: id
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/McpConsentRequest'
      responses:
        '200':
          description: Result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/McpConsentResult'
        '400':
          description: Validation failed
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '401':
          description: Not authenticated
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '403':
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: Not found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '409':
          description: Conflict
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
  /v1/orgs/{id}/mcp-keys:
    get:
      operationId: listMcpKeys
      tags:
      - MCP
      security:
      - bearerAuth: []
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: id
        in: path
      responses:
        '200':
          description: Keys
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/McpKeyList'
        '401':
          description: Not authenticated
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '403':
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
      summary: List mcp keys
      x-summary-source: derived
    post:
      operationId: createMcpKey
      tags:
      - MCP
      security:
      - bearerAuth: []
      summary: A workspace API key for the hosted MCP endpoint (admins); it acts as you in…
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: id
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateMcpKeyRequest'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreatedMcpKey'
        '401':
          description: Not authenticated
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '403':
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
  /v1/orgs/{id}/mcp-keys/{key_id}:
    delete:
      operationId: revokeMcpKey
      tags:
      - MCP
      security:
      - bearerAuth: []
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: id
        in: path
      - schema:
          type: string
          format: uuid
        required: true
        name: key_id
        in: path
      responses:
        '200':
          description: Revoked
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RevokedKey'
        '401':
          description: Not authenticated
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '403':
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: Not found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
      summary: Revoke mcp key
      x-summary-source: derived
  /v1/orgs/{id}/mcp-connections:
    get:
      operationId: listMcpConnections
      tags:
      - MCP
      security:
      - bearerAuth: []
      summary: 'AI apps connected to this workspace with OAuth: your own, or everyone''s for…'
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: id
        in: path
      responses:
        '200':
          description: Connections
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/McpConnectionList'
        '401':
          description: Not authenticated
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '403':
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
  /v1/orgs/{id}/mcp-connections/{client_id}:
    delete:
      operationId: revokeMcpConnection
      tags:
      - MCP
      security:
      - bearerAuth: []
      summary: 'Disconnect an AI app at once: its access and refresh tokens stop working.'
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: id
        in: path
      - schema:
          type: string
          minLength: 1
          maxLength: 200
        required: true
        name: client_id
        in: path
      - schema:
          type: string
          format: uuid
          description: 'Whose connection (default: yours)'
        required: false
        description: 'Whose connection (default: yours)'
        name: user_id
        in: query
      responses:
        '200':
          description: Disconnected
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RevokedMcpConnection'
        '401':
          description: Not authenticated
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '403':
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: Not found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
components:
  schemas:
    RevokedKey:
      type: object
      properties:
        revoked:
          type: string
          format: uuid
      required:
      - revoked
    McpAuthRequestInfo:
      type: object
      properties:
        id:
          type: string
          format: uuid
        client_name:
          type: string
        redirect_host:
          type: string
        known_app:
          type: boolean
        expires_at:
          type: string
          format: date-time
      required:
      - id
      - client_name
      - redirect_host
      - known_app
      - expires_at
    CreatedMcpKey:
      allOf:
      - $ref: '#/components/schemas/McpKey'
      - type: object
        properties:
          key:
            type: string
            description: Shown once; paste it into the AI app as a bearer token
          mcp_url:
            type: string
        required:
        - key
        - mcp_url
    RevokedMcpConnection:
      type: object
      properties:
        revoked:
          type: string
      required:
      - revoked
    Problem:
      type: object
      properties:
        type:
          type: string
          example: https://casama.ai/problems/not_found
        title:
          type: string
        status:
          type: integer
        code:
          type: string
          description: Stable error code
          example: not_found
        detail:
          type: string
        instance:
          type: string
        errors:
          type: array
          items:
            type: object
            properties:
              path:
                type: string
              message:
                type: string
            required:
            - path
            - message
          description: Field errors for validation_failed
      required:
      - type
      - title
      - status
      - code
    McpKey:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        hint:
          type: string
        last_used_at:
          type:
          - string
          - 'null'
          format: date-time
        created_at:
          type: string
          format: date-time
      required:
      - id
      - name
      - hint
      - last_used_at
      - created_at
    CreateMcpKeyRequest:
      type: object
      properties:
        name:
          type: string
          minLength: 1
          maxLength: 80
      required:
      - name
    McpKeyList:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/McpKey'
      required:
      - items
    McpConnection:
      type: object
      properties:
        client_id:
          type: string
        client_name:
          type: string
          description: The name the app registered with
        user_id:
          type: string
          format: uuid
        user_name:
          type: string
          description: 'Who connected it: their name, else their email'
        mine:
          type: boolean
        connected_at:
          type: string
          format: date-time
        last_used_at:
          type:
          - string
          - 'null'
          format: date-time
      required:
      - client_id
      - client_name
      - user_id
      - user_name
      - mine
      - connected_at
      - last_used_at
    McpConsentResult:
      type: object
      properties:
        redirect_url:
          type: string
      required:
      - redirect_url
    McpConsentRequest:
      type: object
      properties:
        org_id:
          type: string
          format: uuid
        approve:
          type: boolean
      required:
      - org_id
      - approve
    McpConnectionList:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/McpConnection'
      required:
      - items
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Supabase access token