feat(apps): Add MCP Server for Claude/AI Agent Integration#3446
Open
ChoppaTheMegalodon wants to merge 1 commit intopyth-network:mainfrom
Open
feat(apps): Add MCP Server for Claude/AI Agent Integration#3446ChoppaTheMegalodon wants to merge 1 commit intopyth-network:mainfrom
ChoppaTheMegalodon wants to merge 1 commit intopyth-network:mainfrom
Conversation
Adds a Model Context Protocol (MCP) server that enables AI assistants like Claude to interact with Pyth Network oracle data. ## Features - 11 tools: get_price, get_prices, get_twap, get_ema_price, get_historical_prices, get_ohlcv, search_assets, get_asset_info, get_price_feed_ids, subscribe_price_updates, get_vaa - 5 resources: network status, feed catalog, popular feeds, API docs, integration guide - 5 prompts: analyze_price_feed, compare_assets, market_overview, volatility_report, price_deviation_check - Comprehensive test suite (121 tests) - Full Hermes API integration with retries, validation, rate limiting ## Usage ```bash cd apps/mcp-server npm install npm run build npm start ``` Then add to Claude Code MCP config to enable Pyth data access. ## Testing ```bash npm test # Unit tests RUN_INTEGRATION=true npm test # Integration tests (real API) ``` Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
@ChoppaTheMegalodon is attempting to deploy a commit to the Pyth Network Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a Model Context Protocol (MCP) server that enables AI assistants like Claude to interact with Pyth Network oracle data. This positions Pyth as the first oracle provider with native AI agent integration.
What's Included
Tools (11)
get_price/get_prices- Current price data with confidence intervalsget_twap/get_ema_price- Time-weighted and EMA pricesget_historical_prices/get_ohlcv- Historical datasearch_assets/get_asset_info- Asset discoveryget_price_feed_ids/subscribe_price_updates/get_vaa- Feed managementResources (5)
Prompts (5)
analyze_price_feed,compare_assets,market_overview,volatility_report,price_deviation_checkTesting
121 unit tests included:
Usage
Add to Claude Code MCP config:
{ "mcpServers": { "pyth": { "command": "node", "args": ["path/to/apps/mcp-server/dist/index.js"] } } }Context
This was requested by Tejas - see Slack thread. The devex success team will take ownership for production readiness.
Checklist
Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com