Get MCP connection by ID
GET /api/mcp-connections/{id}
Retrieves a single MCP connection by its unique identifier, including its current health status and the timestamp of the last health check.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”The unique identifier of the MCP connection to retrieve.
Responses
Section titled “ Responses ”The MCP connection was found and returned.
An MCP (Model Context Protocol) connection represents a registered external MCP server that your AI agents can interact with. MCP servers expose tools that let agents query your business systems — for example, looking up order status, checking inventory, or creating quotes. Connections are configured with authentication credentials stored securely in Infisical.
object
Unique identifier for the connection.
Example
mc1a2b3c-5678-9abc-def0-1234567890abThe tenant this connection belongs to.
Example
a0b1c2d3-4567-89ab-cdef-0123456789abHuman-readable name identifying this connection.
Example
Order Management SystemThe URL of the MCP server endpoint.
Example
https://mcp.example.com/omsAuthentication method used to connect to the MCP server. ‘bearer’ sends a token in the Authorization header. ‘none’ means no authentication.
Example
bearerCurrent health status of the connection. ‘active’ means the last health check passed. ‘error’ means the server is unreachable or returned an error. ‘unknown’ means no health check has been performed.
Example
activeInstructions provided by the MCP server that help agents understand when and how to use its tools. These are included in the agent’s system prompt when the connection is assigned.
Example
Use this server to look up order status, shipping details, and return eligibility. Always pass the order_id as a string.Timestamp of the last successful or failed health check. Null if never tested.
Example
2026-03-25T12:00:00.000ZTimestamp when the connection was registered.
Example
2026-01-10T14:00:00.000ZTimestamp when the connection was last updated.
Example
2026-03-25T12:00:00.000ZNo MCP connection exists with the given ID in the authenticated tenant.
Standard error response returned by all endpoints on failure.
object
A human-readable error message describing what went wrong.
Example
Conversation not found