v1

latestOpenAPI 3.1.02026-07-171127.9 KB

Add a new MCP server

Create a new MCP server with the given details

post/api/mcp/servers

Request body

namestring required
urlstring required

Example request

{
  "name": "Test Server",
  "url": "http://mcp-server-example.com"
}

Response

Server created successfully

idinteger
namestring
urlstring
created_atstring date-time
last_checkstring date-time
last_check_errorstring nullable

Example response

{
  "id": 1,
  "name": "Test Server",
  "url": "http://mcp-server-example.com",
  "created_at": "2023-04-11T14:30:00Z",
  "last_check": "2023-04-11T14:35:00Z"
}