Arkloop Developers

MCP Configs

Manage MCP (Model Context Protocol) server configurations. All endpoints require Bearer Token authentication.

Create MCP Config

POST /v1/mcp-configs

Request Body

FieldTypeRequiredDescription
namestringYesDisplay name
transportstringYesstdio/http_sse/streamable_http
urlstringConditionalRequired when transport != stdio
bearer_tokenstringNoHTTP authentication token (stored encrypted)
commandstringConditionalRequired when transport == stdio
args[]stringNoCommand line arguments
cwdstringNoWorking directory
envobjectNoExtra environment variables
inherit_parent_envboolNoWhether to inherit parent process environment variables
call_timeout_msintNoCall timeout (ms), default 10000

Response 201 Created

{
  "id": "...",
  "org_id": "...",
  "name": "Filesystem Tools",
  "transport": "stdio",
  "url": null,
  "has_auth": false,
  "command": "npx",
  "args": ["-y", "@modelcontextprotocol/server-filesystem", "/tmp"],
  "cwd": null,
  "inherit_parent_env": false,
  "call_timeout_ms": 10000,
  "is_active": true,
  "created_at": "2024-01-01T00:00:00Z",
  "updated_at": "2024-01-01T00:00:00Z"
}

has_auth being true indicates that bearer_token is configured, but the plaintext token is not returned in the response.


List MCP Configs

GET /v1/mcp-configs

Update MCP Config

PATCH /v1/mcp-configs/{config_id}

Request Body

FieldTypeDescription
namestring
urlstring | null
bearer_tokenstring | nullnull to clear the token
call_timeout_msint
is_activeboolEnable/Disable

Delete MCP Config

DELETE /v1/mcp-configs/{config_id}

On this page