Skip to content

Get MCP server by ID

GET
/v1/mcp-servers/{server_id}
curl --request GET \
--url https://app.everruns.com/api/v1/mcp-servers/example
server_id
required
string

MCP server ID (prefixed, e.g., mcp_…)

MCP server found

Media type application/json

Wrapper that adds API and UI links to a serialized resource.

Uses self_url (not url) for the API link to avoid collision with resources that already have a url field (e.g. McpServer). The allowed_actions array carries state-aware hypermedia links — empty (and omitted from the wire shape) until the underlying resource opts into the convention by overriding ResourceUrlable::allowed_actions.

object
api_key_set
required

Whether an API key has been configured.

boolean
archived_at

Timestamp when the MCP server was archived.

string | null format: date-time
auth_mode

Authentication mode for this MCP server.

string
Allowed values: none api_key o_auth
created_at
required

Timestamp when the MCP server was created.

string format: date-time
deleted_at

Timestamp when the MCP server was deleted.

string | null format: date-time
description

Human-readable description of the MCP server.

string | null
headers

Additional HTTP headers for authentication. Keys are header names, values are header values.

object
key
additional properties
string
id
required

Unique identifier for the MCP server.

string
name
required

Display name of the MCP server.

string
oauth_provider_id

Stable provider id used for user-scoped OAuth connections.

string | null
status
required

Current lifecycle status of the MCP server.

string
Allowed values: active disabled archived deleted
transport_type
required

Transport type (currently only HTTP supported).

string
Allowed values: http stdio
updated_at
required

Timestamp when the MCP server was last updated.

string format: date-time
url
required

URL of the MCP server endpoint.

string
allowed_actions

State-aware hypermedia actions the caller can take on this resource next (e.g. cancel, events, update). Omitted from the wire shape when empty so resources that haven’t opted into the convention don’t grow their payloads.

Array<object>

Agent-actionable link describing a follow-up the caller can take. Used in two contexts:

  • Error recoveryErrorResponse.allowed_actions carries rels like retry, retry-later, unarchive, get-existing so the agent knows the right next call after a 4xx/429.
  • Entity hypermediaWithUrls<T>.allowed_actions carries state-aware rels like cancel, events, self, update on the entity itself so the agent can follow links instead of reconstructing routes from prose.

The shape is intentionally identical across both contexts; the closed rel vocabulary documented in specs/api-conventions.md distinguishes them.

object
hint

Short, agent-readable hint (e.g. “Shorten ‘name’ to <= 200 chars.”, “Cancel the active turn for this session.”).

string | null
href

Absolute (preferred) or relative URL the caller may invoke directly. Always present on entity hypermedia actions (WithUrls<T>.allowed_actions); optional on error-recovery actions (ErrorResponse.allowed_actions) where the matching operation_id is enough and the URI is implicit from the failed call.

string | null
method

HTTP method to use against href. Required for entity hypermedia actions; usually omitted on error-recovery actions where the same operation is retried with its original method.

string | null
operation_id

OpenAPI operationId the caller should invoke. Lets an MCP client resolve the call without parsing href.

string | null
rel
required

Link relation describing the action. Closed vocabulary documented in specs/api-conventions.md — examples: self, cancel, pause, resume, events, retry, retry-later, unarchive, get-existing, delete, update.

string
schema_ref

OpenAPI $ref to the request-body schema, when the action takes one (e.g. #/components/schemas/UpdateSessionRequest). Lets a tool-calling agent fetch the input shape without scanning the whole spec.

string | null
self_url
required

Full API endpoint URL for this resource.

string
ui_link
required

Alias for view_url, used by command and MCP outputs.

string
view_url
required

Full UI URL for viewing this resource.

string
Example
{
"auth_mode": "none",
"description": "Atlassian MCP Server for Jira and Confluence",
"id": "mcp_01933b5a00007000800000000000001",
"name": "atlassian-mcp-server",
"status": "active",
"transport_type": "http",
"url": "https://mcp.atlassian.com/v1/mcp",
"allowed_actions": [
{
"method": "POST"
}
]
}

Invalid server ID

MCP server not found

Internal server error