Editor Setup

Point your AI-powered editor at Stockyard in 2–3 lines of config.

Overview

Stockyard is OpenAI API-compatible — any editor that supports custom API endpoints works out of the box. Editors that support MCP (Model Context Protocol) can also connect via Stockyard’s MCP server for richer integration.

Every request through your editor passes through Stockyard’s full middleware chain: cost tracking, tracing, guardrails, caching, and all 58+ proxy modules.

Choose Your Editor

How It Works

There are two connection methods depending on your editor:

MCP (Model Context Protocol): Cursor, Windsurf, and Cline support MCP natively. They connect to Stockyard’s /mcp/sse endpoint and use the chat tool to send requests.

OpenAI-compatible API: GitHub Copilot and Aider use the standard OpenAI API format. Point them at Stockyard’s /v1/chat/completions endpoint.