Documentation Index
Fetch the complete documentation index at: https://docs.shinzo.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
MCP (Model Context Protocol) servers extend your agents’ capabilities by connecting them to external tools and services. You register remote MCP servers by providing their endpoint URL and authentication headers, then grant specific agents access to use their tools.Only remote-hosted (HTTP) MCP servers are supported at the moment. The platform connects to your server’s endpoint URL and handles credential encryption, health monitoring, and tool discovery for you.
Registering MCP Servers
Register a new MCP server withPOST /v1/mcp/servers. Provide the server’s endpoint URL and any authentication headers:
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | ✅ | Unique server name (1-100 characters) |
description | string | ❌ | Description of the server (max 500 characters) |
transport_type | string | ❌ | Transport type (use "http") |
url | string | ✅ | Endpoint URL for the MCP server |
headers | object | ❌ | HTTP headers, such as authentication headers (encrypted at rest) |
configuration | object | ❌ | Additional configuration options |
HTTP servers also support OAuth-based authentication. When configured, the platform handles token refresh and credential management automatically.
Listing Servers
Retrieve your registered MCP servers withGET /v1/mcp/servers:
| Parameter | Type | Default | Description |
|---|---|---|---|
page | number | 1 | Page number |
limit | number | 20 | Results per page (max 100) |
status | enum | — | Filter by status: active, inactive, error, deploying |
Getting Server Details
Retrieve a specific server’s configuration and access grants withGET /v1/mcp/servers/:id:
Updating Servers
Update a server’s configuration withPUT /v1/mcp/servers/:id:
Deleting Servers
Remove a registered MCP server withDELETE /v1/mcp/servers/:id:
Health Checks
Check the connectivity and responsiveness of a server withGET /v1/mcp/servers/:id/health:
Tool Refresh
Query a server’stools/list endpoint to update the set of available tools with POST /v1/mcp/servers/:id/tools/refresh:
Access Management
Control which agents can use an MCP server by managing access grants.Grant Access
Grant an agent access to a server withPOST /v1/mcp/servers/:id/access:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
agent_uuid | string | ✅ | — | UUID of the agent to grant access to |
access_mode | enum | ❌ | "all" | "all" grants access to every tool; "selected" restricts to specific tools |
allowed_tools | array | If selected | — | List of tool names the agent is allowed to use |
List Access Grants
See which agents have access to a server withGET /v1/mcp/servers/:id/access:
Revoke Access
Remove an agent’s access withDELETE /v1/mcp/servers/:id/access/:agentId:
Example: GitHub Integration
This example walks through registering a GitHub MCP server and granting an agent access to it. Step 1: Register the GitHub MCP server:Best Practices
- Encrypt credentials properly. Always pass secrets through
headers. Never hardcode credentials in URLs. - Use
selectedaccess mode in production. Restrict agents to only the tools they need rather than granting blanketallaccess. - Run health checks after configuration changes. Verify server connectivity whenever you update credentials or URLs.
- Refresh tools after server updates. When the underlying MCP server is updated with new tools, call the tool refresh endpoint to update the platform’s tool registry.
- Revoke access before deleting servers. Clean up all agent access grants before removing a server to avoid errors.
Next Steps
Agent Configuration
Configure agents and connect them to MCP servers.
Agent Messaging
Send messages and manage conversations.
Filesystem Management
Manage files in agent workspaces.

