
sera-cx/sera-mcp-v2
API developmentЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
A Model Context Protocol (MCP) server for — the stablecoin exchange platform. Enables AI assistants like Claude to query market data, check balances, execute swaps, and manage orders through natural...
Обзор
A Model Context Protocol (MCP) server for — the stablecoin exchange platform. Enables AI assistants like Claude to query market data, check balances, execute swaps, and manage orders through natural language. - — Real-time stablecoin prices, metadata, and historical data - — Check balances, token holdings, and exchange deposits - — Get quotes and execute swaps with automatic token approval - — Place, view, and cancel limit orders - — Move funds between wallet and exchange - — Supports Ethereum mainnet and Sepolia testnet Then add the server to your Claude Desktop config. See claude_desktop_config.example.json: Config file location: - : ~/Library/Application Support/Claude/claude_desktop_config.json - : %APPDATA%\Claude\claude_desktop_config.json Restart Claude Desktop after editing the config. : Never share or commit your WALLET_PRIVATE_KEY. Use a dedicated wallet for testing with limited funds. Once configured, you can interact with Sera using natural language: 1.
README
Показан фрагмент оригинального README. Открыть оригинал.
Sera MCP Server
A Model Context Protocol (MCP) server for Sera — the stablecoin exchange platform. Enables AI assistants like Claude to query market data, check balances, execute swaps, and manage orders through natural language.
Features
- Market Data — Real-time stablecoin prices, metadata, and historical data
- Wallet Management — Check balances, token holdings, and exchange deposits
- Trading — Get quotes and execute swaps with automatic token approval
- Order Management — Place, view, and cancel limit orders
- Deposit & Withdraw — Move funds between wallet and exchange
- Multi-Network — Supports Ethereum mainnet and Sepolia testnet
Quick Start
cd sera-mcp
npm install
npm run build
Then add the server to your Claude Desktop config. See claude_desktop_config.example.json:
{
"mcpServers": {
"sera": {
"command": "node",
"args": ["/path/to/sera-mcp/dist/index.js"],
"env": {
"EXTERNAL_API_URL": "https://api.dev.sera.cx",
"WALLET_PRIVATE_KEY": "0xYOUR_PRIVATE_KEY",
"RPC_URL": "https://ethereum-sepolia-rpc.publicnode.com"
}
}
}
}
Config file location:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Restart Claude Desktop after editing the config.
Mainnet Configuration
{
"env": {
"EXTERNAL_API_URL": "https://api.sera.cx",
"WALLET_PRIVATE_KEY": "0xYOUR_PRIVATE_KEY",
"RPC_URL": "https://eth.llamarpc.com"
}
}
Configuration
| Variable | Description | Default |
|---|---|---|
EXTERNAL_API_URL |
CLOB/trading API URL | https://api.dev.sera.cx |
WALLET_PRIVATE_KEY |
Private key for signing transactions (optional, enables execute tools) | - |
RPC_URL |
Ethereum RPC endpoint | https://ethereum-sepolia-rpc.publicnode.com |
⚠️ Security Warning: Never share or commit your WALLET_PRIVATE_KEY. Use a dedicated wallet for testing with limited funds.
Available Tools
Market Data
| Tool | Description |
|---|---|
get_market |
Get the complete stablecoin catalogue with live market data |
get_coin_metadata |
Get detailed metadata for a specific coin by ticker |
get_coin_history |
Get historical price data for a specific coin |
search_coins |
Search for stablecoins by name or ticker |
get_exchange_rate |
Get the exchange rate between two tokens |
Wallet & Balance
| Tool | Description |
|---|---|
get_wallet_info |
Get configured wallet address, balance, and chain |
get_wallet_balances |
Get token balances (defaults to configured wallet) |
Установка
This server does not publish a one-line install command.
Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →Конфигурация
{
"mcpServers": {
"sera": {
"command": "node",
"args": ["/path/to/sera-mcp/dist/index.js"],
"env": {
"EXTERNAL_API_URL": "https://api.dev.sera.cx",
"WALLET_PRIVATE_KEY": "0xYOUR_PRIVATE_KEY",
"RPC_URL": "https://ethereum-sepolia-rpc.publicnode.com"
}
}
}
}