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.
| Variable | Required for MCP? | Default | What it does |
|---|---|---|---|
MCP_PORT | No | 9002 | TCP port for the local MCP HTTP server. Set a different port if something else on your machine already uses 9002. |
MCP_LOG_IN_TERMINAL | No | on (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):
# Optional β omit both to use defaults (port 9002, MCP logs enabled)
# MCP_PORT=9002
# MCP_LOG_IN_TERMINAL=trueWith 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.
- Open your toolβs settings (or MCP server list) and find where MCP servers are configured.
- Add a server using the address Jesse printed (same machine as Jesse unless you deliberately use another host).
- Save, then restart the tool if it does not pick up the new server right away.
Step-by-step for common tools:
- Connect in Codex β Codex custom MCP settings, Streamable HTTP, testing the connection.
- Connect in Claude Code β Claude Code CLI command for adding Jesse as an HTTP MCP server.
- Connect in Cursor β Cursor settings, official docs, WSL note.
- Connect in VS Code β GitHub Copilot MCP, Microsoftβs VS Code guide, WSL note.
- Connect in Zed β Zed custom MCP server, Remote setup, local fallback.
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.β
