Skip to content
AllSwap logo
MCP server
Registry

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.

by allswapioMITJavaScript0 stars
Trust score
32Limited
Trust score 32 of 100, Limited

Limited trust

32 of 100 from six public signals. Nobody can buy a point.

  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 32 comes from

0 + 6 + 5 + 10 + 4 + 7 = 32. Each factor is capped, so no single signal can carry a listing.

Registry0 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 0 of 30 points.
Maintenance6 / 20

How recently the repository saw a commit or release.

Maintenance: 6 of 20 points.
Popularity5 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 5 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

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.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "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 capabilities

About

@allswapio/mcp-server

allswapio/mcp-server MCP server

A read-only Model Context Protocol (MCP) server for AllSwap. It speaks JSON-RPC 2.0 over stdio and offers three tools:

ToolWhat it doesNetwork
list_supported_assetsFetches 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_channelsReturns 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_urlReturns 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

ArgumentTypeDescription
symbolstringOptional. Exact symbol match, case-insensitive (usdt matches USDT).
chainIdstringOptional. Case-insensitive substring of the asset's chainId (eip155 matches every EVM chain).
quotableOnlybooleanOptional. true drops assets whose quotable is false.
limitintegerOptional, 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

ArgumentTypeDescription
networkstringNetwork key, case-insensitive (see below).
txHashstringTransaction 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 keysHash formatExplorer
eth, eip155:10x + 64 hexetherscan.io
arb, eip155:421610x + 64 hexarbiscan.io
base, eip155:84530x + 64 hexbasescan.org
bsc, eip155:560x + 64 hexbscscan.com
op, eip155:100x + 64 hexoptimistic.etherscan.io
pol, eip155:1370x + 64 hexpolygonscan.com
avax, eip155:431140x + 64 hexsnowtrace.io
btc, bip122:000000000019d6689c085ae165831e9364 hexmempool.space
ltc, bip122:12a765e31ffd4059bada1e25190f6e9864 hexlitecoinspace.org
doge, bip122:1a91e3dace36e2be3bf030a65679fe8264 hexblockchair.com
bch, bip122:000000000000000000651ef99cb9fcbe64 hexblockchair.com
zec, bip122:00040fe8ec8471911baa1db1266ea15d (genesis hash), bip122:0007104ccda289427919efc39dc9e4d4 (asset API id)64 hexblockchair.com
tron, tron:mainnet64 hextronscan.org
sol, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpBase58, 32-96 charssolscan.io
ton, ton:mainnet64 hex (Base64 hashes are not linked)tonscan.org
xrp, ripple:064 hexxrpscan.com
stellar, stellar:public64 hexstellar.expert
near, near:mainnetBase58, 32-96 charsnearblocks.io
sui, sui:mainnetBase58, 32-96 charssuiscan.xyz
aptos, aptos:mainnet0x + 1-64 hexexplorer.aptoslabs.com

Protocol details

  • Supported protocol revisions: 2025-11-25, 2025-06-18, 2025-03-26 and 2024-11-05. The server implements the initialize-based revisions only and does not implement revision 2026-07-28.
  • initialize answers with the client's protocolVersion when it is one of the supported revisions, with 2025-11-25 when the client asks for any other revision, and with 2024-11-05 when the client sends none. The only capability is tools.
  • Methods: initialize, ping, tools/list, tools/call. Notifications (messages without id) get no reply. Any other method returns -32601 (including server/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 whose id is not a string, a number or null, returns -32600, with the request's id when that is a string, a number or null and id: null otherwise; a line that is not JSON returns -32700 with id: 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

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server