What is MCP?
Model Context Protocol (MCP) is a standard for connecting AI assistants to external tools and data sources. The Syra MCP server translates tool calls into HTTP requests to the Syra API.Supported Clients
- Cursor — AI-powered code editor
- Claude Desktop — Anthropic’s desktop app
- Any MCP-compatible client using stdio transport
Prerequisites
Node.js 18+
Syra API Access
You need either:
- Production API at
https://api.syraa.fun(requires x402 payment) - Local API running on
http://localhost:3000(see API Access)
Installation
Configuration
Configure via environment variables:| Variable | Description | Default |
|---|---|---|
SYRA_API_BASE_URL | Syra API base URL (no trailing slash) | https://api.syraa.fun |
SYRA_USE_DEV_ROUTES | Use /dev routes (local testing only) | false |
Local Testing (No Payment)
Create a.env file in the mcp-server directory:
/dev endpoints that skip payment.
Production
Setup in Cursor
Add MCP Server
Add a new MCP server configuration using the absolute path to your built server:macOS/Linux:Windows:
Setup in Claude Desktop
Locate Config File
Find your Claude Desktop config:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Available Tools
The MCP server provides 30+ tools:News & Events
syra_v2_news— Latest crypto news (optional ticker: BTC, ETH, general)syra_v2_event— Upcoming and recent crypto events
Sentiment & Headlines
syra_v2_sentiment— 30-day market sentiment analysissyra_v2_trending_headline— Trending crypto headlines
Signals
syra_v2_signal— AI trading signals (optional token: bitcoin, solana, etc.)
Research
syra_v2_research— Deep AI research (query + optional type: quick/deep)syra_v2_browse— Web browsing and extractionsyra_v2_x_search— X/Twitter deep search
Token Data
syra_v2_token_report— Rugcheck token report (Solana address)syra_v2_token_god_mode— Nansen token god modesyra_v2_bubblemaps_maps— Holder/concentration mapssyra_v2_x_kol— KOL mentions on X (Solana address)
Analytics
syra_v2_check_status— API health checksyra_v2_analytics_summary— Full analytics summarysyra_v2_smart_money— Smart money trackingsyra_v2_dexscreener— DEXScreener datasyra_v2_trending_jupiter— Jupiter trending tokens
Memecoin Screens
syra_v2_memecoin_fastest_holder_growthsyra_v2_memecoin_most_mentioned_smart_money_xsyra_v2_memecoin_strong_narrative_low_mcap- And 6 more memecoin screens…
Example Prompts
Once configured, try these prompts in your AI assistant:Troubleshooting
402 Payment Required
If you see “API returned 402”:- Local testing: Ensure
SYRA_USE_DEV_ROUTES=trueand your local API is running - Production: You need x402 payment (currently handled via API Playground or other payment layer)
Tools Not Appearing
- Verify the path to
dist/index.jsis correct - Run
node dist/index.jsmanually to check for errors - Restart your AI assistant
- Check that Node.js is in your PATH
Connection Refused
Ensure the Syra API is running:SYRA_API_BASE_URL.
Development
Run Without Building
tsx to run TypeScript directly (no build step).
Rebuild After Changes
Add Custom Tools
Editsrc/index.ts to add new tools. Each tool:
- Maps to a Syra API endpoint
- Defines parameters using Zod schemas
- Returns formatted API responses
Next Steps
- Explore all API endpoints
- Test endpoints in the API Playground
- Read the full MCP Server documentation
- Join the community on X (Twitter)