Skip to main content

What this is

EdgeBook runs a remote MCP (Model Context Protocol) server. Any MCP-capable AI client can connect to it, sign in as you, and then read and write your journal on your behalf. There is no separate API key. A typical session looks like this. You paste rough notes, or describe a chart screenshot, and ask the agent to log the trade. It calls get_trading_context to read your existing symbols, setups, strategies, and statuses, fills in the fields it can infer, and asks about anything it cannot. Once you answer, it calls create_trade and the entry appears in your journal.

Endpoint

mcp.edgebook.io is not live yet. Until it is, connect to https://edgebook-mcp.alexdubelko.workers.dev/mcp. Connections made to that URL keep working after the custom domain goes live, so there is nothing to redo later.
The transport is Streamable HTTP.

Authentication

Authentication is OAuth 2.1. When your client first connects, it opens an EdgeBook sign-in page where you enter your password or request a one-time email code, followed by an approval screen listing the permissions the client asked for. Approve it once and the client stores the grant. EdgeBook never issues an API key for this integration. A client that requests no specific scopes gets read, write, and image access. Archive access is never granted by default. Sessions refresh in the background. If a tool replies Session expired, reconnect the server in your client and sign in again.

Set up your client

On Free, Pro, and Max, open Customize > Connectors > Add custom connector and paste the endpoint. Free accounts are limited to one custom connector.On Team and Enterprise, an Owner adds it for the whole organization under Organization settings > Connectors.To skip the menus, open this link and confirm the dialog:
Then run /mcp inside Claude Code, select EdgeBook, and complete the browser sign-in.Add --scope user to the command to make EdgeBook available in every project instead of only the current one.
Custom MCP servers sit behind developer mode, and what you get depends on your plan. Business, Enterprise, and Edu accounts get the full read and write tool set. Pro accounts can connect but only see read-only tools. Free and Plus accounts cannot add custom MCP servers today.On Business and Enterprise, turn on developer mode under Settings > Apps > Advanced settings. On other eligible plans, it is under Settings > Security and login > Developer mode. Add the endpoint as a new connector and sign in when prompted.
Open Settings > MCP > Add server, choose the HTTP type, paste the endpoint, and sign in when the OAuth window appears.Or use the install deeplink:
The config value is the base64 encoding of {"url":"https://edgebook-mcp.alexdubelko.workers.dev/mcp"}.
Create .vscode/mcp.json in your workspace:
Start the server from the editor and approve the OAuth prompt. Copilot’s agent mode then lists the EdgeBook tools.
Add EdgeBook as a custom MCP server in Windsurf’s MCP settings, choose the HTTP transport, and paste the endpoint. Windsurf opens the EdgeBook sign-in page on the first tool call.
Remote connectors are available on Pro, Max, and Enterprise. Add a custom connector, paste the endpoint, and complete the sign-in and approval screens.
Add the server to your Gemini CLI settings file:
Restart the CLI and complete the browser sign-in. Run /mcp to check that EdgeBook is connected.
Both can act as MCP clients. Add EdgeBook as a remote MCP server, choose Streamable HTTP as the transport, paste the endpoint, and finish OAuth in the popup. The EdgeBook tools then appear as steps you can call from a Zap or a workflow node.
A client works with EdgeBook if it supports Streamable HTTP and OAuth 2.1 with dynamic client registration. No manual client ID or secret is needed.Discovery metadata is published at:

What an exchange looks like

You: took NVDA long off the 5 min at 870.20, stopped at 865, out at 895 on the daily resistance, EMA pullback setup, 200 shares Agent: I’ll create a long NVDA trade: entry 870.20, exit 895, stop 865, 200 shares, 5m timeframe, linked to your EMA Pullback setup. What date should I put on it? You: yesterday Agent: Done. The trade is in your journal under yesterday’s date with the EMA Pullback setup attached. If you want the chart on it, open this link and drop or paste the screenshot: https://edgebook-mcp…/upload/… (it works once and expires in 15 minutes).

Adding chart screenshots

AI chat apps don’t pass the images you attach in a conversation on to connected tools. So when you want a screenshot on a trade, the agent sends you a single-use upload link instead. Open it, then drop, paste, or choose the image. The link works once and expires after 15 minutes. Other ways to add an image:
  • A TradingView snapshot link. Paste the “copy link” snapshot URL (https://www.tradingview.com/x/…/) and the agent saves the image itself.
  • Any public image link. Paste a direct https:// link to a PNG, JPEG, WebP, or GIF up to 5 MB.
  • ChatGPT. Files you upload in ChatGPT reach the tool directly.
  • Claude Code and other agents that can run commands. They can upload a file from your computer to the upload link with curl.
If the trade doesn’t exist yet, the agent can upload the screenshot first, read the symbol and timeframe from it, and attach it when it saves the trade.

Comments and shared trades

The agent can read and write the same discussions you see in EdgeBook:
  • Comments on trades, setups, and saved views, including replies in a thread.
  • Items other people shared with you. The agent can open a shared trade or setup and comment on it if you’re a commenter.
  • Your notifications: new comments on your items, and shares you received.
Comments the agent writes on your own items are private notes by default, visible only to you. Ask for a shared comment when you want the people the item is shared with to see it; shared comments notify them. On someone else’s item, every comment is shared. Other people’s comments come back labelled with who wrote them, and the agent is told to treat them as information, not instructions.

Tools

Writing notes an agent can use

Give the agent the symbol, the direction, the entry, the exit, the stop, the date, and the chart timeframe. Everything else it can look up or ask about. State the timeframe as a number: 5m, 15m, 1H, 4H, or “the daily chart”. Words like scalp and swing describe your intent rather than a chart, so the agent will stop and ask which timeframe you were reading.
Use the setup and strategy names you already have in EdgeBook. The agent reads them through get_trading_context, so an exact name links the trade to your playbook instead of creating a near-duplicate.

Troubleshooting

Privacy and terms

Every tool call runs as the EdgeBook user who signed in, with the same permissions you have in the app. An agent can read and change only what you can read and change yourself. For items other people shared with you, that includes their shared fields and comments, and nothing else from their journal. An upload link carries a one-time secret after the # in the address. Anyone who has the link can add one image to the trade it was made for until it’s used or expires, so don’t share it. EdgeBook does not receive your AI client’s model credentials or API keys. The only thing exchanged is the OAuth grant you approved. Read the privacy policy and the terms of service.