---
updatedAt: 2026-09-02T17:35:26.000Z
agentTools:
  projectIndex: https://docs.go.v7labs.com/llms.txt
---

# Inspect MCP compatibility for a project

For each property in the project (descending into sub-projects), reports the
compatibility status of every `enabled_mcp_tools` entry against the calling
user's MCP integrations in `workspace_id`. Also returns an aggregated
`integrations_needing_attention` list grouping the gaps by integration so
the UI can drive a "configure now" modal in one call.

Used in two contexts that share the same response shape:

  * **Pre-clone preview** — call with a template's id before cloning to
    decide whether to open the warning modal.
  * **Post-clone status** — call with the cloned project's id to render the
    per-property warning chips on the agent page.

`project_id` must belong to `workspace_id`, and the user must have `read_others`
on it.


# OpenAPI definition

```json
{
  "components": {
    "schemas": {
      "Common.APIErrorDetails": {
        "description": "Additional structured error context. Shape varies by error code.\n\n- For conflict errors: contains a `conflicts` array with conflicting resources\n- For other errors: may contain arbitrary error-specific context",
        "nullable": true,
        "oneOf": [
          {
            "$ref": "#/components/schemas/Common.ConflictErrorDetails"
          },
          {
            "additionalProperties": true,
            "description": "Generic error details for non-conflict errors",
            "type": "object",
            "x-struct": null,
            "x-validate": null
          }
        ],
        "title": "Common.APIErrorDetails",
        "x-struct": "Elixir.AgiDbWeb.Schemas.Common.APIErrorDetails",
        "x-validate": null
      },
      "Common.ConflictErrorDetails": {
        "additionalProperties": false,
        "description": "Details for conflict errors",
        "properties": {
          "conflicts": {
            "description": "List of conflicting resources",
            "items": {
              "additionalProperties": true,
              "type": "object",
              "x-struct": null,
              "x-validate": null
            },
            "type": "array",
            "x-struct": null,
            "x-validate": null
          }
        },
        "required": [
          "conflicts"
        ],
        "title": "Common.ConflictErrorDetails",
        "type": "object",
        "x-struct": "Elixir.AgiDbWeb.Schemas.Common.ConflictErrorDetails",
        "x-validate": null
      },
      "Projects.McpCompatibilityResponse": {
        "additionalProperties": false,
        "description": "Per-property compatibility status of `enabled_mcp_tools` plus an aggregated\n`integrations_needing_attention` list. Used both as a pre-clone preview\n(against a template) and as the post-clone status feed (against a cloned\nproject).\n",
        "properties": {
          "by_property": {
            "items": {
              "$ref": "#/components/schemas/Projects.McpCompatibilityProperty"
            },
            "type": "array",
            "x-struct": null,
            "x-validate": null
          },
          "integrations_needing_attention": {
            "items": {
              "$ref": "#/components/schemas/Projects.McpCompatibilityIntegration"
            },
            "type": "array",
            "x-struct": null,
            "x-validate": null
          }
        },
        "required": [
          "by_property",
          "integrations_needing_attention"
        ],
        "title": "Projects.McpCompatibilityResponse",
        "type": "object",
        "x-struct": "Elixir.AgiDbWeb.Schemas.Projects.McpCompatibilityResponse",
        "x-validate": null
      },
      "Common.UUID": {
        "example": "e23ff3f3-8f77-4e78-9e81-fdb25abfb781",
        "format": "uuid",
        "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
        "title": "Common.UUID",
        "type": "string",
        "x-struct": null,
        "x-validate": null
      },
      "Projects.McpCompatibilityProperty": {
        "additionalProperties": false,
        "description": "A property with the compatibility status of every enabled MCP tool on it",
        "properties": {
          "property_id": {
            "$ref": "#/components/schemas/Common.UUID"
          },
          "tools": {
            "items": {
              "$ref": "#/components/schemas/Projects.McpCompatibilityTool"
            },
            "type": "array",
            "x-struct": null,
            "x-validate": null
          }
        },
        "required": [
          "property_id",
          "tools"
        ],
        "title": "Projects.McpCompatibilityProperty",
        "type": "object",
        "x-struct": "Elixir.AgiDbWeb.Schemas.Projects.McpCompatibilityProperty",
        "x-validate": null
      },
      "Projects.McpCompatibilityIntegration": {
        "additionalProperties": false,
        "description": "Aggregated view of one MCP integration referenced by the project that needs\nuser attention. Fully-resolved integrations are omitted from this list.\n",
        "properties": {
          "affected_property_ids": {
            "default": [],
            "description": "IDs of properties referencing this integration",
            "items": {
              "$ref": "#/components/schemas/Common.UUID"
            },
            "type": "array",
            "x-struct": null,
            "x-validate": null
          },
          "auth_type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/McpIntegrations.McpIntegrationAuthType"
              }
            ],
            "description": "Auth type from the matching MCP template (when known) — useful to drive an OAuth vs API key flow in the UI",
            "nullable": true,
            "x-struct": null,
            "x-validate": null
          },
          "mcp_integration_id": {
            "description": "ID of the existing integration in the user's workspace, or `null` if missing",
            "format": "uuid",
            "nullable": true,
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "name": {
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "server_url": {
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "status": {
            "$ref": "#/components/schemas/Projects.McpCompatibilityIntegrationStatus"
          },
          "template_slug": {
            "nullable": true,
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "tools_needing_approval": {
            "default": [],
            "description": "Tools that exist on the server side but are not auto-approved yet. Empty for `missing`/`unauthenticated` (they are listed once the integration is authenticated).",
            "items": {
              "type": "string",
              "x-struct": null,
              "x-validate": null
            },
            "type": "array",
            "x-struct": null,
            "x-validate": null
          }
        },
        "required": [
          "server_url",
          "name",
          "status",
          "tools_needing_approval",
          "affected_property_ids"
        ],
        "title": "Projects.McpCompatibilityIntegration",
        "type": "object",
        "x-struct": "Elixir.AgiDbWeb.Schemas.Projects.McpCompatibilityIntegration",
        "x-validate": null
      },
      "Common.APIError": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "example": "bad_request",
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "details": {
            "$ref": "#/components/schemas/Common.APIErrorDetails"
          },
          "message": {
            "example": "Bad Request",
            "type": "string",
            "x-struct": null,
            "x-validate": null
          }
        },
        "required": [
          "code",
          "message"
        ],
        "title": "Common.APIError",
        "type": "object",
        "x-struct": "Elixir.AgiDbWeb.Schemas.Common.APIError",
        "x-validate": null
      },
      "Projects.McpCompatibilityIntegrationStatus": {
        "description": "Aggregated status of an MCP integration referenced by the project:\n\n  * `missing` — user has no matching integration.\n  * `unauthenticated` — integration exists but is not authenticated.\n  * `needs_tool_approval` — integration authenticated but at least one\n    referenced tool needs auto-approval.\n\nFully-resolved integrations are not listed at all.\n",
        "enum": [
          "missing",
          "unauthenticated",
          "needs_tool_approval"
        ],
        "title": "Projects.McpCompatibilityIntegrationStatus",
        "type": "string",
        "x-struct": "Elixir.AgiDbWeb.Schemas.Projects.McpCompatibilityIntegrationStatus",
        "x-validate": null
      },
      "Projects.McpCompatibilityToolStatus": {
        "description": "Status of one `enabled_mcp_tools` entry on a property:\n\n  * `ready` — integration matched, authenticated, tool auto-approved.\n  * `integration_missing` — no matching integration in the user's workspace.\n  * `integration_unauthenticated` — matching integration exists but is not\n    authenticated yet.\n  * `tool_not_auto_approved` — integration authenticated but the specific\n    tool is not set to `auto_approve`.\n  * `tool_not_found` — integration authenticated but the tool is not\n    exposed by the MCP server (its tool list has drifted).\n",
        "enum": [
          "ready",
          "integration_missing",
          "integration_unauthenticated",
          "tool_not_auto_approved",
          "tool_not_found"
        ],
        "title": "Projects.McpCompatibilityToolStatus",
        "type": "string",
        "x-struct": "Elixir.AgiDbWeb.Schemas.Projects.McpCompatibilityToolStatus",
        "x-validate": null
      },
      "Projects.McpCompatibilityTool": {
        "additionalProperties": false,
        "description": "Compatibility status of a single MCP tool on a property",
        "properties": {
          "mcp_integration_id": {
            "description": "ID of the matched integration in the calling user's workspace, or `null` when none matches yet",
            "format": "uuid",
            "nullable": true,
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "server_url": {
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "status": {
            "$ref": "#/components/schemas/Projects.McpCompatibilityToolStatus"
          },
          "template_slug": {
            "nullable": true,
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "tool_name": {
            "type": "string",
            "x-struct": null,
            "x-validate": null
          }
        },
        "required": [
          "tool_name",
          "server_url",
          "status"
        ],
        "title": "Projects.McpCompatibilityTool",
        "type": "object",
        "x-struct": "Elixir.AgiDbWeb.Schemas.Projects.McpCompatibilityTool",
        "x-validate": null
      },
      "McpIntegrations.McpIntegrationAuthType": {
        "description": "Authentication type used by the MCP integration",
        "enum": [
          "auto",
          "api_key",
          "registered"
        ],
        "title": "McpIntegrations.McpIntegrationAuthType",
        "type": "string",
        "x-struct": "Elixir.AgiDbWeb.Schemas.McpIntegrations.McpIntegrationAuthType",
        "x-validate": null
      }
    },
    "securitySchemes": {
      "ApiKeyAuth": {
        "in": "header",
        "name": "X-API-KEY",
        "type": "apiKey"
      },
      "BearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "title": "V7 Go API",
    "version": "0.1.0"
  },
  "openapi": "3.0.0",
  "paths": {
    "/api/workspaces/{workspace_id}/projects/{project_id}/mcp-compatibility": {
      "get": {
        "callbacks": {},
        "description": "For each property in the project (descending into sub-projects), reports the\ncompatibility status of every `enabled_mcp_tools` entry against the calling\nuser's MCP integrations in `workspace_id`. Also returns an aggregated\n`integrations_needing_attention` list grouping the gaps by integration so\nthe UI can drive a \"configure now\" modal in one call.\n\nUsed in two contexts that share the same response shape:\n\n  * **Pre-clone preview** — call with a template's id before cloning to\n    decide whether to open the warning modal.\n  * **Post-clone status** — call with the cloned project's id to render the\n    per-property warning chips on the agent page.\n\n`project_id` must belong to `workspace_id`, and the user must have `read_others`\non it.\n",
        "operationId": "project-mcp-compatibility",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "workspace_id",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Common.UUID"
            }
          },
          {
            "description": "",
            "in": "path",
            "name": "project_id",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Common.UUID"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Projects.McpCompatibilityResponse"
                }
              }
            },
            "description": "Projects.McpCompatibilityResponse"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Common.APIError"
                }
              }
            },
            "description": "Common.APIError"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Common.APIError"
                }
              }
            },
            "description": "Common.APIError"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Common.APIError"
                }
              }
            },
            "description": "Common.APIError"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Common.APIError"
                }
              }
            },
            "description": "Common.APIError"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Common.APIError"
                }
              }
            },
            "description": "Common.APIError"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Common.APIError"
                }
              }
            },
            "description": "Common.APIError"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Common.APIError"
                }
              }
            },
            "description": "Common.APIError"
          }
        },
        "summary": "Inspect MCP compatibility for a project",
        "tags": [
          "Projects"
        ]
      }
    }
  },
  "security": [
    {
      "BearerAuth": []
    },
    {
      "ApiKeyAuth": []
    }
  ],
  "servers": [
    {
      "description": "EU",
      "url": "https://go.v7labs.com",
      "variables": {}
    },
    {
      "description": "US",
      "url": "https://go.us.v7labs.com",
      "variables": {}
    },
    {
      "description": "UAE",
      "url": "https://go.uae.v7labs.com",
      "variables": {}
    }
  ]
}
```