Skip to main content
Use the MCP Servers API to connect organization-owned Model Context Protocol servers and discover their tools. All requests use https://api.agents.slng.ai and a bearer API key.

Endpoints

The list endpoint accepts limit from 1 to 200, offset up to 10,000, and repeatable exact name filters.

Server fields

Secret names use SCREAMING_SNAKE_CASE. Read responses never include secret values or transient credential input.

Authentication objects

No authentication
Bearer authentication
Custom header authentication
Custom headers cannot duplicate the configured authentication header or a transport-managed header.

Connect response

The connect endpoint returns:
  • status: connected or failed.
  • latency_ms, server_info, and protocol_version.
  • capabilities.tools, including each name, description, input schema, optional output schema, and canonical schema_hash.
  • Protocol events and an error when available.
The stored capability status can be unknown, healthy, unavailable, invalid, or circuit_open. The server record also reports the observed time, tool count, revision, and last capability error.

Attach a discovered tool

An MCP attachment records attachment_id, server_id, tool_name, description, invocation: "model", argument_overrides, and the observed_schema_hash returned by discovery. MCP tools do not support system invocation. See Connect an MCP server for the complete task and Attach a tool to an agent for the safe agent update procedure.