@liqi-da/caas-mcp-server
v0.1.0
Published
MCP server for the Liqi CaaS API — exposes all endpoints as AI-callable tools
Maintainers
Readme
@liqi-da/caas-mcp-server
MCP (Model Context Protocol) server for the Liqi CaaS API. Allows AI assistants like Claude to interact with all CaaS API endpoints via natural language.
Quick Start
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"caas-api": {
"command": "npx",
"args": ["@liqi-da/caas-mcp-server"],
"env": {
"CAAS_API_URL": "https://api-caas-it-sandbox.liqi.app.br",
"CAAS_JWT_SUB": "your-api-key-id",
"CAAS_JWT_PRIVATE_KEY": "your-private-key-without-begin-end-headers"
}
}
}
}Claude Code
claude mcp add caas-api -- npx @liqi-da/caas-mcp-serverSet the environment variables in your shell before running Claude Code.
Environment Variables
| Variable | Description | Required |
|----------|-------------|----------|
| CAAS_API_URL | API base URL (defaults to sandbox) | No |
| CAAS_JWT_SUB | API key ID from the Liqi portal | Yes |
| CAAS_JWT_PRIVATE_KEY | RSA private key (no BEGIN/END headers, no line breaks) | Yes |
Available Tools
Authentication
auth_signin— Authenticate and get operational token (called automatically)
Client (Account)
account_createProfile— Create a new client profileaccount_fetchProfile— Get client detailsaccount_fetchProfiles— List all clients (paginated)account_enableDisableProfile— Toggle buy/sell permissions
Wallet
wallet_fetchBalance— Get client balanceswallet_fetchBalances— List balances for multiple clientswallet_fetchStatement— Get transaction historywallet_fetchStatementCategory— List statement categories
Markets
market_fetchExchanges— List available exchanges/poolsmarket_fetchMarkets— List trading pairsmarket_fetchTicker— Get ticker for specific pairmarket_fetchTickers— List all tickersmarket_fetchHistoricalPrices— Get historical prices
Orders
orders_createOrder— Create buy/sell orderorders_fetchOrder— Get order detailsorders_fetchOrders— List orders
Orders RFQ
orders_rfq_createQuote— Create price-locked quoteorders_rfq_fetchQuote— Get quote detailsorders_rfq_createOrder— Execute order at quoted price
Transactions
transactions_createTransfer— Transfer between profilestransactions_fetchTransfer— Get transfer detailstransactions_fetchTransfers— List transferstransactions_createBalance— Create balance transactiontransactions_fetchBalance— Get balance transaction detailstransactions_fetchBalances— List balance transactionstransactions_createDeposit— Create deposit requesttransactions_fetchDeposit— Get deposit status
Analytics
analytics_poolsBalances— Get pool balances
Development
npm install
npm run build
npm startPublishing
Publishing is automated via GitHub Actions. To release a new version:
- Update version in
package.json - Create a GitHub release with the matching tag (e.g.,
v0.1.0) - The CI will build and publish to npm automatically
Requires NPM_TOKEN secret configured in the GitHub repo settings.
