Github Finanzgoblin Spectra Mcp Server
Spectra Finance MCP server: yield discovery, PT/YT, looping, Morpho, 10 chains
About This MCP Server
The server is designed so that AI agents can discover novel strategies without being taught specific strategies. Instead of hard-coding strategy identification logic, the system teaches protocol mechanics at three layers — and lets the agent compose building blocks into its own analysis.
Modular TypeScript server. Read-only — queries Spectra's existing API, Morpho's GraphQL API, chain RPCs for on-chain Curve get_dy() quotes and contract detection, and Base RPC for veSPECTRA data. No wallet, no transactions, no keys, no web3 libraries needed.
Each tool file exports a register(server) function. To add a new tool: create src/tools/newtool.ts, export register(), import and call it in index.ts.
All address parameters are validated (0x + 40 hex chars). All API calls have a 15-second timeout with automatic retry on transient failures (5xx, ETIMEDOUT, ENETUNREACH, ENOTFOUND). Cross-chain scans use Promise.allSettled so one chain failing doesn't block results from others. GraphQL inputs are sanitized to prevent injection. All error returns use MCP's isError: true flag for proper error signaling to agents.
Tools & Endpoints
Example Workflow
• "What's the best fixed yield on USDC right now?"
• "Show me all Spectra pools on Base with >$50k TVL"
• "Calculate a 3x looping strategy for PT-USDC on Base using Morpho"
• "Is the fixed rate on stETH better than the variable rate?"
• "What Morpho markets accept Spectra PTs as collateral?"
• "What's the borrow rate on that Morpho PT-USDC market?"
• "What are the current SPECTRA emissions and lock rate?"
• "Show me the portfolio for 0xABC...DEF across all chains — include any unclaimed Merkl rewards"
• "What's the recent trading activity on this pool?"
• "Scan all pools on mainnet for activity from address 0xABC...DEF"
• "Check if address 0xABC...DEF is a contract or EOA and show their trading patterns"
• "Quote buying 10,000 USDC worth of PT on this pool"
Why Use Github Finanzgoblin Spectra Mcp Server?
- A cold-start agent with zero prior knowledge of the protocols can: 1. Call mv_scan_curator_opportunities — see cross-protocol (Spectra + Pendle) yield rankings with capital-aware metrics 2. Call spectra_get_pool_activity — see trading patterns with ⚠ hints about ambiguous events 3. Call spectra_get_portfolio and pendle_get_portfolio on flagged addresses — see Position Shape across both protocols 4. Read the cross-reference nudges — compose its own analytical workflow spanning all three protocols 5. Identify novel strategies the server was never explicitly programmed to detect
Specifications
Requirements
- Or run directly without installing:
Hosting
Hosting Options
- Package
API
Integrate this server into your application. Choose a connection method below.
Install
npm installConfigure
{
"mcpServers": {
"metavault-mcp": {
"command": "npx",
"args": ["metavault-mcp"]
}
}
}Performance
Usage
Quick Reference
- Name
- Github Finanzgoblin Spectra Mcp Server
- Function
- Spectra Finance MCP server: yield discovery, PT/YT, looping, Morpho, 10 chains
- Transport
- Package
- Language
- JavaScript/TypeScript
- Install
- npm install
- Source
- External (Registry)
- License
- Open Source
Ready to integrate this MCP server?
Book a demo to see how this server fits your workflow, or explore the full catalog.