Rulebase Mcp Servers API

The Mcp Servers API from Rulebase — 5 operation(s) for mcp servers.

Operations 9

GET /mcp-servers Get mcp servers #
POST /mcp-servers Create mcp servers #
GET /mcp-servers/{serverId} Get mcp servers by server id #
PATCH /mcp-servers/{serverId} Update mcp servers by server id #
DELETE /mcp-servers/{serverId} Delete mcp servers by server id #
PUT /mcp-servers/{serverId}/credential Replace mcp servers by server id credential #
DELETE /mcp-servers/{serverId}/credential Delete mcp servers by server id credential #
POST /mcp-servers/{serverId}/sync Create mcp servers by server id sync #
POST /mcp-servers/{serverId}/oauth/start Create mcp servers by server id oauth start #

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/rulebase:rulebase-mcp-servers-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

rulebase-mcp-servers-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Rulebase API2 Mcp Servers API
  version: 0.0.1
tags:
- name: Mcp Servers
paths:
  /mcp-servers:
    get:
      responses:
        '200':
          description: MCP servers for the organization
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/McpServer'
                  oauth_callback_url:
                    type: string
                required:
                - data
                - oauth_callback_url
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
      tags:
      - Mcp Servers
      summary: Get mcp servers
      x-summary-source: derived
      operationId: getMcpServers
      x-operation-id-source: derived
    post:
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  minLength: 1
                  maxLength: 80
                description:
                  type: string
                  nullable: true
                  maxLength: 500
                icon_url:
                  type: string
                  nullable: true
                  format: uri
                url:
                  type: string
                  format: uri
                transport:
                  type: string
                  enum:
                  - streamable_http
                  - sse
                  default: streamable_http
                auth_type:
                  type: string
                  enum:
                  - none
                  - header
                  - oauth
                access:
                  type: string
                  enum:
                  - organization
                  - personal
                  default: organization
                authorization:
                  type: string
                  nullable: true
                  minLength: 1
                headers:
                  type: object
                  nullable: true
                  additionalProperties:
                    type: string
                oauth_client_id:
                  type: string
                  nullable: true
                  minLength: 1
                oauth_client_secret:
                  type: string
                  nullable: true
                  minLength: 1
                oauth_scope:
                  type: string
                  nullable: true
                  minLength: 1
              required:
              - name
              - url
              - auth_type
      responses:
        '200':
          description: The MCP server was added
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/McpServer'
                required:
                - data
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
      tags:
      - Mcp Servers
      summary: Create mcp servers
      x-summary-source: derived
      operationId: postMcpServers
      x-operation-id-source: derived
  /mcp-servers/{serverId}:
    get:
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: serverId
        in: path
      responses:
        '200':
          description: An MCP server
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/McpServer'
                required:
                - data
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '404':
          description: MCP server not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
      tags:
      - Mcp Servers
      summary: Get mcp servers by server id
      x-summary-source: derived
      operationId: getMcpServersByServerId
      x-operation-id-source: derived
    patch:
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: serverId
        in: path
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  minLength: 1
                  maxLength: 80
                description:
                  type: string
                  nullable: true
                  maxLength: 500
                icon_url:
                  type: string
                  nullable: true
                  format: uri
                url:
                  type: string
                  format: uri
                enabled:
                  type: boolean
                headers:
                  type: object
                  nullable: true
                  additionalProperties:
                    type: string
                oauth_client_id:
                  type: string
                  nullable: true
                  minLength: 1
                oauth_client_secret:
                  type: string
                  nullable: true
                  minLength: 1
                oauth_scope:
                  type: string
                  nullable: true
                  minLength: 1
                tool_access:
                  type: object
                  additionalProperties:
                    type: string
                    nullable: true
                    enum:
                    - read
                    - write
      responses:
        '200':
          description: The MCP server was updated
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/McpServer'
                required:
                - data
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '404':
          description: MCP server not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
      tags:
      - Mcp Servers
      summary: Update mcp servers by server id
      x-summary-source: derived
      operationId: patchMcpServersByServerId
      x-operation-id-source: derived
    delete:
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: serverId
        in: path
      responses:
        '200':
          description: The MCP server was removed
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                required:
                - success
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '404':
          description: MCP server not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
      tags:
      - Mcp Servers
      summary: Delete mcp servers by server id
      x-summary-source: derived
      operationId: deleteMcpServersByServerId
      x-operation-id-source: derived
  /mcp-servers/{serverId}/credential:
    put:
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: serverId
        in: path
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                authorization:
                  type: string
                  minLength: 1
              required:
              - authorization
      responses:
        '200':
          description: Credential saved and tools refreshed
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/McpServer'
                required:
                - data
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '404':
          description: MCP server not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
      tags:
      - Mcp Servers
      summary: Replace mcp servers by server id credential
      x-summary-source: derived
      operationId: putMcpServersByServerIdCredential
      x-operation-id-source: derived
    delete:
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: serverId
        in: path
      responses:
        '200':
          description: Disconnected
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/McpServer'
                required:
                - data
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '404':
          description: MCP server not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
      tags:
      - Mcp Servers
      summary: Delete mcp servers by server id credential
      x-summary-source: derived
      operationId: deleteMcpServersByServerIdCredential
      x-operation-id-source: derived
  /mcp-servers/{serverId}/sync:
    post:
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: serverId
        in: path
      responses:
        '200':
          description: Tools refreshed from the server
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/McpServer'
                required:
                - data
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '404':
          description: MCP server not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
      tags:
      - Mcp Servers
      summary: Create mcp servers by server id sync
      x-summary-source: derived
      operationId: postMcpServersByServerIdSync
      x-operation-id-source: derived
  /mcp-servers/{serverId}/oauth/start:
    post:
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: serverId
        in: path
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                return_to:
                  type: string
                  format: uri
      responses:
        '200':
          description: Authorization URL to open
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      authorization_url:
                        type: string
                        format: uri
                    required:
                    - authorization_url
                required:
                - data
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '404':
          description: MCP server not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
      tags:
      - Mcp Servers
      summary: Create mcp servers by server id oauth start
      x-summary-source: derived
      operationId: postMcpServersByServerIdOauthStart
      x-operation-id-source: derived
components:
  schemas:
    McpServer:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        slug:
          type: string
        description:
          type: string
          nullable: true
        icon_url:
          type: string
          nullable: true
        url:
          type: string
        transport:
          type: string
          enum:
          - streamable_http
          - sse
        auth_type:
          type: string
          enum:
          - none
          - header
          - oauth
        access:
          type: string
          enum:
          - organization
          - personal
        enabled:
          type: boolean
        header_names:
          type: array
          items:
            type: string
        oauth_client_id:
          type: string
          nullable: true
        has_oauth_client_secret:
          type: boolean
        oauth_scope:
          type: string
          nullable: true
        connection:
          type: object
          properties:
            status:
              type: string
              enum:
              - connected
              - needs_connection
              - needs_reauth
              - not_required
            connected_at:
              type: string
              nullable: true
            last_error:
              type: string
              nullable: true
          required:
          - status
          - connected_at
          - last_error
        tools:
          type: array
          items:
            type: object
            properties:
              name:
                type: string
              title:
                type: string
                nullable: true
              description:
                type: string
                nullable: true
              access:
                type: string
                enum:
                - read
                - write
              access_overridden:
                type: boolean
            required:
            - name
            - title
            - description
            - access
            - access_overridden
        tools_synced_at:
          type: string
          nullable: true
        last_error:
          type: string
          nullable: true
        created_at:
          type: string
        updated_at:
          type: string
      required:
      - id
      - name
      - slug
      - description
      - icon_url
      - url
      - transport
      - auth_type
      - access
      - enabled
      - header_names
      - oauth_client_id
      - has_oauth_client_secret
      - oauth_scope
      - connection
      - tools
      - tools_synced_at
      - last_error
      - created_at
      - updated_at
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Rulebase organization API key