analytics
SpeedCurve MCP Integration for Claude Agent SDK
Connect SpeedCurve to Claude Agent SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect SpeedCurve to Claude Agent SDK
Give Claude Agent SDK workflows access to KosmoKrator integrations through a local MCP server.
Add a KosmoKrator stdio MCP server to the Claude Agent SDK options. The gateway is local, scoped to this integration, and starts with
--write=deny so Claude Agent SDK can inspect read-capable tools without receiving write access by default.
SpeedCurve MCP Config for Claude Agent SDK
Use a narrow integration list so the agent does not load unrelated tools.
{
"mcpServers": {
"kosmokrator-speedcurve": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=speedcurve",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=speedcurve --write=deny Why Use KosmoKrator Here
Expose only SpeedCurve instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
SpeedCurve Tools Visible to Claude Agent SDK
Claude Agent SDK sees stable MCP tool names generated from the SpeedCurve integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__speedcurve__speedcurve_list_sites | speedcurve.speedcurve_list_sites | Read | List all monitored sites in SpeedCurve. Returns site IDs, names, and URLs that you can use to query test results. |
integration__speedcurve__speedcurve_get_site | speedcurve.speedcurve_get_site | Read | Get detailed information about a specific SpeedCurve site, including its URLs, test settings, and latest test results. |
integration__speedcurve__speedcurve_list_tests | speedcurve.speedcurve_list_tests | Read | List recent synthetic test results from SpeedCurve. Optionally filter by site, browser, or region. |
integration__speedcurve__speedcurve_get_test | speedcurve.speedcurve_get_test | Read | Get detailed results for a specific SpeedCurve synthetic test run, including Core Web Vitals, filmstrip data, and waterfall metrics. |
integration__speedcurve__speedcurve_list_deployments | speedcurve.speedcurve_list_deployments | Read | List recent deployments in SpeedCurve and their performance impact. Shows how each deploy affected Core Web Vitals and load times. |
integration__speedcurve__speedcurve_create_deployment | speedcurve.speedcurve_create_deployment | Write | Register a new deployment in SpeedCurve to trigger synthetic performance tests. Use this when deploying code changes to track their performance impact. |
integration__speedcurve__speedcurve_get_current_user | speedcurve.speedcurve_get_current_user | Read | Get details about the currently authenticated SpeedCurve user. Useful for verifying API credentials and checking account information. |