Skip to main content
Glama
tivojn

ibkr-mcp-guard

by tivojn

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PLUGIN_DATANoData directory (set by plugin hosts). Otherwise $XDG_CONFIG_HOME/ibkr-mcp-guard or ~/.config/ibkr-mcp-guard.
CLAUDE_PLUGIN_DATANoData directory (set by plugin hosts). Otherwise $XDG_CONFIG_HOME/ibkr-mcp-guard or ~/.config/ibkr-mcp-guard.
IBKR_MCP_GUARD_PAPERNoSet to 1 to enable paper trading mode: order submission to IBKR paper accounts only.
IBKR_MCP_GUARD_STORENoSet to file to use the 0600 file instead of the macOS Keychain.
IBKR_MCP_GUARD_READONLYNoSet to 1 to hide and refuse write and draft tools; reads only. Also turns paper mode off.
IBKR_MCP_GUARD_UPSTREAMNoTesting only: a different upstream MCP URL. A warning is logged to stderr.
IBKR_MCP_GUARD_NO_BROWSERNoSet to 1 to not open a browser; the sign-in result includes the link to open yourself (useful over SSH).
IBKR_MCP_GUARD_PAPER_NO_CONFIRMNoSet to 1 in paper mode to skip the guard's Approve/Cancel prompt before each paper order (for automated strategy runs). Has no effect outside paper mode.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
ibkr_sign_inA

Start signing in to Interactive Brokers in the user's browser (read + order-draft access only; order submission is never requested). Returns immediately; the user approves in the browser and then asks again.

ibkr_statusA

Show whether the user is signed in to Interactive Brokers, the account ids, granted scopes, token expiry, and confirm that order submission was not granted.

ibkr_sign_outA

Sign out of Interactive Brokers: revoke the tokens at IBKR and delete them from this computer.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.4/5.0

Scored across 3 tools

Disambiguation5/5

The three tools map cleanly to distinct authentication lifecycle actions: sign in, inspect status, and sign out. There is no overlap in purpose, and the descriptions make the boundaries clear.

Naming Consistency5/5

All tools use the same predictable prefix and verb pattern: ibkr_sign_in, ibkr_status, ibkr_sign_out. The convention is consistent and readable.

Tool Count5/5

For an authentication/guard server, three tools are sufficient and each earns its place. There are no redundant or filler tools.

Completeness5/5

The server covers the full auth lifecycle: sign in, check current status and scopes, and sign out/revoke tokens. No obvious operations are missing for its stated purpose as a guard around IBKR access.

Maintenance

ActivityMaintained
ResponsivenessNo issues