Skip to content
EdgeVaultDiscipline as a Service
  • Overview
  • Getting started
  • Terminal
  • Your pages
  • Tool guide
  • Scripts
  • Connect your AI
  • The desk
    • VAULTAGE
    • VOW
    • VIGIL
    • VISION
    • VITAL
    • VERSE
  • Account and security
  • FAQ
  • Terms of Service
  • Privacy Policy
  • Risk disclaimer
  • Licences

Connect your AI

Use the assistant you already have with EdgeVault's tools. It gets facts against the rules you wrote. It gives no advice and places no orders.

Before you start

  1. 1

    Open Profile, find Connect your AI and make a token. Copy it when it is shown, because it is not shown again.

  2. 2

    Switch on Alerts or Chart requests only if you want your assistant to ask for them. Reads are always on, and what a token may do is set when it is made.

  3. 3

    Give your assistant the address https://edgevault.ai/api/mcp and the token as a Bearer key, as in the section for your client below.

The first tools in the list below work without a token, at a lower limit. The rest read or set your own record and need one.

The connectors you add in one click in claude.ai and ChatGPT need a sign-in step that EdgeVault doesn't offer yet, so use one of the clients below.

Claude Desktop

Claude Desktop reaches a remote server through mcp-remote. Open Settings, Developer, Edit config, add this to claude_desktop_config.json and restart Claude. The token sits in env so the space in Bearer survives.

Claude Desktop configuration
{
  "mcpServers": {
    "edgevault": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://edgevault.ai/api/mcp", "--header", "Authorization:${EDGEVAULT_AUTH}"],
      "env": { "EDGEVAULT_AUTH": "Bearer <your token>" }
    }
  }
}

Claude Code

One command in a terminal adds it. Run /mcp inside Claude Code to check that it is connected.

Claude Code command
claude mcp add --transport http edgevault https://edgevault.ai/api/mcp --header "Authorization: Bearer <your token>"

Cursor

Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in one project, then open Settings, MCP and switch EdgeVault on.

Cursor configuration
{
  "mcpServers": {
    "edgevault": {
      "url": "https://edgevault.ai/api/mcp",
      "headers": { "Authorization": "Bearer <your token>" }
    }
  }
}

VS Code with Copilot

Add this to .vscode/mcp.json, or run MCP: Add Server from the command palette. VS Code asks for the token once and keeps it out of the file.

VS Code configuration
{
  "servers": {
    "edgevault": {
      "type": "http",
      "url": "https://edgevault.ai/api/mcp",
      "headers": { "Authorization": "Bearer ${input:edgevault-token}" }
    }
  },
  "inputs": [
    { "type": "promptString", "id": "edgevault-token", "description": "EdgeVault token", "password": true }
  ]
}

Gemini CLI

Add this to ~/.gemini/settings.json. httpUrl is the key Gemini CLI reads for a streamable HTTP server.

Gemini CLI configuration
{
  "mcpServers": {
    "edgevault": {
      "httpUrl": "https://edgevault.ai/api/mcp",
      "headers": { "Authorization": "Bearer <your token>" }
    }
  }
}

LM Studio

Open the Program tab, choose Install, Edit mcp.json, and add this. A model that supports tool calls can then use it, including a small local one.

LM Studio configuration
{
  "mcpServers": {
    "edgevault": {
      "url": "https://edgevault.ai/api/mcp",
      "headers": { "Authorization": "Bearer <your token>" }
    }
  }
}

Open WebUI

In a recent version, open Admin Settings, External Tools and add a tool server. Choose MCP (Streamable HTTP), enter https://edgevault.ai/api/mcp as the address, choose Bearer as the authentication and paste the token.

Grok and scripts

Any client that can call a remote MCP server sends the same two things: the address https://edgevault.ai/api/mcp and the header Authorization: Bearer your token. The token goes in the header, never in the address. A script can call the server directly. This call lists the tools.

A call from a script
curl https://edgevault.ai/api/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Authorization: Bearer <your token>" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

What the tools do

Each tool takes flat arguments, such as risk_percent or trigger_direction, and answers briefly unless asked for the full detail. A refusal says which argument was wrong and what to change.

size_position

No token needed
Works out the position size for a stop and a risk on the venue's own published rules. It returns the units, margin and leverage, the loss at the stop in dollars and R, the liquidation price and, with a target, the reward and the reward to risk. Facts only, never advice.

study_market_event

No token needed
How often an outcome followed a trigger day on Bybit's USDT perpetuals, from their daily candles over up to two years. It returns the definition, the events, hits and probability, and the caveats. It describes past behaviour and is never a forecast.

list_recent_events

No token needed
Lists the Bybit USDT perpetuals that closed up or down by a set percentage in the last few days, with the level a fall or rise of a set percent from the close would reach, such as 25% below it, Bybit's current price and whether that level has been hit. It places no orders.

get_discipline_summary

Token
How the trader kept to their own plan over the last week, month or 90 days. It counts trades that followed or broke the plan, sizing over the plan, moved stops and routine days logged, with the discipline count and the rules streak. Facts from their journal. A free account gets a few reads a day and Pro has no daily limit.

get_routine_today

Token
Whether the trader's routine is logged today and how many steps are ticked. Step names are the trader's own words, returned under untrusted_text.

check_trade

Token
Checks a proposed trade against the trader's own written rules and daily loss limit, in their numbers. It needs only the market and side, and says whether they are held now, how today's loss stands against the limit, and whether each rule is kept, close or broken. It reads only and places nothing. A free account gets a few checks a day and Pro has no daily limit.

list_alerts

Token
The trader's own alerts, indicator and price, as one plain line each with its alert_id and whether it is armed, fired or paused.

preview_alert

Token with Alerts
Works out an indicator alert on a moving average or the RSI and returns a preview_id. Nothing is created until confirm_alert is called with that preview_id, which works once and lasts 10 minutes.

confirm_alert

Token with Alerts
Applies what a preview_id holds, from preview_alert, preview_event_alerts or delete_alert. It creates the alert or alerts, or deletes the one shown. A preview_id works once and lasts 10 minutes.

delete_alert

Token with Alerts
Shows one of the trader's own alerts by its alert_id and returns a preview_id. The alert is deleted only when confirm_alert is called with that preview_id.

preview_event_alerts

Token with Alerts
Works out the price alerts that would be set at each recent event's outcome level on Bybit and returns a preview_id. Nothing is created until confirm_alert is called with it. It sets alerts only and places no orders.

get_chart_summary

Token
The trader's saved chart for one market and timeframe. It returns the indicators with their latest values, the drawings counted by type, the horizontal levels, the alerts and the last price. Setting detail to full returns every drawing's anchors and every indicator's values.

propose_chart_drawing

Token with Chart requests
Asks to draw a horizontal line, or a long or short position with its entry, stop and target, on the trader's chart. It shows on their open EdgeVault terminal and nothing is drawn until they approve it there.

propose_chart_indicator

Token with Chart requests
Asks to add or remove an indicator or a moving average on the trader's chart. It shows on their open EdgeVault terminal and nothing changes until they approve it there.

search_script_reference

Token
Returns a section of the reference for EdgeVault's chart script language, or the lines that match a word. With no arguments it lists the sections. It holds no account data.

check_script

Token
Checks the text of an EdgeVault chart script with the editor's own checker and reports each error with its line, column and what to change. The text is only checked, never run or saved.

What it will not do

  • EdgeVault gives facts measured against your own rules. It never gives advice, never signals and never places an order or moves money, and no tool for that exists.
  • An alert is set in two steps. The assistant asks for a preview, shows it to you, and only then confirms it with the preview's id. A preview works once and runs out after ten minutes.
  • A change to your chart is a request. It shows on your open EdgeVault terminal and nothing changes until you approve it there.
  • Words you wrote, such as a rule's name, a routine step or a label on a drawing, are passed to your assistant as quoted data under untrusted_text, so an instruction hidden in them is not read as an instruction.

What your assistant reads from EdgeVault goes to the company that runs it, under that company's terms. Make a token with only the scopes you need, and revoke it in Profile when you stop using it.

Older tool names

Tools you already use keep working under their old names for now. Each says in its description which tool replaces it, and the old names are removed in a later release.

  1. Documentation
  2. /Connect your AI

Updated 22 November 2026·3 min read

PreviousScripts
NextThe desk

A trading terminal built around your own rules.

© 2026 EdgeVault

Product

  • Terminal
  • Features
  • Archetype test
  • Docs
  • Membership

Learn

  • Getting started
  • FAQ

Trust

  • Venue accounts
  • Security
  • Known limitations

Legal

  • Privacy
  • Terms
  • Licences

Connect

  • X (opens in a new tab)
  • Join Vaultlist (opens in a new tab)

Trading can lose you everything you put in. Risk disclaimer