Skip to content

MCP server setup ​

For what MCP is and how it fits your workflow, read the Introduction first. This page covers prerequisites, environment variables, logs, how to hook up your AI tool at a high level (with links to Connect in Codex, Connect in Claude Code, Connect in Cursor, Connect in VS Code, and Connect in Zed), and safety. After MCP is running, configure your assistant with MCP agent rules so it follows Jesse’s MCP workflow automatically.

Before you start ​

  • Jesse must be running in your project so the dashboard and API are alive. MCP is an add-on to that, not a separate cloud service.
  • By default the MCP service uses a dedicated port (commonly 9002 unless you change it). If something else on your machine already uses that port, set a different one in .envβ€”see Environment variables for MCP below for the variable name, default, and a copy-pastable example.

When MCP starts successfully, your terminal usually prints a clear line that includes the address you should give to your AI tool.

Environment variables for MCP ​

Add these to your project .env file (alongside your other Jesse settings). Restart Jesse after you change them so the MCP process picks up new values.

VariableRequired for MCP?DefaultWhat it does
MCP_PORTNo9002TCP port for the local MCP HTTP server. Set a different port if something else on your machine already uses 9002.
MCP_LOG_IN_TERMINALNoon (true)Detailed MCP log lines appear in the same terminal where you started Jesse. Set to false if you want a quieter terminal.

Example .env fragment (use your real dashboard password; uncomment optional lines only when you need them):

sh
# Optional β€” omit both to use defaults (port 9002, MCP logs enabled)
# MCP_PORT=9002
# MCP_LOG_IN_TERMINAL=true

With default settings, the URL you give your assistant is http://localhost:9002/mcp. If you set MCP_PORT, use that port in the URL instead.

The MCP server binds to 0.0.0.0, matching Jesse's dashboard server. This works with Docker port publishing and local-network access when your machine and firewall allow it.

For Docker access from outside the container, make sure the Docker compose file publishes 9002:9002 or your chosen MCP port. For access from another machine on your LAN, use the Docker host machine's LAN IP address in your assistant instead of localhost.

Hiding MCP logs in the terminal ​

By default, detailed MCP logs are shown in your Jesse terminal. If you prefer a quieter terminal once your connection is stable, set MCP_LOG_IN_TERMINAL to false in your .env file and restart Jesse.

Connecting an assistant ​

Exact menus change as products update, but the Jesse side is always: start Jesse, confirm the terminal shows an MCP URL ending in /mcp, then register that URL in your editor or assistant under its MCP / tools settings.

When Jesse starts successfully, your terminal will look like this:

     β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
     β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•”β•β•β•β•β•
     β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
β–ˆβ–ˆ   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•  β•šβ•β•β•β•β–ˆβ–ˆβ•‘β•šβ•β•β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•
β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
 β•šβ•β•β•β•β• β•šβ•β•β•β•β•β•β•β•šβ•β•β•β•β•β•β•β•šβ•β•β•β•β•β•β•β•šβ•β•β•β•β•β•β•


  Jesse v1.13.8  Β·  Live Plugin v2.1.2

Checking for new database migrations...

Starting Python Language Server...
LSP WS started at ws://localhost:9002/lsp

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  ⬑ Dashboard is available at http://localhost:9001  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  βœ“ MCP Server is running at http://localhost:9002/mcp  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

INFO:     Started server process [89370]
INFO:     Waiting for application startup.
INFO:     Application startup complete.

The MCP URL to use is the one printed in the second box β€” http://localhost:9002/mcp by default.

  1. Open your tool’s settings (or MCP server list) and find where MCP servers are configured.
  2. Add a server using the address Jesse printed (same machine as Jesse unless you deliberately use another host).
  3. Save, then restart the tool if it does not pick up the new server right away.

Step-by-step for common tools:

Same machine, same network story

If your assistant runs on Windows and Jesse runs inside WSL (or the other way around), β€œlocalhost” can mean different things on each side. If connection errors appear, use the WSL tips on the Cursor or VS Code page above, or run Jesse and the assistant in the same environment so they share one loopback network.

Troubleshooting ​

If something fails to connect, confirm Jesse is running, confirm the printed MCP address matches what you entered, then use your AI tool’s MCP logs or the Showing MCP logs in the terminal section above to narrow it downβ€”most issues are address, port, or β€œJesse not running yet.”

We do NOT guarantee profitable trading results in anyways. USE THE SOFTWARE AT YOUR OWN RISK. THE AUTHORS AND ALL AFFILIATES ASSUME NO RESPONSIBILITY FOR YOUR TRADING RESULTS. Do not risk money which you are afraid to lose. There might be bugs in the code - this software DOES NOT come with ANY warranty. All investments carry risk! Past performance is no guarantee of future results! Be aware of overfitting!