LibreChat · MCP · NinjaTrader 8

Connect LibreChat to NinjaTrader 8

Self-hosted multi-provider ChatGPT-style frontend with per-user OAuth. Best multi-user MCP story.

See it in action
librechat · crosstrade mcp · sim101

LibreChat calling CrossTrade MCP tools against a live NinjaTrader 8 account. Run this yourself in 5 minutes →

Why LibreChat

Why pair LibreChat with CrossTrade MCP

LibreChat's killer feature for team trading: per-user OAuth grants. Each trader authenticates against their own CrossTrade account, so credentials don't leak across users. Deploy via Docker. MIT-licensed.

Transport librechat.yaml with mcpServers: + type: streamable-http + OAuth 2.1 + PKCE + DCR (per-user)
Highlights

What this combination unlocks

Per-user credentials

OAuth grants are isolated per user.

Self-host

Run on your own infrastructure.

Multi-provider

Claude, GPT, Gemini, DeepSeek, local Ollama, more.

How it works

The connection chain

LibreChat
   │  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 LibreChat?

The full step-by-step setup lives on a dedicated page. Verified against LibreChat's current docs.

Open setup instructions →
Example prompts

Copy-paste prompts that work today

Each trader scoped Sign in. First chat prompts OAuth for your CrossTrade account. Then ask anything.
FAQ

Common questions

Is LibreChat a good fit for team trading?

Yes — it's the cleanest self-hosted multi-user CrossTrade experience. Each LibreChat user authenticates against their own CrossTrade account via OAuth, so credentials stay isolated. MIT-licensed, Docker-deployable, multi-provider.

Do I really need a self-hosted ChatGPT clone like LibreChat?

Useful if you (a) want per-user CrossTrade credential isolation for a small team, (b) want to self-host the chat surface for privacy/compliance, or (c) want to mix multiple LLM providers under one UI. For solo trading, Claude Desktop or ChatGPT is simpler.

LibreChat vs Open WebUI vs AnythingLLM?

LibreChat for per-user OAuth (each user has their own MCP token). Open WebUI for Ollama-frontend simplicity + native MCP since v0.6.31 (credentials shared at admin level). AnythingLLM for RAG + agent hybrid (credentials shared). Pick by isolation needs.

Cost?

Free, MIT-licensed. You pay for hosting (a small VPS or container is plenty) plus the LLM providers your users choose. Multi-tenant by design — one deployment serves your whole team.

How does per-user OAuth work?

First time a user starts a chat that uses CrossTrade, LibreChat prompts them to authenticate via the standard browser OAuth flow. The token is stored per user, per server. Each user gets their own connection, their own scope, their own audit trail.

YAML edits don't take effect — fix?

librechat.yaml edits require a LibreChat restart (docker compose restart api or restart your process). MCP servers added via the UI live-reload without a restart.

Reverse proxy timeouts dropping the WebSocket?

Bump nginx/traefik timeouts to 300s+ for /api/mcp routes. Default proxy timeouts of 60s kill long-running streamable HTTP connections mid-stream.

Can each user set their own model?

Yes — LibreChat supports per-user model selection across providers (Claude, GPT, Gemini, DeepSeek, local Ollama). Pair with per-user MCP credentials and each trader is fully isolated.

Connect LibreChat to NinjaTrader 8 in 5 minutes

Free Sim101 walkthrough. Read-only first. Upgrade scope only when a real workflow needs it.