What is MCP Hub
HTTP server implementing Model Context Protocol (MCP) that provides AI agents with access to trading services through standardized tool calls. Protocol: JSON-RPC 2.0 over HTTP Endpoints:- Production:
https://mcp.alpha.dev/api/mcp-hub/mcp - Development:
https://dev.alpha.dev/api/mcp-hub/mcp
Authentication required. Contact support for API access.
Quick Start
List Available Tools
Call a Tool
Tool Naming Convention
All tools follow the pattern:genalpha_{service}_{action}
Examples:
genalpha_tim_execute_intent- Execute trading intentgenalpha_aiusd_get_portfolio- Get portfolio balancegenalpha_solchef_get_tokens_market_cap- Get token market caps
Available Services
TIM
Trading Intent ModelPrefix:
genalpha_tim_*AIUSD
Trading & PortfolioPrefix:
genalpha_aiusd_*Solchef
Market DataPrefix:
genalpha_solchef_*Integration Examples
With Claude Desktop
Add toclaude_desktop_config.json:
With Anthropic SDK
With MCP Inspector
Test your integration interactively:- Transport: HTTP
- URL:
https://mcp.alpha.dev/api/mcp-hub/mcp - Auth: Bearer token required
Response Format
All tool calls return JSON-RPC 2.0 responses:Error Handling
Errors follow JSON-RPC 2.0 error format:Authentication
MCP Hub supports Bearer token authentication:Running Locally
For local development and testing:Prerequisites
- Rust toolchain
justcommand runner (optional)
Start the Server
http://127.0.0.1:3000/mcp
Local development uses passthrough authentication. Production requires valid Bearer tokens.
Tool Reference
TIM Tools
genalpha_tim_execute_intent - Execute trading intent Supports:- Immediate swaps
- Prediction markets (Polymarket)
- Perpetual futures (HyperLiquid)
- Spot orders (HyperLiquid)
- Conditional orders
AIUSD Tools
genalpha_aiusd_get_portfolio - Get account balance genalpha_aiusd_get_transactions - Get transaction historySolchef Tools
genalpha_solchef_get_tokens_market_cap - Get top tokens by market cap Parameters:limit(number): Number of tokens to return
Full API Reference
Complete tool catalog with parameters
Best Practices
Use Structured Logging
Use Structured Logging
Enable debug logging to see tool calls:
Handle Errors Gracefully
Handle Errors Gracefully
Always check
isError field in responses and handle error cases.Test with Inspector
Test with Inspector
Use MCP Inspector to test tool calls before integrating into your application.
Secure Your Tokens
Secure Your Tokens
Never commit Bearer tokens to version control. Use environment variables.

