Skip to main content
GET
/
api
/
agent-server
/
mcp-servers
/
{id}
Get MCP server by ID
curl --request GET \
  --url http://localhost:6060/api/agent-server/mcp-servers/{id}
{
  "error": true,
  "message": "<string>",
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "endpoint": "<string>",
    "headers": {},
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  },
  "status": 123,
  "errorDetails": {}
}

Path Parameters

id
string<uuid>
required

Query Parameters

project_id
string<uuid>
required

Response

MCP server retrieved successfully

error
boolean
message
string
data
object
status
integer
errorDetails
object