Connect Zed to NinjaTrader 8
Fast Rust-based editor with native MCP support. Context servers in settings.json, automatic OAuth.
Zed calling CrossTrade MCP tools against a live NinjaTrader 8 account. Run this yourself in 5 minutes →
Why pair Zed with CrossTrade MCP
Zed is the lightest IDE that still gives you a serious AI panel. Configure once in settings.json, and Zed prompts for OAuth automatically when the Authorization header is omitted. Great for quick agent sessions without booting a full IDE.
~/.config/zed/settings.json with context_servers (NOT mcpServers) What this combination unlocks
Lightweight
Rust binary. Sub-second startup.
Automatic OAuth
Omit the Authorization header and Zed prompts the user automatically.
BYOK
Use your own provider keys on the free tier.
The connection chain
Zed │ OAuth-authorized tool call ▼ CrossTrade hosted MCP server (https://app.crosstrade.io/v1/api/mcp) │ ▼ CrossTrade Add-On running inside NT8 on your PC │ ▼ NinjaTrader 8
One URL, one consent screen, one read-only first prompt. The MCP server is hosted by CrossTrade; you don't run anything beyond NT8 + the CrossTrade Add-On.
Ready to set up Zed?
The full step-by-step setup lives on a dedicated page. Verified against Zed Industries's current docs.
Copy-paste prompts that work today
Also consider
Common questions
Is Zed a good fit for trading workflows?
Yes if you prefer a lightweight, fast editor. Zed is a Rust-based native editor with sub-second startup. Pleasant for quick agent sessions without booting a heavier IDE. The MCP integration is clean: edit settings.json, restart, OAuth in the browser.
Do I need Zed, or does Cursor / VS Code suffice?
Zed for lightweight, low-friction sessions. Cursor for full IDE features (project navigation, multi-file refactor). VS Code (with Cline/Continue/Copilot) if your team already lives there. CrossTrade works in all three.
Why context_servers and not mcpServers?
Zed calls MCP servers "context servers" in its config — a different vocabulary from every other MCP client. This is the #1 paste-from-other-tool mistake: copying mcpServers from a Cursor or Cline config will silently fail to register. Rename to context_servers.
Pricing?
Personal (free, 2,000 accepted edit predictions/month), Pro ($10/mo, $5 token credits + hosted models), Business ($30/seat/mo). BYOK is fully supported on the free tier — bring your own provider API keys.
Mac, Windows, and Linux?
Yes. Native binaries from zed.dev/download. Windows support arrived in 2025; macOS and Linux have been supported longer.
How does the automatic OAuth trigger work?
When a remote MCP server has no configured Authorization header, Zed prompts you to authenticate via the standard MCP OAuth flow. To use this: just omit the headers block from your context_servers entry, and Zed handles the rest.
Zed vs Cursor for NinjaScript?
Cursor is a richer IDE (multi-file refactor, Composer). Zed is lighter and faster. Same CrossTrade MCP tool surface from both. Pick by your preference for ergonomics vs speed.
Can Zed run multiple MCP servers at once?
Yes — add multiple entries under context_servers (CrossTrade, GitHub, Slack, etc.) and Zed connects to each. Tool calls route by name; you don't need to disambiguate in prompts unless tools collide.
Connect Zed to NinjaTrader 8 in 5 minutes
Free Sim101 walkthrough. Read-only first. Upgrade scope only when a real workflow needs it.