Bit2Me MCP Server
Bit2Me MCP Server lets AI assistants interact with the Bit2Me cryptocurrency ecosystem: real-time market data, account/wallet management, trading, Earn staking, loans, and portfolio insights through 48 MCP tools.
Market Data: Fetch asset configs, prices, charts/candles, tickers, order books, and public trades for both Wallet/Broker and Pro Trading.
Portfolio & Account Overview: Get total portfolio valuation in fiat, asset breakdowns, health checks, and tool self-descriptions.
Wallet Management: List pockets/balances, deposit addresses, networks, cards, and transaction/movement history.
Pro Trading: Place limit/market/stop-limit orders, cancel orders, view open orders/trades, transfer funds between Wallet and Pro, and inspect market config/fees.
Broker (Simple Trading): Get quotes for buy/sell/swap and confirm execution between wallet pockets.
Earn/Staking: List positions and rewards, deposit/withdraw funds, view APYs, and analyze reward/movement history.
Loans: Simulate LTV/APR, create collateralized loans, increase guarantee, pay back loans, and monitor loan health/movements.
Security & Reliability: Optional JWT/API-key auth, write safeguards with idempotency keys, retries/backoff, audit logging, and PII redaction.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Bit2Me MCP Server Show me my portfolio value."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Bit2Me MCP Server
An MCP (Model Context Protocol) server to interact with the Bit2Me ecosystem. This server allows AI assistants like Claude to access real-time market data, manage wallets, execute trading operations, and query products like Earn and Loans.
For more information, visit: https://mcp.bit2me.com
Bit2Me is a leading cryptocurrency exchange based in Spain, offering a wide range of services including trading, staking (Earn), and loans. This MCP server acts as a bridge, enabling LLMs to perform actions and retrieve data securely from your Bit2Me account.
๐ Features
General: Asset information, account details, portfolio valuation, and self-introspection (
general_describe_toolreturns description, schema, and examples for an enabled tool โ useful for LLMs encountering a tool for the first time).Wallet Management: Query balances, transactions, and wallet (Pockets) details.
Pro Trading: Manage orders (Limit, Market, Stop), query open orders, and transfer funds between Wallet and Pro.
Earn & Loans: Manage Earn (Staking) strategies and collateralized loans.
Operations: Execute trades, transfers, and withdrawals securely.
Write safeguards: Irreversible writes (Pro / Earn / Loan /
broker_confirm_quote) first return aneeds_confirmationpreview unlessconfirmis the booleantrue. Broker quote tools (broker_quote_*) do not require confirm. The preview includes the stampedidempotency_keyso a retry reuses it. Failed POST/DELETE calls retry with exponential backoff + jitter when that key is present.Category allow-list: Optional
BIT2ME_ENABLED_CATEGORIES(comma-separated:general,broker,wallet,pro,earn,loan) filterstools/listand dispatch. Unset = all. An unknown id is a startup/parse error.MCP tool annotations:
tools/listexposes hints fromtypeindata/tools.jsonโreadOnlyHinton READ/META,destructiveHinton irreversible WRITE (notbroker_quote_*),idempotentHinton cancel-order tools.structuredContent: Tool results include a
structuredContentobject alongside the existing text JSON (the text payload is unchanged).Resources:
bit2me://health,bit2me://server, andbit2me://catalog(enabled tools; no Bit2Me I/O). Same catalogue on stdio and HTTPresources/list/resources/read.Decimal Precision: Portfolio valuation uses
decimal.jsโ no floating-point drift on large balances or high-precision assets.Expanded PII Redaction: Logs automatically scrub email addresses, IBANs, phone numbers, KYC fields, JWT-shaped tokens, and long base64 blobs, in addition to API keys and signatures.
Monotonic Nonces: API-key signing uses a strictly-increasing nonce counter, preventing replay attacks even under high concurrency.
Audit Log: Every write tool (order creation, withdrawals, earn deposits, loan operations, โฆ) appends a tamper-evident JSON line on both success and failure. Set
AUDIT_LOG_PATHto write to a dedicated file; otherwise audit lines are emitted via the logger withaudit: true.Parametrized Prompts:
analyze_portfolioandmarket_summaryaccept arguments. Extra prompts:tax_report,dca_plan,loan_health_check, andconfirm_write(optionaltoolargument) for irreversible writes.
Related MCP server: MCP Bitnovo Pay
๐ ๏ธ Available Tools & API Endpoints
The server currently exposes 48 tools grouped as follows:
4 General tools (including
general_describe_toolfor self-introspection)8 Broker (Simple Trading) tools โ includes
wallet_get_cards(Bit2Me Teller). It stays inbrokerso the allow-list id does not change.4 Wallet tools
14 Pro Trading tools
11 Earn (Staking) tools
7 Loan tools
Full descriptions, response schemas, Bit2Me REST endpoints and usage notes live in TOOLS_DOCUMENTATION.md.
๐ Documentation & Schemas
All tool responses are normalised for LLM consumption (consistent naming, flattened payloads, concise metadata). Use the following references when developing new tooling:
docs/README.mdโ Map of every canonical doc (what to edit vs what is generated).TOOLS_DOCUMENTATION.mdโ Auto-generated catalogue (pnpm build:docsfromdata/tools.json).data/tools.jsonโ Source of truth for tool metadata, schemas and examples.
โ๏ธ Installation and Configuration
Prerequisites
Node.js: v20 or higher.
Bit2Me Account: You need a verified Bit2Me account.
๐ Authentication Methods
API Keys (Recommended)
The recommended way to authenticate is using API Keys. This method is secure, granular, and designed for programmatic access.
Go to your Bit2Me API Dashboard.
Click on "New Key".
Select the permissions you need (e.g., Wallets, Trading, Earn, Loans).
โ ๏ธ Security Note: This MCP server does NOT support crypto withdrawals to external blockchain addresses or transfers to other users. For security best practices, please DO NOT enable "Withdrawal" permissions on your API Key. Internal transfers between your own Bit2Me wallets (Wallet โ Pro โ Earn) are fully supported.
JWT Session Token (Alternative)
All tools accept an optional jwt argument (session cookie toward Bit2Me). Typical local use does not need it.
stdio / Claude Desktop: prefer API keys in
.env.jwtis only for a one-off session token.HTTP binary: send
Authorization: Bearer <jwt>(or API-key headers) per request โ see ADR 0001.
When jwt is provided on a stdio call (and HTTP has not already authenticated the request), the server uses session-cookie auth toward Bit2Me instead of the process API keys.
// Example: optional session token on a tool call
const result = await mcpClient.callTool("wallet_get_pockets", {
symbol: "BTC",
jwt: "user_session_token_here", // omitted โ API keys from the environment
});Note: For local Claude Desktop / Cursor, API keys in
.envare enough. Per-request JWT or API-key headers belong to the HTTP binary (bit2me-mcp-http). See docs/adr/0001-valet-key-http-credentials.md and the documentation map.
Steps
Clone the repository:
git clone https://github.com/bit2me-devs/bit2me-mcp.git cd bit2me-mcpInstall dependencies:
pnpm installConfigure environment variables: Create a
.envfile in the root directory:cp .env.example .envEdit
.envand add your keys:BIT2ME_API_KEY=YOUR_BIT2ME_ACCOUNT_API_KEY BIT2ME_API_SECRET=YOUR_BIT2ME_ACCOUNT_API_SECRET # Optional Configuration BIT2ME_GATEWAY_URL=https://gateway.bit2me.com # Must be HTTPS (localhost/127.x are exempt) BIT2ME_REQUEST_TIMEOUT=30000 # Request timeout in ms (default: 30000) BIT2ME_MAX_RETRIES=3 # Max retries for rate limits (default: 3) BIT2ME_RETRY_BASE_DELAY=1000 # Base delay for backoff in ms (default: 1000) BIT2ME_LOG_LEVEL=info # Log level: debug, info, warn, error (default: info) LOG_FORMAT=json # Optional: "json" for log aggregators; default is human-readable # AUDIT_LOG_PATH=/var/log/bit2me-mcp/audit.log # Append-only write-tool audit log # BIT2ME_ENABLED_CATEGORIES=wallet,broker,general # Optional allow-list; unset = all๐ก QA/Staging: Use
BIT2ME_GATEWAY_URLto point to different environments (e.g.,https://qa-gateway.bit2me.comfor QA testing).๐ File permissions: The
.envfile holds API credentials. Restrict it to the owner only:chmod 600 .envA pre-commit hook (
.husky/check-env-perms.sh) prints a warning when the local.envmode is more permissive than600.Build the project:
pnpm run build
๐ฅ๏ธ Usage with Claude Desktop
To use this server with the Claude Desktop application, add the following configuration to your claude_desktop_config.json file:
MacOS
~/Library/Application Support/Claude/claude_desktop_config.json
Windows
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"bit2me": {
"command": "node",
"args": ["/absolute/path/to/bit2me-mcp/build/index.js"],
"env": {
"BIT2ME_API_KEY": "YOUR_BIT2ME_ACCOUNT_API_KEY",
"BIT2ME_API_SECRET": "YOUR_BIT2ME_ACCOUNT_API_SECRET"
}
}
}
}Note: Replace
/absolute/path/to/...with the actual full path to your project.
Using a Custom Gateway (QA/Staging)
For testing against different environments, add the BIT2ME_GATEWAY_URL variable:
{
"mcpServers": {
"bit2me": {
"command": "node",
"args": ["/absolute/path/to/bit2me-mcp/build/index.js"],
"env": {
"BIT2ME_API_KEY": "YOUR_BIT2ME_ACCOUNT_API_KEY",
"BIT2ME_API_SECRET": "YOUR_BIT2ME_ACCOUNT_API_SECRET",
"BIT2ME_GATEWAY_URL": "https://qa-gateway.bit2me.com"
}
}
}
}๐ก๏ธ Security
Security Policy
For detailed information about reporting vulnerabilities and our security policy, please see SECURITY.md.
Best Practices
API Keys: Never commit API keys to version control. The pre-commit hook runs
gitleaks(if installed) to block accidental secret commits.Permissions: Use minimal permissions. Avoid "Withdrawal" permissions for MCP usage.
HTTPS Gateway:
BIT2ME_GATEWAY_URLis validated at startup โ onlyhttps://URLs are accepted. Plainhttp://is rejected except forlocalhost/127.xaddresses (local development only).Monotonic Nonces: API-key signing uses a strictly-increasing nonce counter so concurrent requests cannot generate replay-vulnerable signatures.
Expanded PII Redaction: The logger scrubs API keys, signatures, JWTs, emails, IBANs, phone numbers, KYC fields, and long base64 blobs before writing any line to stderr.
Audit Log: Every write tool appends an append-only JSON entry (tool name, sanitised args, outcome, correlation ID, SHA-256 fingerprint of the session token โ never the token itself). Set
AUDIT_LOG_PATHto persist to a file.
โ ๏ธ Rate Limits & Error Handling
The Bit2Me API enforces rate limits to ensure stability.
429 Too Many Requests: The client retries with exponential backoff and full jitter (
BIT2ME_RETRY_BASE_DELAY, default 1000 ms, up toBIT2ME_MAX_RETRIES).Console Warnings: You may see warnings in the logs if rate limits are hit.
Best Practice: Avoid asking for massive amounts of data in a very short loop.
๐ Logging
The server implements a structured logging system that automatically sanitizes sensitive data (API keys, signatures, JWTs, emails, IBANs, and other PII).
You can control the verbosity using the BIT2ME_LOG_LEVEL environment variable:
debug: Detailed request/response logs (useful for development)info: Startup and operational events (default)warn: Rate limits and non-critical issueserror: API errors and failures
Set LOG_FORMAT=json to switch the logger to a single-JSON-object-per-line format suitable for log aggregators (Loki, Datadog, CloudWatch, etc.). The default is human-readable.
All logs are written to stderr; stdout is reserved for the MCP JSON-RPC frame.
๐งต Concurrency Model
Each incoming tool call runs inside its own AsyncLocalStorage boundary. The store carries:
correlationId: a UUID generated per request, included in every log linesessionToken(jwt): the optional per-call session token, never logged in the cleartoolName,startTime: useful for metrics / audit
Two concurrent HTTP requests (for example two JWTs in flight on the same local process) never share ALS state. That is request isolation, not a multi-user product โ see ADR 0003. Tests outside runWithContext fall back to a safe default. See tests/concurrency.test.ts and tests/http-transport-*.test.ts.
Per-request state stored via memoizePerRequest() (e.g. wallet pockets fetched multiple times during a single broker quote) is keyed by correlationId and cleared in the finally block of executeTool() so the cache cannot grow unbounded.
๐ข Operating in Production
Two binaries ship with this package:
bit2me-mcp-serverโ the original stdio transport, designed to be spawned by a single LLM client (Claude Desktop, Cursor, โฆ).bit2me-mcp-httpโ HTTP JSON-RPC (src/index-http.ts). Each request may send its own credentials (X-Bit2Me-Api-Key+X-Bit2Me-Api-SecretorAuthorization: Bearer <jwt>).POST /mcphandlesinitialize,tools/*,prompts/*,resources/*. A notification (noid) returns202with an empty body.GET /mcp(SSE) is reserved, not implemented. Default bind is loopback (127.0.0.1). This is not a hosted multi-tenant SaaS; see ADR 0003. Put TLS in front of any non-loopback bind.
Recommended environment variables for the HTTP binary:
MCP_HTTP_HOST/MCP_HTTP_PORT(default127.0.0.1:3000)MCP_HTTP_AUTH_MODE:api_key(default),jwt, orbothLOG_FORMAT=jsonfor structured logsAUDIT_LOG_PATH=/var/log/bit2me-mcp/audit.logto ship audit lines to a file
Choosing an auth mode (HTTP transport)
The HTTP transport accepts API-key credentials and Bit2Me session JWTs. Both
modes are first-class โ the right choice depends on where the server is
bound and who is calling it, not on a one-size-fits-all rule. The full
threat model and rationale live in docs/adr/0001-valet-key-http-credentials.md.
Topology | Recommended | Why |
stdio (Cursor, Claude Desktop, local CLI) | n/a โ use | Single-process, no network hop; scopes are enforced by the Bit2Me dashboard. |
HTTP bound to loopback ( |
| Credentials never leave the host. |
HTTP on a private network / VPN behind a TLS-terminating reverse proxy |
| Encrypted hop; scopes enforced by the Bit2Me dashboard; operator owns the proxy chain. |
HTTP exposed on the public internet for a single operator |
| Bit2Me JWTs auto-expire (~15 min); the leak window is shorter. |
HTTP shared by multiple third-party integrators |
| Independent revocation per integrator without rotating the master credentials. |
Hard rules that apply regardless of the mode you pick:
Mint API keys with the smallest scope that satisfies the caller's use case. Read-only when possible. Never enable Withdrawal scopes for MCP usage โ the MCP server intentionally does not support external withdrawals, so granting that permission only widens the blast radius of a leak.
Always put the HTTP transport behind TLS on any non-loopback bind. Plain HTTP on
0.0.0.0is a misconfiguration regardless of the auth mode.The server emits a startup
WARNlog ifapi_key/bothis active on a non-loopback host so operators are nudged toward a TLS-terminating proxy or the JWT mode.Credential headers (
X-Bit2Me-Api-Key,X-Bit2Me-Api-Secret,Authorization) are scrubbed from every structured log line before it reaches stderr.
Built-in observability endpoints (HTTP transport only):
GET /healthโ liveness + Bit2Me reachability + cache/circuit-breaker/rate-limiter snapshot. Cached for 30s.GET /metricsโ Prometheus text-format counters (bit2me_mcp_tool_calls_total,bit2me_mcp_tool_errors_total,bit2me_mcp_tool_duration_avg_ms).
Reliability features active by default:
Circuit breaker on the upstream Bit2Me API (
src/utils/circuit-breaker.ts).Per-endpoint rate limiter with exponential backoff + jitter.
Idempotency keys on every write tool (
pro_create_order,loan_create,earn_deposit, โฆ) โ the wrapper stamps a stable key if the caller omitsidempotency_key.Irreversible writes (Pro / Earn / Loan /
broker_confirm_quote; notbroker_quote_*) return aneeds_confirmationpreview unlessconfirmis the booleantrue. The preview repeats the stampedidempotency_key.Monotonic request nonces for API-key signing (replay-safe even under high concurrency).
Append-only audit log for every successful and failed write operation.
โ Troubleshooting
Error: "Connection refused"
Ensure the MCP server is running.
Check that the path in
claude_desktop_config.jsonpoints correctly to thebuild/index.jsfile.
Error: "API Key invalid" or "Unauthorized"
Verify your keys in
.envor the Claude config.Ensure your API keys have the necessary permissions (Wallet, Trade, Earn, etc.) enabled in the Bit2Me dashboard.
Check that there are no extra spaces or quotes around the API key values.
Error: "Rate limit exceeded" or 429 responses
The Bit2Me API has rate limits. The server automatically retries with exponential backoff.
If you're hitting rate limits frequently, reduce the number of concurrent requests.
Consider adding delays between operations in your workflows.
Tools not showing up in Claude
Restart Claude Desktop completely (quit and reopen).
Check the Claude Desktop logs for initialization errors.
Verify the configuration file syntax is valid JSON.
Error: "Request timeout"
Check your internet connection.
Increase
BIT2ME_REQUEST_TIMEOUTin your environment variables (default: 30000ms).Some Bit2Me API endpoints may be temporarily slow.
Environment variables not loading
When using
npx, environment variables must be set in the config file'senvsection.For local development, ensure the
.envfile is in the project root.The server prioritizes config-provided credentials over
.envfile values.
Error: "Network error" or CORS issues
The MCP server runs server-side and doesn't have CORS restrictions.
Network errors usually indicate connectivity problems or API downtime.
Check the Bit2Me status page or try again later.
Debugging
Run the server manually to see logs:
pnpm devSet
BIT2ME_LOG_LEVEL=debugfor detailed logging.Check Claude Desktop logs:
macOS:
~/Library/Logs/Claude/mcp*.logWindows:
%APPDATA%\Claude\logs\mcp*.log
๐ Testing with MCP Inspector
MCP Inspector is the official debugging tool for MCP servers. It provides a web interface to test your tools, view responses, and debug issues.
Installation
This repo uses pnpm dlx (see pnpm dev / make dev). Consumers of the published package can use npx.
Running the Inspector
Option A: Published package (no clone)
export BIT2ME_API_KEY=YOUR_BIT2ME_ACCOUNT_API_KEY
export BIT2ME_API_SECRET=YOUR_BIT2ME_ACCOUNT_API_SECRET
npx -y @modelcontextprotocol/inspector npx @bit2me/mcp-serverOption B: Local repository
git clone https://github.com/bit2me-devs/bit2me-mcp.git
cd bit2me-mcp
pnpm install
pnpm run build
export BIT2ME_API_KEY=YOUR_BIT2ME_ACCOUNT_API_KEY
export BIT2ME_API_SECRET=YOUR_BIT2ME_ACCOUNT_API_SECRET
pnpm dlx @modelcontextprotocol/inspector node build/index.jsOr after install: pnpm dev (same inspector against build/index.js).
CLI (no browser) โ list tools against the local build:
pnpm dlx @modelcontextprotocol/inspector --cli node build/index.js --method tools/listNote: The web inspector opens at http://localhost:5173.
Using the Inspector
The web interface provides:
Tools Tab:
View all 48 available tools
See input schemas for each tool
Test tools with custom parameters
View formatted responses
Resources Tab:
Explore
bit2me://health,bit2me://server, andbit2me://catalog
Prompts Tab:
Test prompt templates (if configured)
Request/Response Logs:
See all MCP protocol messages
Debug communication issues
View timing information
Example: Testing a Tool
Navigate to the Tools tab
Select a tool (e.g.,
pro_get_ticker)Fill in the required parameters:
{ "pair": "BTC-EUR" }Click Run to execute the tool
View the formatted response in the output panel
๐ Landing Page Deployment
The project's landing page is located in the /landing directory.
Deployment is automated using GitHub Actions.
How to update the website:
Tool catalogue: edit
data/tools.json(Python/shell), thenpnpm build:docsand commitTOOLS_DOCUMENTATION.md.landing/tools-data.jsis gitignored (Pages /pnpm build:docsfor local preview).Page chrome: edit HTML/CSS/
CNAMEin/landingif needed.Push to
main. Pages deploy on push; after a SemVer release thelandingjob inrelease.ymlruns again so the catalogue snapshot can see the new git tag.The hero Stable badge reads live npm, not
package.jsononmain. Same source as the shields.io npm badge. See docs/stack/release.md.
Domain:
The /landing/CNAME file manages the custom domain configuration.
๐ค Contributing
We welcome contributions to improve this MCP server! Whether it's fixing bugs, adding new tools, or improving documentation, your help is appreciated.
Please read our Contributing Guidelines for details on:
Setting up your development environment
Running tests
Commit conventions (Conventional Commits)
Pull Request process
Quick Start
Fork and Clone:
git clone https://github.com/bit2me-devs/bit2me-mcp.gitInstall Dependencies:
pnpm installCreate a Branch:
git checkout -b feat/amazing-feature
For full details, check the CONTRIBUTING.md file.
Code of Conduct
Be respectful, inclusive, and constructive. Full text: CODE_OF_CONDUCT.md.
๐ License
Available Tools
48 toolsbroker_confirm_quoteADestructive
STEP 2: Confirms and executes a previously created proforma from broker_quote_buy, broker_quote_sell, or broker_quote_swap. Final action. [PRIVATE] First call without confirm=true returns a preview; set confirm=true only after the user agrees.
Inputs: proforma_id (required), jwt, confirm, idempotency_key.
broker_get_asset_chartARead-onlyIdempotent
Gets Wallet price history (candles/chart) with date and price in the quote symbol. These prices reflect the Wallet/Broker service, not Pro Trading. Requires pair (e.g., BTC-USD) and timeframe. Returns data points with ISO 8601 date/time and price in the quote symbol from the pair. [PUBLIC]
Inputs: pair (required), timeframe (required).
broker_get_asset_dataARead-onlyIdempotent
Gets comprehensive market ticker data for a cryptocurrency from the Wallet/Broker service (not Pro Trading). These prices include spread and differ from Pro Trading prices. Requires base_symbol (e.g., BTC) and optional quote_symbol (default: EUR). [PUBLIC]
Inputs: base_symbol (required), quote_symbol.
broker_get_asset_priceARead-onlyIdempotent
Get Wallet exchange rates for cryptocurrencies in a specific quote symbol and date. Returns the price of one unit of the base symbol in the requested quote symbol (default: EUR) as used by the Wallet/Broker service. Optional base_symbol filter and date for historical rates. Response is a list of prices. [PUBLIC]
Inputs: date, base_symbol, quote_symbol.
broker_quote_buyAIdempotent
STEP 1: Buy cryptocurrency using fiat balance from a pocket. Creates a proforma quote. Use wallet_get_pockets to find pocket IDs. REQUIRES subsequent confirmation with broker_confirm_quote. [PRIVATE]
Inputs: amount (required), origin_pocket_id (required), destination_pocket_id (required), jwt, +1 more.
broker_quote_sellAIdempotent
STEP 1: Sell cryptocurrency to receive fiat balance in a pocket. Creates a proforma quote. Use wallet_get_pockets to find pocket IDs. REQUIRES subsequent confirmation with broker_confirm_quote. [PRIVATE]
Inputs: amount (required), origin_pocket_id (required), destination_pocket_id (required), jwt, +1 more.
broker_quote_swapAIdempotent
STEP 1: Swap/exchange one cryptocurrency for another between pockets. Creates a proforma quote. Use wallet_get_pockets to find pocket IDs. REQUIRES subsequent confirmation with broker_confirm_quote. [PRIVATE]
Inputs: amount (required), origin_pocket_id (required), destination_pocket_id (required), jwt, +1 more.
earn_depositADestructive
Deposit funds from Simple Wallet pocket to Earn (Staking). Funds will start earning rewards based on the asset's APY. Returns operation details with type: deposit. Use wallet_get_pockets to find your pocket ID and earn_get_positions to see available Earn strategies. Operation status ENUM: pending (operation in progress), completed (successfully finished), failed (operation failed or was cancelled). [PRIVATE] First call without confirm=true returns a preview; set confirm=true only after the user agrees.
Inputs: amount (required), symbol (required), pocket_id (required), jwt, +2 more.
earn_get_assetsARead-onlyIdempotent
Get list of assets (cryptocurrencies) supported in Earn/Staking with full details. Returns symbols, APY rates, availability status, lock period options, and reward currencies. Use this to discover stakeable assets, verify availability before deposit/withdrawal, and compare returns. [PUBLIC]
Inputs: no named parameters.
earn_get_movementsARead-onlyIdempotent
Get movement history across all Earn positions. Returns movements with type (deposit, reward, withdrawal, discount-funds, discount-rewards, fee), amounts, dates, rates, source, and issuer information. Supports filtering by symbol, position_id, type (deposit, reward, withdrawal, discount-funds, discount-rewards), date range, and pagination. All parameters are optional. Response is a paginated list with metadata. [PRIVATE]
Inputs: jwt, type, limit, offset, +7 more.
earn_get_movements_summaryARead-onlyIdempotent
Get summary statistics of Earn movements filtered by type. Valid type values: deposit, reward, withdrawal, discount-funds, discount-rewards. Returns total count, total amounts, and aggregated data for the specified movement type across all Earn positions. [PRIVATE]
Inputs: type (required), jwt.
earn_get_position_movementsARead-onlyIdempotent
Get movement history of a specific Earn position. Returns movements with type (deposit, withdrawal, reward, fee), amounts, dates, and status. Optional limit and offset for pagination. Use earn_get_positions first to get the position ID. Response is a paginated list with metadata. [PRIVATE]
Inputs: position_id (required), jwt, limit, offset.
earn_get_position_rewards_configARead-onlyIdempotent
Get rewards configuration for a specific Earn position. Returns reward calculation rules, APY details, and position-specific staking parameters. Use earn_get_positions first to get the position ID. [PRIVATE]
Inputs: position_id (required), jwt.
earn_get_position_rewards_summaryARead-onlyIdempotent
Get rewards summary for a specific Earn position. Returns reward symbol, reward amount, and converted reward amount in fiat currency. Use earn_get_positions first to get the position ID. Optional user_currency parameter to specify the fiat currency for conversion (default: EUR). [PRIVATE]
Inputs: position_id (required), jwt, user_currency.
earn_get_positionsARead-onlyIdempotent
List active Earn positions/strategies. Optional position_id filter for specific position. Returns position_id, symbol, balance, strategy (fixed/flexible), lock_period, converted_balance, and timestamps. Use earn_get_assets for APY rates. Note: Positions are locked/yielding funds, different from Pockets (liquid funds). [PRIVATE]
Inputs: jwt, position_id.
earn_get_rewards_configARead-onlyIdempotent
Get global rewards configuration for Earn/Staking. Returns position rewards configuration including position_id, user_id, symbol, lock_period_id, reward_symbol, and timestamps. Use this to understand reward configuration for all positions. [PRIVATE]
Inputs: jwt.
earn_get_summaryARead-onlyIdempotent
View summary of accumulated rewards in Staking/Earn. Returns total rewards earned across all Earn positions, breakdown by symbol, and overall performance. Use this to see your total staking rewards. [PRIVATE]
Inputs: jwt.
earn_withdrawADestructive
Withdraw funds from Earn (Staking) back to Simple Wallet pocket. Funds will stop earning rewards after withdrawal. Returns operation details with type: withdrawal. Use earn_get_positions to check your Earn balance. Operation status ENUM: pending (operation in progress), completed (successfully finished), failed (operation failed or was cancelled). [PRIVATE] First call without confirm=true returns a preview; set confirm=true only after the user agrees.
Inputs: amount (required), symbol (required), pocket_id (required), jwt, +2 more.
general_describe_toolARead-onlyIdempotent
Self-introspection tool: returns the description, inputSchema, exampleArgs and exampleResponse of any other tool in the catalog. Useful when an LLM needs to learn how to call a tool it hasn't seen before. [PUBLIC]
Inputs: tool_name (required).
general_get_assets_configARead-onlyIdempotent
Gets asset configuration for Bit2Me. Optional symbol filter. Returns symbol, name, type (crypto/fiat), network, trading status, loan availability, and pro_trading_pairs. Use to discover symbols or verify if an asset is tradeable/loanable. [PUBLIC]
Inputs: symbol, show_exchange, include_testnet.
general_healthARead-onlyIdempotent
Local process health of this MCP server: status, version, uptime, and circuit-breaker/cache/rate-limiter stats. Does not call Bit2Me.
Inputs: no named parameters.
loan_createADestructive
Create a new loan by providing cryptocurrency as guarantee (collateral) to receive loan currency (can be any supported currency like USDC, EURC, or fiat). Specify amount_type to determine calculation mode: 'fixed_collateral' (guarantee amount is fixed, loan amount is calculated) or 'fixed_loan' (loan amount is fixed, guarantee amount is calculated). This avoids mathematical errors where the model tries to guess the exact LTV manually. Returns loan order details with status. [PRIVATE] First call without confirm=true returns a preview; set confirm=true only after the user agrees.
Inputs: amount_type (required), loan_symbol (required), guarantee_symbol (required), jwt, +5 more.
loan_get_configARead-onlyIdempotent
Get currency configuration for loans. Returns two separate arrays: guarantee_currencies (cryptocurrencies that can be used as collateral with LTV limits) and loan_currencies (currencies available for borrowing with APR, liquidity, and min/max amounts). Use guarantee currencies as collateral to receive loan currencies. Use this before creating a loan to understand available options and limits. [PUBLIC]
Inputs: no named parameters.
loan_get_movementsARead-onlyIdempotent
Get loan movement history with full details. Returns movements with type (approve, repay, liquidate, interest), nested loan/guarantee objects with fiat values, and LTV tracking. Optional order_id filter. Use to track loan lifecycle events. [PRIVATE]
Inputs: jwt, limit, offset, order_id.
loan_get_ordersARead-onlyIdempotent
Get all loan orders with full details including LTV, APR, interest, and fiat values. Use this to monitor loan health (LTV), track payments, and calculate costs. Optional order_id filter for specific loan. [PRIVATE]
Inputs: jwt, limit, offset, order_id.
loan_get_simulationARead-onlyIdempotent
Simulate loan LTV and APR. Provide guarantee_amount OR loan_amount (other is calculated). Requires guarantee_symbol (crypto), loan_symbol, user_symbol (fiat). Returns amounts, LTV ratio (1.0=100%, lower=safer), and APR. Use before loan_create. [PUBLIC]
Inputs: loan_amount, loan_symbol, user_symbol, guarantee_amount, +1 more.
loan_increase_guaranteeADestructive
Increase the guarantee (collateral) amount for an existing loan. This improves the LTV ratio and reduces risk. Returns updated loan details. Use loan_get_orders first to get the order ID. [PRIVATE] First call without confirm=true returns a preview; set confirm=true only after the user agrees.
Inputs: order_id (required), guarantee_amount (required), jwt, confirm, +1 more.
loan_paybackADestructive
Pay back (return) part or all of a loan. Reduces the loan amount and may release guarantee if fully paid. Returns updated loan details. Use loan_get_orders to get the order ID, or loan_get_orders with order_id filter to check current loan amount and details. [PRIVATE] First call without confirm=true returns a preview; set confirm=true only after the user agrees.
Inputs: order_id (required), payback_amount (required), jwt, confirm, +1 more.
portfolio_get_valuationARead-onlyIdempotent
Calculates the total portfolio value by aggregating all assets across Wallet, Pro Trading, Earn/Staking, and Loans. Converts all holdings to the specified fiat symbol (default: EUR) using current market prices. Returns total value, breakdown by asset, and individual asset valuations. Filters out dust amounts below minimum threshold. [PRIVATE]
Inputs: jwt, fiat_symbol, quote_symbol, force_refresh.
pro_cancel_all_ordersADestructiveIdempotent
Cancel all open orders in Pro Trading. Optional pair filter to cancel only orders for a specific market. Returns count of cancelled orders. Use with caution as this affects all pending orders. [PRIVATE] First call without confirm=true returns a preview; set confirm=true only after the user agrees.
Inputs: jwt, pair, confirm, idempotency_key.
pro_cancel_orderADestructiveIdempotent
Cancel a specific PRO order by ID. Only open/pending orders can be cancelled. Returns cancellation status. Use pro_get_open_orders first to see which orders can be cancelled. Order status ENUM: open (order is active and waiting to be filled), filled (order was completely executed), cancelled (order was cancelled or expired). [PRIVATE] First call without confirm=true returns a preview; set confirm=true only after the user agrees.
Inputs: order_id (required), jwt, confirm, idempotency_key.
pro_create_orderADestructive
Create Limit/Market/Stop order in PRO Trading. Returns order ID. For Limit orders, 'price' is required. For Stop-Limit orders, both 'price' and 'stop_price' are required. Market orders execute immediately at current price. Use pro_get_open_orders to check order status. Order status ENUM: open (order is active and waiting to be filled), filled (order was completely executed), cancelled (order was cancelled or expired). [PRIVATE] First call without confirm=true returns a preview; set confirm=true only after the user agrees.
Inputs: pair (required), side (required), type (required), amount (required), +5 more.
pro_depositADestructive
Deposit funds from Simple Wallet to Pro Trading account. Funds must be available in Simple Wallet first (check with wallet_get_pockets). Transfer is immediate. Use pro_get_balance to verify the deposit. Transfer status ENUM: pending (operation in progress), completed (successfully finished), failed (operation failed or was cancelled). [PRIVATE] First call without confirm=true returns a preview; set confirm=true only after the user agrees.
Inputs: amount (required), symbol (required), jwt, confirm, +1 more.
pro_get_balanceARead-onlyIdempotent
Gets balances from PRO Trading account. This is separate from Simple Wallet - funds must be transferred using pro_deposit/pro_withdraw. Returns available and blocked balances per symbol for trading. [PRIVATE]
Inputs: jwt.
pro_get_candlesARead-onlyIdempotent
Gets OHLCV (Open, High, Low, Close, Volume) candles for Pro (Advanced Trading). Requires trading pair (e.g., BTC-EUR) and timeframe. Returns price data in specified timeframe with timestamp and date. Optional limit (default: 1000, max: 1000), startTime and endTime (Unix epoch milliseconds). If startTime/endTime not provided, defaults to last 24 hours. Essential for technical analysis and charting. Response is a list of candles with metadata. [PUBLIC]
Inputs: pair (required), timeframe (required), limit, endTime, +1 more.
pro_get_market_configARead-onlyIdempotent
Gets full market configuration including precision, amounts, prices, fees, and trading status. Use this before placing orders to validate amounts, prices, and understand fee structure. [PUBLIC]
Inputs: pair.
pro_get_open_ordersARead-onlyIdempotent
View open trading orders in PRO. Returns all active orders (pending, partially filled). If order_id is provided, returns details for that specific order. Optional pair filter to see orders for a specific market. Order status ENUM: open (order is active and waiting to be filled), filled (order was completely executed), cancelled (order was cancelled or expired). [PRIVATE]
Inputs: jwt, pair, order_id.
pro_get_order_bookARead-onlyIdempotent
Gets the order book (market depth) for a market showing current buy and sell orders. Requires trading pair (e.g., BTC-USD). Returns bids (buy orders) and asks (sell orders) with prices and amounts. Useful for analyzing market liquidity and determining optimal order prices. Response is a single object. [PUBLIC]
Inputs: pair (required).
pro_get_order_tradesARead-onlyIdempotent
Gets all individual trades (executions) associated with a specific order. Returns detailed execution data including price, amount, fees, and date for each fill. Useful for analyzing how a large order was executed across multiple trades. [PRIVATE]
Inputs: order_id (required), jwt.
pro_get_public_tradesARead-onlyIdempotent
Gets the latest public trades (executed orders) for a market. Requires trading pair (e.g., BTC-USD). Returns recent transactions with price, amount, side (buy/sell), and date. Optional limit (max 50, default: 50) and sort order (ASC/DESC). Useful for seeing recent market activity. Response is a list of trades with metadata. [PUBLIC]
Inputs: pair, sort, limit.
pro_get_tickerARead-onlyIdempotent
Get ticker information (OHLCV, current best bid and ask, percentage versus price 24 hours ago) for all markets or by requested market symbol. The data refers to the last 24 hours from the date indicated. Optional pair filter for a specific market. Returns ticker data with open, close, bid, ask, high, low, volumes, and percentage change. [PUBLIC]
Inputs: pair.
pro_get_tradesARead-onlyIdempotent
Gets the user's trade history in Pro Trading. Returns executed trades with price, amount, side (buy/sell), fees, and date. Optional filters: trading pair, side, order type, date range, limit (max 50), offset, and sort order. Use this to review past trading activity. Response is a paginated list with metadata. [PRIVATE]
Inputs: jwt, pair, side, sort, +5 more.
pro_withdrawADestructive
Withdraw funds from Pro Trading account back to Simple Wallet. Funds must be available in Pro Trading (check with pro_get_balance). Transfer is immediate. Use wallet_get_pockets to verify the withdrawal. Transfer status ENUM: pending (operation in progress), completed (successfully finished), failed (operation failed or was cancelled). [PRIVATE] First call without confirm=true returns a preview; set confirm=true only after the user agrees.
Inputs: amount (required), symbol (required), jwt, confirm, +2 more.
wallet_get_cardsARead-onlyIdempotent
List credit/debit cards registered in Bit2Me. Returns card details including card ID, brand, last 4 digits, expiration date, and alias. Optional card_id filter to retrieve a specific card. Use limit and offset for pagination. [PRIVATE]
Inputs: jwt, limit, offset, card_id.
wallet_get_movementsARead-onlyIdempotent
History of Wallet operations. Optional movement_id for specific details, symbol filter, limit/offset for pagination. Returns type, amount, symbol, status, date. Status ENUM: pending, completed, failed. [PRIVATE]
Inputs: jwt, limit, offset, symbol, +1 more.
wallet_get_networksARead-onlyIdempotent
Lists available networks for a specific currency. Use this before wallet_get_pocket_addresses to see which networks support deposits for a currency (e.g., bitcoin, ethereum, binanceSmartChain). Returns network ID, name, native currency, fee currency, and whether it requires a tag/memo. [PRIVATE]
Inputs: symbol (required), jwt.
wallet_get_pocket_addressesARead-onlyIdempotent
Lists deposit addresses for a wallet (Pocket) on a specific network. Use wallet_get_networks first to see available networks for a currency. Each network may have different addresses. Returns address, network, and creation date. Use this address to receive deposits on the specified network. [PRIVATE]
Inputs: network (required), pocket_id (required), jwt.
wallet_get_pocketsARead-onlyIdempotent
Gets balances, UUIDs, and available funds from Simple Wallet (Broker). Does not include Pro/Earn balance. Returns all pockets of the user. If pocket_id is provided, returns only that specific pocket. IMPORTANT: Users often have MULTIPLE pockets for the same symbol (e.g. multiple EUR pockets). ALWAYS check ALL pockets for a specific symbol to find the one with a positive balance. [PRIVATE]
Inputs: jwt, symbol, pocket_id.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogโฆ
TDQS
Scored across 48 tools
Domain prefixes (earn_, pro_, wallet_, loan_, broker_) help separate major areas, but there are several similar-sounding clusters: earn_get_summary versus earn_get_movements_summary, broker_get_asset_price versus broker_get_asset_data versus broker_get_asset_chart, and pro_get_trades versus pro_get_public_trades versus pro_get_order_trades. The descriptions are detailed enough to resolve ambiguity, but an agent could easily select the wrong tool without careful reading.
All tools consistently follow a domain_verb_noun snake_case pattern (e.g., wallet_get_pockets, pro_create_order, loan_payback). Action verbs and resource nouns are clear, and even multi-word resources are formatted consistently. No camelCase or mixed conventions appear.
48 tools is well above the 25+ threshold and feels heavy even though the server covers multiple product areas (Wallet, Pro, Earn, Loans, and meta tools). Several tools could potentially be consolidated, especially the overlapping Earn summary/config getters and multiple market-data tools.
The main product lifecycles are well covered: broker quotes confirm into buy/sell/swap, Pro orders can be created and cancelled, Earn supports deposit/withdraw and detailed position/reward queries, and Loans support simulate/create/payback/guarantee increase. Notable minor gaps include no external send/withdrawal from Simple Wallet, no Pro order modification, and no card management beyond listing.
Maintenance
Related MCP Connectors
Live crypto + IDX stock market intelligence for AI agents โ 19 tools, no API key.
Non-custodial crypto payments for AI assistants: balances, payments, and create payment links.
Crypto market data for AI agents: live prices, OHLCV, sentiment, indicators and exchanges.
Open API Marketplace for AI Agents. Crypto data tools with USDC payments on Base.
Related MCP Servers
- AlicenseCqualityDmaintenanceEnables AI agents to interact with cryptocurrency ecosystems through wallet management, trading operations (swaps, DCA, limit orders), staking, and multi-chain support starting with Solana.37GPL 3.0

MCP Bitnovo Payofficial
AlicenseAqualityDmaintenanceEnables AI agents to create cryptocurrency payments, check payment status, generate QR codes, and manage transactions through Bitnovo Pay API integration with automatic webhook support.525 npm4MIT
BitOasis MCP Serverofficial
AlicenseBqualityCmaintenanceEnables AI assistants to interact with the BitOasis cryptocurrency exchange, including market data, account management, order placement, and deposit/withdrawal operations through natural language.2331 PyPIMIT- AlicenseCqualityDmaintenanceEnables AI applications to interact with the Bitcoin Network, manage wallets, check balances, convert prices, and send transactions.4179 npm6MIT