---
updatedAt: 2026-10-25T15:46:36.000Z
agentTools:
  projectIndex: https://docs.superwise.ai/llms.txt
---

# Get Mcp By Id

Get an MCP entity by ID.

By default, returns 404 for soft-deleted MCPs. Set disabled=true to retrieve them.

Parameters:
- **mcp_id**: The UUID of the MCP entity
- **include_disabled**: If true, will return soft-deleted MCPs

Returns one MCP entity by its ID. Soft-deleted MCPs return `404` unless you set `include_disabled` to `true`.

## When to use it

Use it to read an MCP server's settings and the schemas of its tools.

## Required parameters

* `mcp_id` (path): the ID of the MCP tool.

Optional query parameters: `include_disabled`.

## Response

A successful call returns `200 OK` with the `MCP` object: `id`, `name`, `url`, `network_access`, `tool_schemas`, and timestamps.

**Related:** [List MCP tools](https://docs.superwise.ai/reference/list_mcps), [Update an MCP tool](https://docs.superwise.ai/reference/update_mcp), [Delete an MCP tool](https://docs.superwise.ai/reference/delete_mcp)

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "paths": {
    "/v1/mcps/{mcp_id}": {
      "get": {
        "tags": [
          "MCP Tools"
        ],
        "summary": "Get Mcp By Id",
        "description": "Get an MCP entity by ID.\n\nBy default, returns 404 for soft-deleted MCPs. Set disabled=true to retrieve them.\n\nParameters:\n- **mcp_id**: The UUID of the MCP entity\n- **include_disabled**: If true, will return soft-deleted MCPs",
        "operationId": "get_mcp_by_id",
        "parameters": [
          {
            "name": "mcp_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Mcp Id"
            }
          },
          {
            "name": "include_disabled",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Include soft-deleted MCPs (default: false)",
              "default": false,
              "title": "Include Disabled"
            },
            "description": "Include soft-deleted MCPs (default: false)"
          }
        ],
        "responses": {
          "200": {
            "description": "MCP entity details",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MCP"
                }
              }
            }
          },
          "404": {
            "description": "MCP entity not found"
          },
          "422": {
            "description": "Validation error"
          },
          "500": {
            "description": "Internal server error"
          }
        }
      }
    }
  },
  "info": {
    "title": "Superwise Main Entities",
    "description": "API reference",
    "version": "0.1.0"
  },
  "components": {
    "schemas": {
      "MCP": {
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 255,
            "minLength": 1,
            "title": "Name",
            "description": "MCP name"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "url": {
            "type": "string",
            "minLength": 1,
            "title": "Url",
            "description": "MCP server URL"
          },
          "network_access": {
            "type": "string",
            "const": "remote",
            "title": "Network Access",
            "description": "Network access level",
            "default": "remote"
          },
          "headers": {
            "anyOf": [
              {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Headers",
            "description": "Authentication headers"
          },
          "params": {
            "anyOf": [
              {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Params",
            "description": "Additional query parameters"
          },
          "id": {
            "type": "string",
            "format": "uuid",
            "title": "Id",
            "description": "MCP entity ID"
          },
          "created_by": {
            "type": "string",
            "title": "Created By",
            "description": "User ID"
          },
          "tool_schemas": {
            "additionalProperties": {
              "$ref": "#/components/schemas/MCPToolSchema"
            },
            "type": "object",
            "title": "Tool Schemas",
            "description": "Cached schemas from MCP server"
          },
          "created_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created At",
            "description": "Creation timestamp"
          },
          "updated_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ],
            "title": "Updated At",
            "description": "Last update timestamp"
          },
          "deleted_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ],
            "title": "Deleted At",
            "description": "Soft delete timestamp"
          }
        },
        "type": "object",
        "required": [
          "name",
          "url",
          "id",
          "created_by",
          "tool_schemas"
        ],
        "title": "MCP",
        "description": "Schema for MCP entity responses."
      },
      "MCPToolSchema": {
        "properties": {
          "name": {
            "type": "string",
            "title": "Name"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "inputSchema": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Inputschema"
          },
          "annotations": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Annotations"
          }
        },
        "type": "object",
        "required": [
          "name"
        ],
        "title": "MCPToolSchema",
        "description": "Minimal MCP tool schema for StructuredTool conversion"
      }
    },
    "securitySchemes": {
      "implicit": {
        "type": "oauth2",
        "flows": {
          "implicit": {
            "authorizationUrl": "https://authentication.superwise.ai/identity/resources/auth/v1/api-token",
            "scopes": {}
          }
        }
      }
    }
  },
  "security": [
    {
      "implicit": []
    }
  ],
  "servers": [
    {
      "url": "api.superwise.ai",
      "description": "Superwise Api Gateway"
    }
  ]
}
```