vibetrader-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@vibetrader-mcpcreate a bot that buys SPY on dips"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 options chains
Backtesting: Test strategies on historical data
Related MCP server: Alpaca MCP Server
Available Tools
All 30 are available over either endpoint below.
Tool | Description |
| 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 |
| Place a buy or sell order |
| Get recent trade history across all bots |
| Get trade history for a specific bot |
| Get current quote for a stock |
| Check if US stock markets are currently open |
| 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 |
Endpoints
The hosted server speaks both MCP HTTP transports:
URL | Speaks |
| Streamable HTTP — the current MCP transport. Use this one. It is also what the in-app setup at vibetrader.markets/settings gives you. |
| Either transport. A client that opens an SSE stream gets one (with its companion |
Both URLs expose the same 30 tools and the same authentication, so an existing
/sse setup keeps working as-is. Prefer /mcp for anything new: SSE is
deprecated upstream, and /sse is kept working for setups copied from older
versions of this README.
Setup for Claude Desktop
Get your API token from https://vibetrader.markets/settings
Add to your Claude Desktop config (
~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"vibetrader": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://vibetrader-mcp-289016366682.us-central1.run.app/mcp"]
}
}
}Clients that connect to a remote MCP URL directly (Cursor, Windsurf, and Claude Desktop's own remote-server support) can use the URL on its own:
{
"mcpServers": {
"vibetrader": {
"url": "https://vibetrader-mcp-289016366682.us-central1.run.app/mcp"
}
}
} /sse works too — see Endpoints — but /mcp is the one to
use for a new setup.
Send your token as a header. Against the hosted server this is how you authenticate — see the note below:
{
"mcpServers": {
"vibetrader": {
"url": "https://vibetrader-mcp-289016366682.us-central1.run.app/mcp",
"headers": { "Authorization": "Bearer vt_YOUR_TOKEN" }
}
}
}Restart Claude Desktop
Create bots:
"Create a trading bot that buys AAPL when RSI goes below 30"
A note on the authenticate tool
There is an authenticate tool, and over a local stdio setup
(python server.py stdio) it does what you would expect: hand it your token
once and the rest of the session is authenticated.
Over HTTP — which is every hosted setup above — use the Authorization
header instead. The header is resolved per request and stored nowhere, so it is
also the safer of the two: the server never holds your token at all.
Example Conversations
Create a momentum bot:
"Create a trading bot that buys AAPL when RSI crosses below 30 and sells when it crosses above 70"
Check your bots:
"Show me all my trading bots and their performance"
Backtest a strategy:
"Backtest a moving average crossover strategy on SPY for the last 6 months"
Options trading:
"Create an iron condor bot for SPY that enters when IV rank is above 50"
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-central1Security
Your API token is required for authentication
All requests are made over HTTPS
Tokens are resolved per request and never shared between users: over HTTP the
Authorization: Bearer vt_...header is read from your own request and stored nowhere at allPaper trading mode is default for safety
This server cannot be deployed
Maintenance
Related MCP Connectors
- CPZAIOAuthcom.cpz-lab.mcp
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 trading bots: generate strategies, backtest, deploy live to 10+ brokers. No coding required.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables 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.4MIT