Skip to main content
GET
Get an MCP server by ID

Authorizations

X-API-Key
string
header
required

[Production] API key for production authentication

Path Parameters

id
string
required

The unique identifier for the MCP server.

Response

Returns the MCP server.

authConnectionReferenceId
string

The referenceId of the Cognigy connection that holds the credentials. It's absent if authType is none.

authType
string

The authentication method for the MCP server: none, oAuth2, or customHeader.

Example:

"none"

createdAt
integer

The time when the MCP server was created, as a Unix timestamp in seconds.

createdBy
string

The unique identifier for the user who created the MCP server.

Example:

"507f1f77bcf86cd799439011"

headers
object

The static HTTP headers that the platform sends with every request to the MCP server, as key-value pairs. If authType is oAuth2, the headers can't contain an Authorization entry.

id
string

The unique identifier for the MCP server.

Example:

"507f1f77bcf86cd799439011"

lastChangedAt
integer

The time when the MCP server was last changed, as a Unix timestamp in seconds.

lastChangedBy
string

The unique identifier for the user who last changed the MCP server.

Example:

"507f1f77bcf86cd799439011"

name
string

The name of the MCP server.

organisationId
string

The unique identifier for the organization that the MCP server belongs to.

Example:

"507f1f77bcf86cd799439011"

projectId
string

The unique identifier for the project that the MCP server belongs to.

Example:

"507f1f77bcf86cd799439011"

referenceId
string

The unique identifier that tools use to reference the MCP server. It's a UUID and never changes.

Example:

"550e8400-e29b-41d4-a716-446655440000"

timeoutSeconds
integer

The timeout for requests to the MCP server, in seconds.

Example:

12

url
string

The URL of the remote MCP server.