Skip to main content
Glama
Polmexbot MCP Server

Polmexbot MCP Server

Official
by PolmexBot

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
POLMEXBOT_TOKENNoAccount bearer token for live read-only or supervised approval-gated modes.
POLMEXBOT_SANDBOXNoSet to true to run the no-wallet in-memory sandbox with simulated pUSD and no network calls.
POLMEXBOT_BASE_URLNoPolmexbot API base URL. Use https://www.polmexbot.pro to target the mirror.https://www.polmexbot.xyz
POLMEXBOT_AUTONOMOUSNoSet to true for autonomous mode using a dedicated wallet key connected through MCP tools.
POLMEXBOT_APPROVAL_TOKENNoOwner-created approval secret required for supervised approval-gated control actions.
POLMEXBOT_ENABLE_CONTROLSNoSet to true to enable supervised approval-gated control tools.

Instructions

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

Use read-only tools first and establish wallet readiness before proposing changes. Polmexbot controls an existing strategy engine; no arbitrary buy/sell endpoint exists. Before apply_config or start_bot, show the owner the exact configuration diff and obtain the approval token directly. Never ask for a wallet private key. The MCP server uses only a bearer token. Stop disables new activity but does not liquidate positions. Never claim a fill without confirming it in state, trades, or logs.

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
get_server_infoA

Returns integration mode, documentation links, and whether control tools are enabled. No credentials required.

get_public_pricesA

Gets the current public BTC, ETH, SOL, XRP, and BNB price snapshot. No account credentials required.

get_accountA

Gets the authenticated account, current strategy configuration, wallet-link metadata, recent trades, and statistics. Private keys are redacted by the API.

get_balanceB

Gets pUSD, USDC.e, POL, open-position value, live bankroll, deployment, wallet-link warnings, and restrictions.

get_bot_stateA

Gets requested and actual engine state, freshness, open positions, recent trades, notices, and statistics.

get_tradesA

Gets up to 200 persisted resolved trades and all-time aggregate statistics.

get_logsB

Gets engine activity, skips, errors, and durable trade-result logs.

check_readinessA

Verifies wallet deployment, key/developer-address pairing, collateral, and trading readiness without submitting a transaction or starting the bot.

get_positionsA

Gets open positions from the current engine state. An empty array does not prove the wallet is flat if the engine state is stale; inspect get_bot_state and Polymarket before reporting.

preview_configA

Read-only. Merges a partial strategy patch with the current configuration, validates keys, ranges, affordability, and cross-field rules, and returns the exact diff plus a previewHash required for apply_config or start_bot. No settings are saved.

prepare_eoa_walletA

For an account connected with walletMode=eoa. Reads pUSD, POL, estimated approval gas, and the pUSD allowance to Polymarket Exchange V2. approve=false sends no transaction. approve=true explicitly broadcasts a capped pUSD approval from the user EOA; it never wraps, swaps, or starts the bot.

apply_configA

Saves real strategy configuration. First call preview_config and show the owner the exact diff. Requires the owner-provided approvalToken and the unchanged previewHash.

start_botA

Starts real Polymarket strategy execution after a fresh configuration preview, readiness check, and owner approval. There is no arbitrary buy/sell tool. Requires approvalToken and a previewHash from preview_config with an empty patch.

stop_botA

Stops new strategy activity without requiring an approval token. This does not sell existing positions or guarantee immediate cancellation of already-submitted activity.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 14 tools

Disambiguation4/5

Most tools have clear distinct purposes, but the read-side cluster (get_account, get_balance, get_bot_state, get_trades, get_positions) overlaps heavily, since several return positions, trades, and statistics from different sources. The descriptions do explain the difference (persisted trades vs live engine state vs staleness caveat), so an agent can reason it out, but it takes careful reading.

Naming Consistency5/5

All 14 tools use snake_case verb-first names (get_*, check_*, start_*, stop_*, preview_*, prepare_*, apply_*), forming a predictable pattern. There are no mixed conventions or cryptic abbreviations beyond the standard 'eoa' qualifier.

Tool Count5/5

At 14 tools the surface is well within the ideal range and each tool maps to a real operation (read state, validate config, mutate config, lifecycle control, wallet prep). Nothing appears to be filler, and the read tools, while numerous, correspond to genuinely different data sources.

Completeness3/5

The control loop is covered (preview -> apply -> readiness -> start/stop), but there is no path to exit or manage existing positions, no order cancellation or inspection, and stop_bot explicitly does not sell. The absence of any sell/close tool is a deliberate safety design, yet it leaves a notable dead end for an agent asked to unwind exposure.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues