
AllSwap MCP Server
Read-only tools: AllSwap's public asset catalog, its official channels, and block-explorer links.
AllSwap scores 32 (Limited), licensed MIT and written in JavaScript. It installs as a local process. It declares 6 tools. Filed under Finance. GitHub shows 0 stars. Package registries report about 654 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Limited trust
32 of 100 from six public signals. Nobody can buy a point.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade B
75/100 for listing completeness. Lost points: 6 of 6 tools barely described, short summary.
How quality is graded
Where the 32 comes from
0 + 6 + 5 + 10 + 4 + 7 = 32. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 0 of 30 points.How recently the repository saw a commit or release.
Maintenance: 6 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 5 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "allswapio-mcp-server": { "command": "npx", "args": [ "-y", "@allswapio/mcp-server@1.0.2" ] } }}
Environment variables
This server does not declare environment variables.
Tools6Tool docs quality grade F
All capabilitieschainIdtoolstring
quotableOnlytoolboolean
txHashtoolstring
About
@allswapio/mcp-server
A read-only Model Context Protocol (MCP) server for AllSwap. It speaks JSON-RPC 2.0 over stdio and offers three tools:
| Tool | What it does | Network |
|---|---|---|
list_supported_assets | Fetches AllSwap's public asset catalog (GET https://allswap.io/api/v2/assets, no authentication; specification at https://allswap.io/docs/openapi.json) and filters it. | HTTPS GET |
get_official_channels | Returns AllSwap's official website and documentation links, contact email, social accounts, Chrome extension ID, company registration details and its statement that it issues no token. | None |
get_tx_explorer_url | Returns a block-explorer URL for a transaction hash on a supported mainnet network. Only the hash format is checked, not whether the transaction exists. | None |
It cannot create orders, quote prices, move funds or sign anything, and it takes no API keys, wallet keys
or credentials. All three tools carry the annotation readOnlyHint: true; only list_supported_assets has
openWorldHint: true. No runtime dependencies; Node.js 22 or later.
Documentation, with setup notes for Claude Desktop, Claude Code, Cursor and VS Code: https://allswap.io/docs/mcp.
Use with an MCP client
{
"mcpServers": {
"allswap": {
"command": "npx",
"args": ["-y", "@allswapio/mcp-server"]
}
}
}
MCP Registry name: io.github.allswapio/mcp-server (the mcpName in package.json; the registry metadata
is in server.json in the repository).
The command installed by the package is allswap-mcp. The environment variable ALLSWAP_API_ORIGIN
changes the origin used by list_supported_assets (default https://allswap.io). It must be an http: or
https: origin with no path, query or credentials (for example https://allswap.io); otherwise the command
prints one line to stderr and exits with code 2 before reading any input.
To try it by hand, send one JSON-RPC message per line on stdin:
printf '%s\n' \
'{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18"}}' \
'{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"get_tx_explorer_url","arguments":{"network":"btc","txHash":"4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b"}}}' \
| npx -y @allswapio/mcp-server
The second reply contains
"explorerUrl": "https://mempool.space/tx/4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b".
Run in a container
No container image is published. To run the server in a container, build it yourself from this repository
(the Dockerfile is in the repository, not in the npm package):
docker build -t allswap-mcp .
Then use "command": "docker" with "args": ["run", "--rm", "-i", "allswap-mcp"] in the client configuration
above. The image runs as a non-root user and needs outbound HTTPS only for list_supported_assets.
Tools
list_supported_assets
| Argument | Type | Description |
|---|---|---|
symbol | string | Optional. Exact symbol match, case-insensitive (usdt matches USDT). |
chainId | string | Optional. Case-insensitive substring of the asset's chainId (eip155 matches every EVM chain). |
quotableOnly | boolean | Optional. true drops assets whose quotable is false. |
limit | integer | Optional, 1-200, default 25. A value outside that range uses the default. |
Returns { observedAt, stale, totalAssets, matchedAssets, returnedAssets }, where returnedAssets holds
the catalog entries as the API returns them. A non-2xx response, a redirect (redirects are not followed),
a response body over 5 MiB, a network error or a timeout (8 s) returns { error } with isError: true.
get_official_channels
No arguments. Returns a fixed object: website, documentation, OpenAPI and verification page links, support
and security contact (service@allswap.io), Telegram and X accounts, Chrome Web Store extension ID and
link, operating company (Haohang Network Technology Co., Limited), Hong Kong Business Registration No.,
D-U-N-S number, registered address, compliance page, and the statement that AllSwap issues no token,
presale or airdrop.
get_tx_explorer_url
| Argument | Type | Description |
|---|---|---|
network | string | Network key, case-insensitive (see below). |
txHash | string | Transaction hash. |
Returns { network, txHash, explorerUrl, valid }; network and txHash are echoed only when they are
strings (otherwise null). For an unknown network, a hash in the wrong format or a non-string argument,
explorerUrl is null and valid is false.
The eip155:<id> and bip122:<hash> keys and solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp are CAIP-2 chain ids.
The keys tron:mainnet, ton:mainnet, ripple:0 and near:mainnet are aliases: the chain ids AllSwap's
public asset API (GET /api/v2/assets) uses for those chains. stellar:public, sui:mainnet and
aptos:mainnet are plain aliases. For Zcash, bip122:00040fe8ec8471911baa1db1266ea15d is the genesis-hash
CAIP-2 id and bip122:0007104ccda289427919efc39dc9e4d4 is the chain id that AllSwap's public asset API
(GET /api/v2/assets) returns for Zcash.
| Network keys | Hash format | Explorer |
|---|---|---|
eth, eip155:1 | 0x + 64 hex | etherscan.io |
arb, eip155:42161 | 0x + 64 hex | arbiscan.io |
base, eip155:8453 | 0x + 64 hex | basescan.org |
bsc, eip155:56 | 0x + 64 hex | bscscan.com |
op, eip155:10 | 0x + 64 hex | optimistic.etherscan.io |
pol, eip155:137 | 0x + 64 hex | polygonscan.com |
avax, eip155:43114 | 0x + 64 hex | snowtrace.io |
btc, bip122:000000000019d6689c085ae165831e93 | 64 hex | mempool.space |
ltc, bip122:12a765e31ffd4059bada1e25190f6e98 | 64 hex | litecoinspace.org |
doge, bip122:1a91e3dace36e2be3bf030a65679fe82 | 64 hex | blockchair.com |
bch, bip122:000000000000000000651ef99cb9fcbe | 64 hex | blockchair.com |
zec, bip122:00040fe8ec8471911baa1db1266ea15d (genesis hash), bip122:0007104ccda289427919efc39dc9e4d4 (asset API id) | 64 hex | blockchair.com |
tron, tron:mainnet | 64 hex | tronscan.org |
sol, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp | Base58, 32-96 chars | solscan.io |
ton, ton:mainnet | 64 hex (Base64 hashes are not linked) | tonscan.org |
xrp, ripple:0 | 64 hex | xrpscan.com |
stellar, stellar:public | 64 hex | stellar.expert |
near, near:mainnet | Base58, 32-96 chars | nearblocks.io |
sui, sui:mainnet | Base58, 32-96 chars | suiscan.xyz |
aptos, aptos:mainnet | 0x + 1-64 hex | explorer.aptoslabs.com |
Protocol details
- Supported protocol revisions:
2025-11-25,2025-06-18,2025-03-26and2024-11-05. The server implements theinitialize-based revisions only and does not implement revision2026-07-28. initializeanswers with the client'sprotocolVersionwhen it is one of the supported revisions, with2025-11-25when the client asks for any other revision, and with2024-11-05when the client sends none. The only capability istools.- Methods:
initialize,ping,tools/list,tools/call. Notifications (messages withoutid) get no reply. Any other method returns-32601(includingserver/discover); an unknown tool or a tool name that is not a string returns-32602; a message that is not a JSON-RPC 2.0 request, or whoseidis not a string, a number or null, returns-32600, with the request'sidwhen that is a string, a number or null andid: nullotherwise; a line that is not JSON returns-32700withid: null; an unexpected failure while handling or answering a line returns-32603, and the server keeps running. - Batches (JSON arrays) are not supported and return
-32600.
Use as a library
import { createMcpHandler, TOOLS } from "@allswapio/mcp-server";
const handle = createMcpHandler(); // options: { apiOrigin, fetchImpl, timeoutMs, maxBytes }
const reply = await handle({
jsonrpc: "2.0",
id: 1,
method: "tools/call",
params: { name: "get_tx_explorer_url", arguments: { network: "eth", txHash: "0x" + "ab".repeat(32) } },
});
console.log(TOOLS.map((tool) => tool.name));
// [ 'list_supported_assets', 'get_official_channels', 'get_tx_explorer_url' ]
console.log(JSON.parse(reply.result.content[0].text).explorerUrl);
// https://etherscan.io/tx/0xabab...abab
createMcpHandler throws a TypeError when apiOrigin is not an http: or https: origin.
Security
Please report vulnerabilities privately to service@allswap.io. See SECURITY.md.
License inquiries
Questions about the licensing of this software or of anything it contains: service@allswap.io.
License
MIT. Copyright (c) 2026 Haohang Network Technology Co., Limited (AllSwap).
Frequently asked questions
What is AllSwap MCP Server?
Read-only tools: AllSwap's public asset catalog, its official channels, and block-explorer links.
How do I install AllSwap MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. AllSwap MCP Server runs locally from the npm package @allswapio/mcp-server with the command npx -y @allswapio/mcp-server@1.0.2.
Is AllSwap MCP Server free and open source?
Yes. AllSwap MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does AllSwap MCP Server support remote (HTTP) connections?
No remote endpoint is listed for AllSwap MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does AllSwap MCP Server provide?
AllSwap MCP Server provides 6 tools, including chainId, get_official_channels, get_tx_explorer_url, and list_supported_assets. See the full tool list for descriptions and parameters.
How is AllSwap MCP Server's trust score calculated?
AllSwap MCP Server scores 32 out of 100 (Limited). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.