MCP Prompts
The ChainStream MCP server registers 4 prompts inregisterAllPrompts. Parameter names and optionality match the Zod argument schemas passed to server.prompt.
token_analysis
Description (from code): Deep analysis template for evaluating a token across multiple dimensions
| Parameter | Type | Required | Zod description |
|---|---|---|---|
chain | string | Yes | Blockchain (solana, ethereum, bsc) |
token | string | Yes | Token address or symbol |
wallet_profiling
Description (from code): Wallet profiling template for analyzing trading patterns and performance
| Parameter | Type | Required | Zod description |
|---|---|---|---|
chain | string | Yes | Blockchain |
address | string | Yes | Wallet address |
trading_strategy
Description (from code): Generate and backtest a trading strategy from natural language description
| Parameter | Type | Required | Zod description |
|---|---|---|---|
description | string | Yes | Strategy description in natural language |
chain | string | No | Target blockchain |
token | string | No | Target token |
risk_assessment
Description (from code): Comprehensive risk assessment for a token or trading position
| Parameter | Type | Required | Zod description |
|---|---|---|---|
chain | string | Yes | Blockchain |
token | string | Yes | Token address |
MCP Resources
The server registers 4 resources inregisterAllResources: three fixed URIs and one ResourceTemplate.
chainstream://chains
Resource name (code): chainsMIME type:
application/json
The handler returns CHAINS_DATA from code — the exact JSON payload is:
chainstream://docs/api_reference
Resource name (code): api-referenceMIME type:
text/markdown
Markdown body built from the API_REFERENCE constant (base URL, Data API and DeFi API endpoint list).
chainstream://docs/query_examples
Resource name (code): query-examplesMIME type:
text/markdown
Markdown body built from the QUERY_EXAMPLES constant (common query patterns for agents).
chainstream://chains/{chain}/dexes
Resource name (code): chain-dexesType:
ResourceTemplate('chainstream://chains/{chain}/dexes', { list: undefined })MIME type:
application/json
The handler resolves variables.chain and responds with JSON: { "chain": "<resolved>", "dexes": string[] }, where dexes is DEXES_BY_CHAIN[chain] or [] if the chain is unknown.
Example URI: chainstream://chains/solana/dexes.
Supported Chains
TheCHAINS_DATA / DEXES_BY_CHAIN configuration in code covers 3 chains:
| Identifier | Display name (from chains resource) |
|---|---|
solana | Solana |
ethereum | Ethereum |
bsc | BNB Smart Chain |
DEXes by Chain
Values matchDEXES_BY_CHAIN in resources/index.ts (lowercase protocol ids as in code):
| Chain | dexes array |
|---|---|
solana | jupiter, raydium, pumpfun, moonshot, candy |
ethereum | kyberswap |
bsc | kyberswap |
Next Steps
Tools Reference
Detailed parameter docs for all MCP tools.
Agent Skills
Connect ChainStream to AI coding agents.

