MCP.Market

Onlyswaps MCP server

by nicofains1·io.github.nicofains1/onlyswaps·v0.1.2

DEX meta-aggregator for AI agents. Best prices from 15+ aggregators across 13 chains.

C65/100grade C
What users say
No reviews yet
Be the first
Safety scan
C65/100

full report

Adoption
New

27 downloads/wk

Reviews

Write one

Nobody has reviewed Onlyswaps yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Onlyswaps tools (12, 3 write)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • approve_permit2

    Approve a token for Permit2 (required once per token before trading).

  • build_swap_tx

    Build swap transaction data. Two flows based on input token type:

  • check_setup

    Check if wallet is ready for autonomous trading.

  • encode_swap_tx

    Encode a signed Permit2 swap into a ready-to-send transaction.

  • estimate_gas

    Check if a user has enough native token (ETH, BNB, etc.) to pay gas for a swap.

  • execute_swapwrite action

    Execute a swap end-to-end: get quote, build transaction, sign via Privy embedded wallet, and broadcast.

  • get_portfolio

    Get user's token portfolio across chains. Returns all token holdings with USD values and total portfolio value.

  • get_quote

    Get a swap quote for exchanging tokens on OnlySwaps. Returns the best quote from multiple DEX aggregators including expected output amount, gas estimate, and price impact. Supports Ethereum, Base, Arbitrum, Polygon, BSC, Optimism, Avalanche, and Solana.

  • get_tx_status

    Check the status of a transaction by its hash. Returns whether the transaction succeeded, failed, is pending, or was not found.

  • setup_walletwrite action

    Create or retrieve a trading wallet for autonomous swaps.

  • simulate_swap

    Simulate signed Permit2 swaps before execution.

  • swapwrite action

    Execute a token swap autonomously.

Public scan report

scanner v0.1.10 · 2026-09-28 · same rubric, same numbers if you re-run it

no findings
  • Code scan74 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancerepository not readable: repo not found3/15
  • Maintainer identityno repository or website to verify2/10
Overall 65/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Onlyswaps compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
65/100
higher than 20% of 48,255 servers
Tools
12
the typical server has 7
Tools that change things
25%
typical: 0%. Fewer write tools means less an agent can break
Downloads a week
27
more than 14% of 12,191 servers with a package

What its tools let an agent do: 8 read · 3 change · 1 run or deploy

Install Onlyswaps in Claude Code, Cursor or VS Code

Runs npx -y @onlyswaps/mcp-server on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add onlyswaps -- npx -y @onlyswaps/mcp-server
Add to Cursor

Onlyswaps: common questions

Is Onlyswaps MCP server safe?
With care: it is graded C, so read the findings first (65/100). Read the Onlyswaps safety report
How do I install Onlyswaps?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Onlyswaps need an API key?
No secret keys are declared. It reads 1 setting from the environment.
Is Onlyswaps maintained?
The latest release is v0.1.2.
How does Onlyswaps compare with other MCP servers?
safety score 65/100 (higher than 20% of 48,255 servers); tools 12 (the typical server has 7); tools that change things 25% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.

More from nicofains1 →