analytics
SpeedCurve MCP Integration for Vercel AI SDK
Connect SpeedCurve to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect SpeedCurve to Vercel AI SDK
Use KosmoKrator as a local integration gateway for Vercel AI SDK agents and scripts.
Create an MCP client that starts or connects to the KosmoKrator gateway for the selected integration. The gateway is local, scoped to this integration, and starts with
--write=deny so Vercel AI SDK can inspect read-capable tools without receiving write access by default.
SpeedCurve MCP Config for Vercel AI SDK
Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.
{
"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 Vercel AI SDK
Vercel AI 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. |