Skip to main content
GET
/
api
/
servers
List all servers
curl --request GET \
  --url https://mcp.runalloy.com/api/servers \
  --header 'Authorization: Bearer <token>'
{
  "servers": [
    {
      "serverId": "production-server-a1b2c3d4",
      "name": "Production Server",
      "description": "Main production MCP server",
      "url": "https://mcp.runalloy.com/mcp/production-server-a1b2c3d4",
      "accessUrl": "https://mcp.runalloy.com/mcp/production-server-a1b2c3d4/mcp_token_xyz789",
      "createdAt": "2024-01-01T00:00:00Z"
    }
  ],
  "count": 15
}

Authorizations

Authorization
string
header
required

Use either an Alloy API key or JWT token

Headers

x-alloy-userid
string

User ID to filter servers (optional with API key)

Response

List of servers

servers
object[]
count
integer

Total number of servers

I