# vike-cli

> vike-cli is an open-source MCP server for developer tools. MCP server that backtests and gates live orders for Rust trading strategies. It is available on CLI, Self-hosted, Linux, Windows and macOS.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Self-hosted, Linux, Windows, macOS
- **Website:** https://vike.io/docs/ai/trader/setup
- **Repository:** https://github.com/vike-io/vike-trader
- **MCP Registry name:** io.github.vike-io/vike-trader
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

The README describes vike as a Rust trading platform with a live execution core, a backtest harness and bridges to fourteen venues. This MCP server, vike-cli mcp, is the piece that lets an AI client drive that platform over stdio. It exposes 17 tools that author and backtest Rhai strategies, read a live trading node, and place orders, with writes held behind a two-call preview gate that requires confirmation and a valid preview token.

The server can be narrowed at launch with a profile: full, read-only, or offline. The read-only profile removes the order-write tools from the advertised list entirely, and the offline profile runs only the four authoring tools that open no sockets. Optional flags point it at a datahub for backtests and a trading node for snapshots and orders, and an optional trace flag writes one JSONL record per tool call.

The page is aimed at developers and quantitative traders who already run the vike daemons and want an agent to help with strategy work. Keys for reading and writing a node are shared HMAC secrets with the operator's own daemon, and the documentation notes that the node protocol is unencrypted and should be reached over an SSH tunnel when remote.

## Features

- **Strategy authoring tools:** Offline tools validate strategies, discover parameters, and list templates and indicators without any network access.
- **Backtest and sweep tools:** Tools run backtests, parameter sweeps and walk-forward tests against a running datahub.
- **Two-call order preview gate:** Order writes require confirm set to true and a valid preview token, so a preview alone never places an order.
- **Scoped tool profiles:** The full, read-only and offline profiles control which tools are served, and withheld tools are absent from the tool list.
- **Per-call trace logging:** An optional trace flag appends one JSONL record per tool call to a project or named directory.

## Good for

- Asking an AI assistant to validate and backtest a Rhai strategy against stored bars
- Letting an agent read a live trading node's snapshot without any ability to place orders
- Running parameter sweeps and walk-forward tests from an MCP-capable editor
- Reviewing every tool call an agent made through the trace log

## Tools

- `validate_strategy`: Offline check of a strategy.
- `discover_params`: Offline discovery of strategy parameters.
- `list_templates`: Offline list of strategy templates.
- `list_indicators`: Offline list of indicators.
- `node_snapshot`: Reads a live trading node snapshot.

## FAQ

### Does the server work without a trading node?

Yes. With no flags, the four offline authoring tools still work, and the README suggests a flag-less entry as a first step.

### How can I stop an agent from placing orders?

Launch the server with the read-only profile. The order-write tools are then absent from tools/list, and only someone editing the launch configuration can widen the scope.

### Is there an account or subscription required?

The setup page says no Vike account is involved and nothing is metered, since the server talks to services the user runs.

### Is the node connection encrypted?

No. The page says the node protocol is not encrypted and that the HMAC authenticates the connection only, so remote nodes should be reached through an SSH tunnel or VPN.

### What are the best alternatives to vike-cli?

The closest alternatives to vike-cli are kdraigo, Broadside, Crimson Crab MCP Template, NEPHIS MCP Server and tradefloor.

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.

## Alternatives

- [kdraigo](https://ai-powered.com/mcp/kdraigo): kdraigo is a freemium MCP server for finance and payments.
- [Broadside](https://ai-powered.com/mcp/broadside): Broadside is an open-source MCP server for developer tools.
- [Crimson Crab MCP Template](https://ai-powered.com/mcp/crimson-crab-mcp-template): Crimson Crab MCP Template is an open-source MCP server for ai models and llm tooling.
- [NEPHIS MCP Server](https://ai-powered.com/mcp/nephis-mcp-server): NEPHIS MCP Server is a freemium MCP server for developer tools.
- [tradefloor](https://ai-powered.com/mcp/tradefloor): tradefloor is an open-source MCP server for finance and payments.
- [Toolkien](https://ai-powered.com/mcp/toolkien): Toolkien is an open-source MCP server for ai models and llm tooling.
- [Sharpe Terminal](https://ai-powered.com/mcp/sharpe-terminal): Sharpe Terminal is an MCP server for developer tools.
- [VPS MCP & Digital Secretary](https://ai-powered.com/mcp/vps-mcp-and-digital-secretary): VPS MCP & Digital Secretary is an open-source MCP server for cloud and infrastructure.

---
Source: https://ai-powered.com/mcp/vike-cli
