Cursor
Connect Cursor to Stockyard via MCP.
MCP Configuration
Create a .cursor/mcp.json file in your project root (or your home directory for global config):
{
"mcpServers": {
"stockyard": {
"url": "https://your-stockyard-instance.com/mcp/sse",
"transport": "sse"
}
}
}
OpenAI-Compatible Endpoint
Alternatively, configure Cursor to use Stockyard’s OpenAI-compatible API directly. In Cursor Settings → Models → OpenAI API Key, set:
API Base URL: https://your-stockyard-instance.com/v1
API Key: your-stockyard-api-key
Verify
Open a file in Cursor and trigger an AI action (Cmd+K or Cmd+L). Check Stockyard’s Observe dashboard — you should see the trace appear with model, latency, and cost.
Tip: Enable the
costcap module in Stockyard to set spending limits on Cursor usage across your team.