list_deals
List referral deals
List cp0x referral deals with optional venue filtering. Use this when looking for deals by venue or browsing the deal catalog; links include a cp0x referral code.
limitquery
com.cp0x由 cp0x.com 發布官方發布者v0.2.0更新於 Nov 2, 2026
Read-only cp0x data: referral deals and races, DeFi geo-restrictions, and x402 catalogs.
唯讀的 cp0x 資料伺服器,提供 DeFi 推薦優惠、賽事與排行榜、介面地區限制、x402 目錄及 cp0x 開源儲存庫。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/com.cp0x%2Fpublic-data/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"cp0x-public-data": {
"type": "http",
"url": "https://mcp.cp0x.com/mcp"
}
}
}[tests] [cp0x MCP MCP server – quality and maintenance score on Glama]
A read-only MCP server over cp0x public data, owned by cp0x.
Results include source attribution and a stale flag; failures can include an error field. Referral codes are returned as published, without inventing missing codes.
Freshness and retry fields for upstream data (about_cp0x keeps these fields inside distributed_to_users.prices; its top-level stale remains false). Missing token prices produce a partial total and are named in the summary; if no token has a price, the summary uses the value at distribution. Price errors remain inside distributed_to_users.prices:
stale: true when expired cached data is returned because a refresh failed or requests are paused.fetched_at: UTC timestamp of the oldest upstream response used, or null when none is available.age_s: age in seconds of the oldest response, or null when none is available.stale_since: UTC timestamp when the oldest response's cache TTL expired for a stale result; otherwise null.retry_after_s: included with upstream errors; integer seconds before retrying when a budget, backoff, or negative cache blocks the request, or null for the initial ordinary failure.For check_interface_restrictions, country_match contains national and close_only flags, matching regional codes in regions, and status, the status of the declaration that produced the match (null when no declaration matches); country_match is null when no country is supplied. For each entry from list_restricted_interfaces, scope is national, close_only, regional, or observed, in that priority order. The declared_status field carries the originating layer's status for national, close-only, and regional matches; it is null for observed-only matches. When multiple declarations match, both status fields use the first layer in that scope priority order. The close_only_layers field lists layers that allow closing positions only; regions lists matching subdivisions such as CA-ON.
Example questions: “What referral deals are available for Extended?”, “Which races are active?”, and “What interface restrictions does the monitor report for Aave in the US?”
Public Streamable HTTP URL: https://mcp.cp0x.com/mcp
No authentication is required.
Add a remote MCP server by URL using https://mcp.cp0x.com/mcp in Claude connectors or Claude Desktop, with no authentication.
Add a remote MCP server by URL using https://mcp.cp0x.com/mcp as a custom MCP connector, with no authentication.
Add a remote MCP server by URL in mcp.json:
Add a remote MCP server by URL using https://mcp.cp0x.com/mcp; select authentication None.
Monitor data is a published repository snapshot, not a live probe. Its version comes from the catalog's meta.generated field and is returned as data_version by check_interface_restrictions. Observations describe the recorded checks; missing probes do not establish availability.
Caches are local to each server instance and refresh on demand after expiry. If an upstream request fails, an existing cached response can be returned with stale set to true; without cached data, the result contains an error. Cache TTL does not guarantee that the upstream data has changed.
The HTTP server limits requests per caller IP to 60 requests/minute by default, configurable with --per-ip-per-minute. Requests over the limit receive HTTP 429 with a Retry-After header in seconds.
The upstream cp0x.com API also limits requests to 60 requests/minute per IP. The server's outgoing IP is shared by its upstream requests; cached reads reduce upstream traffic.
Each server instance shares a budget of 45 upstream requests per minute per host, keyed by host and port, across all tools in a rolling 60-second window. Only actual upstream calls consume budget; cache hits do not. When the budget is exhausted, expired cached data is returned with stale set to true; without cached data, results include an error and retry_after_s. An upstream HTTP 429 triggers host-wide backoff according to Retry-After (60 seconds if missing or nonnumeric), with the same stale fallback. Ordinary failures without cached data are negatively cached for 30 seconds per URL; repeats return an error and remaining retry_after_s without another upstream call. The initial ordinary failure reports retry_after_s as null.
Install from the repository with Python 3.10 or later:
Run over stdio:
Run over HTTP:
The HTTP routes are /mcp, /health and /usage. /usage returns daily aggregate tool-call counts per tool and client application name for the last 30 days, without IP addresses or arguments. Configure --allowed-host to match the client's Host header, including a port where needed. When no allowlist is supplied, localhost and 127.0.0.1 are allowed with or without ports.
Uvicorn reads FORWARDED_ALLOW_IPS to decide which proxies may supply forwarded client IPs. Set it to the reverse proxy's IP address so the caller rate limit uses the original client IP from X-Forwarded-For. Without a trusted proxy setting, all callers through an untrusted proxy share one rate-limit bucket keyed by the proxy IP.
The Docker image sets FORWARDED_ALLOW_IPS="*". With this setting, port 8000 must be reachable only by the reverse proxy. Otherwise, replace * with the proxy IP using an environment override. For a proxy on the Docker host, bind the published port to loopback:
Build and run the Docker image:
Forward /mcp and /health to port 8000 and preserve the public Host header. The image binds to all interfaces and permits Host headers mcp.cp0x.com and mcp.cp0x.com:*. Local requests to the container must send an allowed Host header. Its health-check requests /health on loopback with Host: mcp.cp0x.com; this route also enforces the host allowlist and caller rate limit.
Keep server.json in the repository root. It declares com.cp0x/public-data, version 0.2.0, and the public Streamable HTTP endpoint; publishing this remote server does not require a package.
Before publishing to the MCP Registry, verify ownership of cp0x.com using a DNS TXT record at the domain apex or an HTTP proof at https://cp0x.com/.well-known/mcp-registry-auth. Authenticate with mcp-publisher using the corresponding domain verification method, then run from the repository root:
Glama reads the root glama.json for maintainer metadata when indexing the GitHub repository.
Deal links contain a cp0x referral code. The server only reads public data; it does not place trades or execute paid x402 requests. MIT license, see LICENSE. Privacy policy: see PRIVACY.md.
來源:README.md,提交 53a2915
List referral deals
List cp0x referral deals with optional venue filtering. Use this when looking for deals by venue or browsing the deal catalog; links include a cp0x referral code.
limitqueryGet referral deal
Get a cp0x deal with its description and races. Use this when a deal slug is known and its full details are needed; links include a cp0x referral code.
slug必填Get venue referral code
Find a venue's referral code and link in the cp0x catalog. Use this when a user requests referral details for a named venue; links include a cp0x referral code.
venue必填Compare referral benefits
Compare the benefit the cp0x referral gives over each venue's own referral offer, with example volumes from live cp0x races. Use this when the user wants to know what a cp0x referral code adds on a venue or across a category of venues.
categoryList races
List cp0x races with dates and prizes. Use this when finding active or completed races, optionally for one deal.
slugstatusGet race leaderboard
Get a cp0x race leaderboard and its column definitions. Use this when viewing standings for a known deal and race.
topslug必填race_codeCheck interface restrictions
Read declared and observed geo-restrictions for a DeFi interface. Use this when checking a protocol's interface restrictions, optionally for a country.
countryprotocol必填List restricted interfaces
List DeFi interfaces with declared or observed restrictions in a country. Use this when identifying which interfaces the cp0x monitor reports as restricted there.
country必填List x402 facilitators
List x402 facilitators and their URLs from cp0x. Use this when looking up facilitator names and endpoints in the cp0x catalog.
無需輸入參數。
List cp0x x402 resources
List cp0x x402 resources with prices and tags. Use this when finding available cp0x x402 resources or filtering them by tag.
tagAbout cp0x
Who cp0x is and how much it has passed on to its users, valued at today's token prices: mission, values, sites, channels, 2025 figures and every distribution with token amounts. Use this when a user asks what cp0x is, what it gave its users, or where to find its sites and channels.
無需輸入參數。
List cp0x open-source repositories
List public open-source repositories of cp0x: permissionless DeFi interfaces and tools, from GitHub. Use this when looking for cp0x interfaces, tools or source code.
kind已滿足適用檢查項的 100%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
{ "mcpServers": { "cp0x": { "url": "https://mcp.cp0x.com/mcp" } }}pip install -e .cp0x-mcp --transport stdiocp0x-mcp --transport http --host 127.0.0.1 --port 8000 --allowed-host localhost:8000 --allowed-host 127.0.0.1:8000docker build -t cp0x-mcp .docker run -p 127.0.0.1:8000:8000 cp0x-mcpmcp-publisher validatemcp-publisher publish