vibetrader-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
VibeTrader MCP Server
A Model Context Protocol (MCP) server that connects AI assistants like Claude Desktop, Cursor, and Windsurf to VibeTrader's trading platform.
Features
Create Bots: Create AI-powered trading bots using natural language
Manage Bots: Start, pause, delete, and monitor your bots
Portfolio: View positions and account balance
Market Data: Get quotes and the market clock
Signal Mode: Bots that tell you what to trade at any brokerage, including ones VibeTrader can't trade such as Robinhood, and track the fills you report back
Backtesting: Test strategies on historical data
Related MCP server: Alpaca MCP Server
Available Tools
37 tools are available over either endpoint below. authenticate exists only over local stdio — hosted clients sign in instead (see Connect).
Tool | Description |
| (local stdio only) Authenticate with your API key from vibetrader.markets/settings |
| Create a new trading bot using natural language |
| List all your trading bots |
| Search for bots by name |
| Get details of a specific bot |
| Update a bot's name or status |
| Refine a bot's strategy using natural language |
| Start a paused bot |
| Pause a running bot |
| Delete a bot |
| Start all paused bots at once |
| Pause all running bots at once |
| Delete ALL bots (requires |
| Get the full strategy configuration for a bot |
| Get a plain English explanation of a bot's strategy |
| Get aggregate statistics across your bots |
| Get daily trading statistics for a bot |
| Get portfolio positions and balance |
| Get current open positions with unrealized P&L |
| Get account balance, buying power, and key metrics |
| Close a position by symbol (Alpaca account) |
| Place a buy or sell order (Alpaca account; a retry is never placed twice) |
| Get recent trade history across all bots |
| Get trade history for a specific bot |
| Get current quote for a stock |
| List every technical indicator bots can use, with parameters and outputs (no API key needed) |
| Check if US stock markets are currently open |
| Quick backtest of a bot, not saved, with the buy-and-hold comparison (window fits the strategy: 45 days to a year) |
| Run a historical backtest for a bot's current strategy |
| List all backtests for a bot |
| Get detailed results for a specific backtest |
| Run a quick covered call income strategy backtest |
| Switch a bot between placing its own trades and sending signals |
| Signals waiting for you to place, across your signal bots |
| Record what you did with a stock or crypto signal (bought, sold, skip, keep, undo) |
| Record what you did with an option signal |
| Record what you did with a short signal |
| A signal bot's modes, books, results and recent signals |
Endpoints
The hosted server speaks both MCP HTTP transports:
URL | Speaks |
| Streamable HTTP — the current MCP transport. Use this one. |
| Either transport. A client that opens an SSE stream gets one (with its companion |
The original https://vibetrader-mcp-289016366682.us-central1.run.app/mcp and
/sse URLs keep working, with sign-in too. Prefer /mcp for anything new: SSE
is deprecated upstream.
Connect
Claude (claude.ai, Desktop, mobile) or ChatGPT: add a custom connector with
https://mcp.vibetrader.markets/mcp and click Connect. You sign in to
VibeTrader and choose what the assistant may do. No key to copy.
Claude Code:
claude mcp add --transport http vibetrader https://mcp.vibetrader.markets/mcpmcp-remote (for clients that only run local servers) signs in the same way:
{
"mcpServers": {
"vibetrader": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.vibetrader.markets/mcp"]
}
}
}Clients that send a key (Cursor, Windsurf, OpenClaw, scripts): create a key at https://vibetrader.markets/settings and send it as a header:
{
"mcpServers": {
"vibetrader": {
"url": "https://mcp.vibetrader.markets/mcp",
"headers": { "Authorization": "Bearer vt_YOUR_KEY" }
}
}
}Permissions
Every connection — and every key — carries what the user allowed:
Permission | Covers |
See (always) | bots, portfolio, trades, signals, backtests |
Manage bots and signals | create, edit, start, pause and delete paper bots and signal bots; record trades made for a signal |
Place orders and run live bots |
|
The VibeTrader API enforces them on every request. A tool called outside them fails with a message saying how to allow it. Keys can instead have full API access for scripts (everything but account settings). Users disconnect an app in Settings → Connected apps.
A request without a token
Over HTTP every request needs Authorization: Bearer ... — a sign-in token or a
vt_ key. Without one the server answers 401 with a WWW-Authenticate header
pointing at /.well-known/oauth-protected-resource/mcp, which names
https://api.vibetrader.markets as the sign-in server; that is what makes an
assistant show Connect. Pasting a key into chat (the old authenticate step)
is gone over HTTP; it remains for local stdio (python server.py stdio).
Signal mode: trade at any brokerage
place_order and close_position only reach your VibeTrader Alpaca account. For
money anywhere else, put a bot in signal mode. It keeps watching the market and
deciding, but sends you each entry and exit instead of trading:
set_signal_mode(bot_id, follow_account="manual")(pause the bot first)list_open_signals(): what to buy or sell, how much, and near what pricePlace the order with that brokerage's own tools. With Robinhood's MCP connected in the same assistant, the assistant can do this step too.
report_signal(bot_id, decision_id, "bought", qty, price)with the real fill, so the bot tracks your actual shares and results and sends the exits.
Signals also arrive by push, email or webhook, set up in the app.
Development
# Install dependencies
pip install -r requirements.txt
# Run locally (HTTP mode — serves both /mcp and /sse on :8080,
# the same app the deployment runs)
python server.py
# ...or exactly as the container does
uvicorn server:app --host 0.0.0.0 --port 8080
# Run in STDIO mode (for a local Claude Desktop install)
python server.py stdioThen point a client at http://localhost:8080/mcp or http://localhost:8080/sse.
Deployment
Deployed on Google Cloud Run at mcp.vibetrader.markets
gcloud run deploy vibetrader-mcp --source . --region us-central1 --max-instances=1Keep --max-instances=1: place_order's retry memory lives in the process.
Security
Every HTTP request needs a sign-in token or a key, read from that request's own
Authorizationheader and stored nowhere — never shared between usersSign-in is OAuth 2.1 with PKCE against VibeTrader's API; tokens last an hour, refresh tokens rotate, and disconnecting an app ends its access immediately
What a connection may do is enforced by the API, not just this server
All requests are made over HTTPS
Paper trading mode is default for safety
Every tool declares MCP annotations, so your client can run read-only tools without asking and confirm the ones that trade, start bots or delete
place_ordergives the same order the same order id while retries keep coming within two minutes of the last try, so retrying a call (say, after a timeout) never places a second order. Passidempotency_keyto hold the id for as long as you like
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Build, backtest, and deploy quantitative trading strategies from your AI agent.
Automate trading on your own Alpaca account - build, backtest and run strategies via your AI.
Unified financial infrastructure connecting AI agents directly to trade live/demo brokerage accounts, Web3 non-custodial wallets, real-time market data across equities, ETFs, crypto, forex, options, DeFi swaps, and prediction markets, institutional research feeds, and algorithmic strategy backtesters.
AI agents backtest, paper trade and live trade via your broker. Free to connect; OAuth.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to execute stock trading operations with built-in risk controls and human approval workflows. Supports paper trading simulation, real brokerage integration (Alpaca, Tradier), backtesting, sentiment analysis, and portfolio management while maintaining strict separation between AI intelligence and trade execution.MIT
- AlicenseNot gradedqualityCmaintenanceEnables natural language trading operations through AI assistants using Alpaca's Trading API. Supports stocks, options, crypto trading, portfolio management, and real-time market data access.MIT
- AlicenseNot gradedqualityDmaintenanceEnables natural language trading operations for stocks, options, crypto, and portfolio management via Alpaca's Trading API through AI assistants.MIT

Rozkoduj MCPofficial
AlicenseAqualityAmaintenanceProvides AI assistants with market screening, analysis, and scoring across stocks, crypto, and forex, enabling natural language queries for trading insights.415 PyPIMIT