VS Code
GitHub Copilot in VS Code can use tradefloor's local MCP server as a set of agent tools. VS Code starts the server as a subprocess over stdio, and the model gets 13 simulation and evaluation tools, such as evaluate_strategies and explain_price_move. None of them places orders, and the server needs no API key or environment variable.
Add the server
With uv installed, this command adds tradefloor to your VS Code user profile, so it is available in every workspace. uv fetches tradefloor when VS Code starts the server. The single quotes work in bash and zsh.
code --add-mcp '{"name":"tradefloor","command":"uvx","args":["--with","tradefloor[mcp]","tradefloor","mcp"]}'To add it to one workspace instead, create .vscode/mcp.json in the project. VS Code's format puts servers under servers:
{
"servers": {
"tradefloor": {
"type": "stdio",
"command": "uvx",
"args": ["--with", "tradefloor[mcp]", "tradefloor", "mcp"]
}
}
}VS Code also reads .mcp.json at the workspace root, which uses the mcpServers key that Claude Code and Cursor use. The MCP: Open User Configuration command opens the mcp.json in your user profile, which takes the same servers shape as above.
The command must be on VS Code's path or be a full path. If you installed the package with pip install "tradefloor[mcp]", use the full path to tradefloor-mcp in that environment and leave out args:
{
"servers": {
"tradefloor": {
"type": "stdio",
"command": "/path/to/venv/bin/tradefloor-mcp"
}
}
}Check it works
For a server in your user profile, VS Code shows a trust dialog the first time it starts, and it won't start the server unless you trust it. A server in .vscode/mcp.json starts without that dialog once you trust the workspace.
Open the Command Palette and run MCP: List Servers, then select tradefloor to start, stop or restart it, or choose Show Output to see its log.
In the Chat view, select Agent from the agent picker and click Configure Tools in the chat input. The tradefloor tools should be in the list. Then ask the agent to call describe_simulator. With the default chat.mcp.autostart setting, VS Code starts a server that has never run when you send a chat message. It may ask you to confirm the tool call. The result says what the simulator is, what it is measured to reproduce and what it can't do.