CPZAI

by CPZ-Lab

291 downloads
Not rated
GitHub

About

CPZAI MCP server. Build, backtest, and deploy quantitative trading strategies from your AI agent. 29 tools: list_strategies, get_strategy, create_strategy, update_strategy, get_backtest_results, list_orders, place_order, list_positions, sync_portfolio, plus dev-time tools. Multi-

Details

Author
CPZ-Lab
Downloads
291
Categories
Finance

- 18 tools covering strategy management, backtesting, trading, market data, and risk.
- Paper‑first safety: live trading requires explicit per‑strategy promotion on the platform.
- Per‑request API key validation; every tool call re‑authenticates against the platform.
- User‑scoped data visibility; tools only see data owned by the authenticated key.
- Open‑source server (MIT) at github.com/CPZ-Lab/cpzai-mcp-server.
- Free to try at ai.cpz-lab.com.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name CPZAI
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

1. Create an API key at ai.cpz-lab.com/settings/api-keys.
2. Copy the server configuration into your MCP client (e.g., Claude Desktop, Cursor).
3. Ask your agent a command like “List my strategies and run a 1‑year backtest on the top 3.”

The server validates every tool call individually via the X-CPZ-Key header, with no long‑lived sessions.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "cpzai": {
            "cpzai": {
                "url": "https://mcp.cpz-lab.com/mcp",
                "headers": {
                    "X-CPZ-Key": "YOUR_KEY",
                    "X-CPZ-Secret": "YOUR_SECRET"
                }
            }
        }
    }
}

McpServers

{
    "cpzai": {
        "url": "https://mcp.cpz-lab.com/mcp",
        "headers": {
            "X-CPZ-Key": "YOUR_KEY",
            "X-CPZ-Secret": "YOUR_SECRET"
        }
    }
}

What it does

CPZAI MCP gives any AI agent (Claude, Cursor, GPT, custom) read/write access to a quantitative trading platform. Build strategies in natural language, run backtests, manage portfolios, route orders to Alpaca / Interactive Brokers / FIX, and compute risk — all from your agent.

Why it's safe

- Paper-only by default. Live trading on a strategy requires explicit per-strategy promotion in the platform, not from the agent. - Per-request API key validation. Every tool call re-validates your X-CPZ-Key against the platform. No long-lived sessions. - User-scoped data. Every tool only sees data owned by the authenticated key. - Open source. The full server code is at github.com/CPZ-Lab/cpzai-mcp-server (MIT). Audit before you connect.

18 tools

Strategieslist_strategies, get_strategy, create_strategy, update_strategy Backtestsget_backtest_results Tradinglist_orders, place_order, list_positions, sync_portfolio, list_accounts Market dataget_market_data Riskcompute_risk, list_risk_snapshots Executionexecute_strategy Webhookslist_webhooks, create_webhook, delete_webhook Userget_profile

Get started

1. Create an API key at ai.cpz-lab.com/settings/api-keys 2. Paste the server config above into your MCP client 3. Ask your agent: "List my strategies and run a 1-year backtest on the top 3" Free to try at ai.cpz-lab.com.
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.