Skip to content

Configuration

There are two types of configuration that you'll want to change.

The first one contains your project's sensitive credentials such as passwords, exchange keys, etc. And the second type is the settings of the application itself which are accessible from the dashboard.

Let's take a look at both:

Environment Variables

These config values are also called environment variables. They are stored in a file called .env inside your project. Here are the default values that ship with every project:

sh
PASSWORD=test
APP_PORT=9000
LSP_PORT=9001
MCP_PORT=9002
MCP_LOG_IN_TERMINAL=true

# If not using docker, you probably want to set this to "localhost"
POSTGRES_HOST=postgres
# POSTGRES_HOST=localhost
POSTGRES_NAME=jesse_db
POSTGRES_PORT=5432
POSTGRES_USERNAME=jesse_user
POSTGRES_PASSWORD=password

# If not using docker, you probably want to set this to "localhost"
# REDIS_HOST=localhost
REDIS_HOST=redis
REDIS_PORT=6379
REDIS_PASSWORD=

# Enter the API token which you created at https://jesse.trade/user/api-tokens:
LICENSE_API_TOKEN=

It is generally a good idea to stop the application before modifying your .env file and start it again after you've made the changes.

AI assistants (MCP)

Jesse can expose an MCP connection so AI coding assistants (such as Cursor) can work with your project through Jesse in a controlled way. You need a PASSWORD in .env (already required for Jesse) so the assistant channel can authenticate like the dashboard does.

Optional MCP_PORT (default 9002) and MCP_LOG_IN_TERMINAL (verbose MCP logs in the Jesse terminal) are documented with defaults and a copy-pastable .env example on MCP server setup so you do not need to hunt through this page for MCP-only values. The MCP server binds to 0.0.0.0, matching Jesse's dashboard server.

For a plain-language overview of what MCP is and how it helps your Jesse workflow, see the MCP Introduction page.

Application Settings

At the left-bottom corner of the sidebar, you'll see a gear icon. Click on it and you'll see a list of settings like this:

settings-optimization

Go ahead change it as you like. Changes are automatically saved which is why there's no "Save" button.

WARNING

Changing the settings will not affect running sessions. If you have one, stop and start it again for the changes to take affect.

Note: you do NOT need to stop and start Jesse itself after changing these settings.

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!