Skip to main content

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 intent
  • genalpha_aiusd_get_portfolio - Get portfolio balance
  • genalpha_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 to claude_desktop_config.json:

With Anthropic SDK

With MCP Inspector

Test your integration interactively:
Configuration:
  • 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:
Contact support for API access credentials.

Running Locally

For local development and testing:

Prerequisites

  • Rust toolchain
  • just command runner (optional)

Start the Server

Local server runs on 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 history

Solchef 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

Enable debug logging to see tool calls:
Always check isError field in responses and handle error cases.
Use MCP Inspector to test tool calls before integrating into your application.
Never commit Bearer tokens to version control. Use environment variables.