Skip to main content
POST
/
admin
/
api
/
v1
/
mcp-servers
Create Mcp Server
curl --request POST \
  --url https://api.example.com/admin/api/v1/mcp-servers \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "mcpServer": {
    "name": "<string>",
    "transport": "streamable_http",
    "url": "<string>",
    "command": "<string>",
    "args": [
      "<string>"
    ],
    "headers": {},
    "env": {},
    "cwd": "<string>",
    "encoding": "<string>",
    "timeoutSeconds": 123,
    "sseReadTimeoutSeconds": 123,
    "terminateOnClose": true,
    "sessionKwargs": {}
  },
  "enabled": true
}
'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "slug": "<string>",
    "name": "<string>",
    "enabled": true,
    "mcpServer": {
      "name": "<string>",
      "transport": "streamable_http",
      "url": "<string>",
      "command": "<string>",
      "args": [
        "<string>"
      ],
      "headers": {},
      "env": {},
      "cwd": "<string>",
      "encoding": "<string>",
      "timeoutSeconds": 123,
      "sseReadTimeoutSeconds": 123,
      "terminateOnClose": true,
      "sessionKwargs": {}
    },
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  },
  "reload": {
    "message": "<string>",
    "error": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.idun-group.com/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json

Body for POST /admin/api/v1/mcp-servers.

name
string
required
mcpServer
MCPServer · object
required

Configuration for a single MCP server connection.

enabled
boolean
default:true

Response

Successful Response

data
StandaloneMCPServerRead · object
required

GET response and the data payload of POST/PATCH/DELETE responses.

reload
StandaloneReloadResult · object
required

Reload outcome attached to every admin mutation response.

reloaded means DB committed and runtime now uses the new config. restart_required means DB committed and process restart is needed. reload_failed means DB rolled back and runtime is unchanged.

Last modified on May 22, 2026