Alpha MCP
Provides native Polymarket gamma discovery, CLOB trading, gasless relayer, and managed real-time WebSockets within Hermes via MCP.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Alpha MCPshow me trending events on Polymarket"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Alpha MCP
Make Polymarket fully native inside Hermes, OpenClaw, Claude Desktop, Cursor, and other agent harnesses.
Full Gamma discovery + CLOB trading + gasless relayer + managed real-time WebSockets (Market/User/Sports) + paper trading simulation + strategy cookbooks. 100+ high-level tools. Zero static long-form docs in the repo — everything is delivered live through callable tools.
Installation (recommended for agents)
# Core (recommended for most users — CLOB trading + most gasless features)
pip install git+https://github.com/Ghost-Network666/alpha-mcp.git
# With advanced gasless/relayer features (Safe deployment, low-level batches)
pip install "git+https://github.com/Ghost-Network666/alpha-mcp.git[gasless]"
# Development
git clone https://github.com/Ghost-Network666/alpha-mcp.git
cd alpha-mcp
pip install -e ".[gasless]"Hermes Setup (primary target)
Add this to ~/.hermes/config.yaml (use absolute paths and the official variable names):
mcp_servers:
polymarket:
command: python
args: ["-m", "polymarket_alpha"]
cwd: "/absolute/path/to/Alpha MCP"
env:
PK: "${PK}"
CLOB_API_KEY: "${CLOB_API_KEY}"
CLOB_SECRET: "${CLOB_SECRET}"
CLOB_PASS_PHRASE: "${CLOB_PASS_PHRASE}"
# FUNDER: "0xYourDepositWallet" # Required for most serious users (signature_type=3)Best practice: Put real secrets in ~/.hermes/.env and reference them with ${VAR} (Hermes supports this substitution).
Critical for most users (signature_type=3 / Deposit wallets):
FUNDERmust be the deposit wallet address shown at polymarket.com → Profile → Wallet (NOT your EOA).You must first log into the official UI with the owner EOA, fund the deposit wallet with pUSD, and place at least one manual order via the website. This activates the wallet for API use.
Without the UI step you will hit "maker address not allowed" or signer mismatch errors.
After adding/restarting Hermes, the very first calls inside your agent must be:
get_mcp_health_report()check_clob_auth(include_raw=true)← mandatory before any trading (it will surface the exact sig=3 warnings)
Then use only the high-level exposed tools.
First Actions (every session)
Call these native tools immediately:
get_mcp_health_report(include_detailed=true)get_capabilities()get_polymarket_llms_txt()← primary source for all official Polymarket documentationlist_polymarket_docs()+get_polymarket_doc(path="trading/gasless.md")etc. for full .md contentpolymarket_alpha_setup_guide(platform="hermes")for the exact current config block
Key Capabilities
Gamma discovery — rich search, events, tags, full
get_clob_token_idsbridge (handles the stringified JSON foot-gun)Managed realtime —
start_full_realtime_session,watch_*,listen_for_ws_events, sports channel, auto-reconnectGasless — full relayer support (split/merge/redeem/approvals) +
gasless_prepare_for_tradingSimulation — safe paper trading + live book impact + WS replay for strategy development
Self-documenting —
get_polymarket_llms_txt,list_polymarket_docs,get_polymarket_doc,get_gamma_docs,get_clob_docs, cookbooks
All documentation for agents lives inside the tools (never stale root .md files).
Official Docs via Native Tools
# Inside your agent
docs_index = list_polymarket_docs()
content = get_polymarket_doc(path="trading/gasless.md") # full
neg_risk = get_polymarket_doc(path="advanced/neg-risk.md", summarize=True)License
MIT
Never commit real credentials. Use the .env.example template + ~/.hermes/.env + ${VAR} references.
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Ghost-Network666/alpha-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server