Overview
The Syra MCP Server exposes the Syra API as Model Context Protocol (MCP) tools for AI assistants. Access crypto news, events, sentiment, signals, research, token reports, memecoin screens, and more—directly from your AI chat in Cursor, Claude Desktop, or any MCP-compatible client. Source Code: Located inmcp-server/ directory of the Syra monorepo
What is MCP?
The Model Context Protocol (MCP) is a standard that allows AI assistants to access external tools and data sources. The Syra MCP server translates MCP tool calls into HTTP requests to the Syra API.How It Works
- AI assistant (e.g., Cursor) calls a tool like
syra_v2_news - MCP server receives the request via stdio (standard input/output)
- Server builds API URL:
GET https://api.syraa.fun/news?ticker=BTC - Fetches data and returns response to the assistant
Features
- 30+ MCP Tools covering the full Syra API
- Configurable Base URL — point to production or local API
- Optional Dev Routes — bypass x402 payment during development
- stdio Transport — runs as subprocess, no HTTP server needed
- Compatible with Cursor, Claude Desktop, and any MCP client
Available Tool Categories
News & Events
News & Events
syra_v2_news— Latest crypto news (optional ticker: BTC, ETH, general)syra_v2_event— Upcoming and recent crypto events
Sentiment & Headlines
Sentiment & Headlines
syra_v2_sentiment— Market sentiment analysis (30 days)syra_v2_trending_headline— Trending crypto headlines
Trading Signals
Trading Signals
syra_v2_signal— AI-generated trading signals with entry/exit recommendations
Research & Browse
Research & Browse
syra_v2_research— AI-powered deep research (quick/deep mode)syra_v2_browse— Web browsing and information extractionsyra_v2_x_search— Deep research on X/Twitter trendssyra_v2_exa_search— EXA AI web search
Token & Chain Data
Token & Chain Data
syra_v2_token_report— Rugcheck token reportsyra_v2_token_risk_alerts— Tokens above risk thresholdsyra_v2_token_god_mode— Nansen token deep researchsyra_v2_bubblemaps_maps— Holder/concentration mapssyra_v2_x_kol— KOL analysis by Solana token address
Analytics
Analytics
syra_v2_check_status— API health checksyra_v2_sundown_digest— Daily crypto roundupsyra_v2_gems— Hidden gem projects trending on Xsyra_v2_crypto_kol— Insights from top crypto KOLssyra_v2_smart_money— Smart money trackingsyra_v2_dexscreener— DEXScreener datasyra_v2_trending_jupiter— Trending tokens on Jupitersyra_v2_analytics_summary— Full analytics summary
Memecoin Screens
Memecoin Screens
syra_v2_memecoin_fastest_holder_growth— Fastest growing memecoinssyra_v2_memecoin_most_mentioned_smart_money_x— Smart money mentionssyra_v2_memecoin_accumulating_before_cex_rumors— Pre-CEX accumulationsyra_v2_memecoin_strong_narrative_low_mcap— Strong narrative + low mcap- And 5 more memecoin screening tools…
Prerequisites
| Requirement | Details |
|---|---|
| Node.js | Version 18 or higher |
| Syra API | Production (https://api.syraa.fun) or local (http://localhost:3000) |
| Payment | Production endpoints use x402; local testing can use dev routes |
| MCP Client | Cursor, Claude Desktop, or any stdio-compatible MCP client |
Installation
Install Dependencies
Install required packages and build TypeScript:This compiles TypeScript to
dist/index.js.Configuration
Configuration uses environment variables. Copy.env.example to .env and edit as needed.
Environment Variables
| Variable | Description | Default | Example |
|---|---|---|---|
SYRA_API_BASE_URL | Base URL of Syra API (no trailing slash) | https://api.syraa.fun | http://localhost:3000 |
SYRA_USE_DEV_ROUTES | Append /dev to API paths (local testing only) | not set | true |
Example: Local Testing (No Payment)
Example: Production
Setting Up in Cursor
Add MCP Server
Configure the server using stdio transport:Windows:macOS/Linux:Replace the path with your actual
mcp-server/dist/index.js location.Setting Up in Claude Desktop
Find Config File
Locate your Claude Desktop MCP config:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Example Prompts
Once connected, try these prompts in your AI assistant:- “Get the latest crypto news.”
- “Fetch Syra news for BTC.”
- “What are the upcoming crypto events?”
- “Get market sentiment for ETH.”
- “Give me the sundown digest.”
- “What’s trending on Jupiter?”
- “Get the full analytics summary.”
- “Deep research on Solana DeFi trends.”
- “Search X for Syra agent discussions.”
- “Rugcheck token report for address [address].”
- “Binance correlation for ETHUSDT.”
- “Memecoins with fastest holder growth.”
Payment & Dev Routes
Production API
The production API athttps://api.syraa.fun uses x402 for many endpoints. Without valid payment headers, you’ll receive 402 Payment Required responses.
The MCP server does not add payment headers—it only forwards requests. For production access:
- Use the API Playground to handle payments
- Implement x402 payment in your client setup
- Or use local API with dev routes for testing
Dev Routes (Local Testing)
WhenSYRA_USE_DEV_ROUTES=true and pointing to a local API:
- Paths become:
/news→/news/dev - Your local API can skip payment verification for
/devroutes - Only use with local/non-production APIs
| Scenario | Base URL | USE_DEV_ROUTES | Result |
|---|---|---|---|
| Local testing | http://localhost:3000 | true | Paths use /dev, may skip payment |
| Production | https://api.syraa.fun | not set | No /dev, requires x402 payment |
Troubleshooting
Getting 402 Payment Required errors
Getting 402 Payment Required errors
- Production API requires x402 payment
- Use local API with
SYRA_USE_DEV_ROUTES=true - Or implement x402 payment via API Playground
Connection refused or timeout
Connection refused or timeout
- Ensure Syra API is running and reachable at
SYRA_API_BASE_URL - For localhost, server must run on same machine
- Check firewall settings
Tools not showing in Cursor/Claude
Tools not showing in Cursor/Claude
- Restart the application or reload MCP
- Verify path to
dist/index.jsin config - Run
node dist/index.jsmanually to check for errors - Ensure Node.js 18+ is installed
Wrong API or dev routes not applied
Wrong API or dev routes not applied
- Check
envsettings in MCP client config - Server reads
process.envat startup - Verify both
SYRA_API_BASE_URLandSYRA_USE_DEV_ROUTESvalues
Development
Source Files
- Source:
src/index.ts - Build:
npm run build→ outputs todist/ - Dev mode:
npm run dev(usestsxfor live TypeScript)
Adding New Tools
- Open
src/index.ts - Add tool using
server.tool(name, description, schema, handler) - Define Zod schema for parameters
- Implement handler to call
fetchV2(path, params) - Run
npm run buildand test
Next Steps
API Playground
Test endpoints with x402 payments
Telegram Bot
Access Syra via Telegram
x402 Agent
Deploy autonomous agents
API Reference
Full API endpoint documentation