analytics
SpeedCurve MCP Integration for LangGraph
Connect SpeedCurve to LangGraph through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect SpeedCurve to LangGraph
Run KosmoKrator integration calls from LangGraph nodes while preserving local credentials and permissions.
Use a graph node that calls the KosmoKrator CLI for deterministic steps or an MCP client for dynamic tool selection. The gateway is local, scoped to this integration, and starts with
--write=deny so LangGraph can inspect read-capable tools without receiving write access by default.
SpeedCurve MCP Config for LangGraph
Headless CLI calls fit repeatable graph edges; MCP fits exploratory agent nodes.
{
"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 LangGraph
LangGraph 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. |