Skopik Platform exposes a single remote Model Context Protocol (MCP) endpoint on the control API server:
text
https://api.platform.skopik.com/mcpEvery platform operation — Workers, Sandboxes, Databases, Buckets, Queues, Topics, Email, Domains, Workspaces, Git links, Secrets, and Usage — is available as an MCP tool with the exact same schemas, permissions, and error codes as the REST API.
#Authentication
Send an organization API key in the Authorization header:
text
Authorization: Bearer <SKOPIK_API_KEY>- Full-scope keys can read and mutate all org resources.
- Read-only keys (
readscope) can inspect resources, query Databases, read Sandbox files, and view logs without modifying infrastructure. - Person tokens (with
x-mh-org: <org_id>) are also accepted and unlock member, invite, and org transfer tools.
#Client Configuration
json
{
"mcpServers": {
"skopik-platform": {
"url": "https://api.platform.skopik.com/mcp",
"headers": {
"Authorization": "Bearer mhk_your_org_api_key"
}
}
}
}bash
curl -X POST https://api.platform.skopik.com/mcp \
-H "Authorization: Bearer $SKOPIK_API_KEY" \
-H "content-type: application/json" \
-H "accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"curl","version":"1.0"}}}'#Discovering Tools
Run skopik tools from your terminal to list every live tool and its summary, or skopik <tool_name> --help to inspect its exact parameters:
bash
skopik tools
skopik exec_in_sandbox --help#Limits & Long-Running Calls
- Long commands: The edge keeps MCP connections open for up to 65 minutes with TCP keepalives, so long
exec_in_sandboxcalls complete without timing out. - File transfers over MCP:
write_sandbox_fileandread_sandbox_filecap payloads at 4 MiB (UTF-8 or base64). For larger files up to 1 GiB, use the HTTP route/v1/sandboxes/{id}/files. - Error format: Errors return the stable control API envelope
{"error": {"code": "...", "message": "..."}}.