Prototyp · Vorschau: alle Server aus der offiziellen Registry, alle 30 Minuten synchronisiert. Bewertungen und Benutzerkonten folgen in einem späteren Schritt.
PopNx MCPMCP-Server für alle, die KI nutzen · in einfachen Worten erklärt

Uniswap Universal Router Decoder

von ElnarilVersion 4.0.0i★ –iLäuft auf deinem Computer
Name in der Registryio.github.Elnaril/uniswap-universal-router-decoder

Installieren

Überblick

Beschreibung vom Entwickler (englisches Original)

Decode and encode Uniswap Universal Router calldata (V2, V3, V4). Read-only: never signs or sends.

Die drei Säulen von PopNx MCP

Diese drei werden nie zu einer Punktzahl zusammengefasst: Meinungen, Messungen und Beliebtheit sind verschiedene Dinge.

Was du damit machen kannst

Für diesen Server haben wir noch keine Zusammenfassung in einfacher Sprache geschrieben. Unten stehen die Fakten, die wir aus der Registry gelesen haben.

  • Verbindung: Läuft auf deinem Computer
  • Transport: stdio
  • Kategorie: Sonstiges

Installation

Wähle die KI-App, die du nutzt, und kopiere die Einstellungen.

Bevor du installierst

  • Basischecks: 1 von 1 bestanden
  • Läuft auf deinem Computer mit den Rechten deines Benutzerkontos (Dateien, Netzwerk, Apps).
  • Das trägst du selbst ein: RPC_URL

Du brauchst

  • PyPIuv für Python installiert (für den Befehl uvx)

Welche App nutzt du?

Wähle oben deine App. Wir merken sie uns, damit der Button beim nächsten Mal „In … installieren“ anzeigt.

Öffne Claude Desktop → Settings → Developer → Edit Config und füge dies in claude_desktop_config.json ein

{
  "mcpServers": {
    "uniswap-universal-router-decoder": {
      "command": "uvx",
      "args": [
        "uniswap-universal-router-decoder"
      ],
      "env": {
        "RPC_URL": "your-value"
      }
    }
  }
}

Führe das in deinem Terminal aus

claude mcp add uniswap-universal-router-decoder --env RPC_URL=your-value -- uvx uniswap-universal-router-decoder

Trag die leeren Werte ein, bevor du ihn startest.

In Cursor öffnen

Oder kopier die Einstellungen selbst

In .cursor/mcp.json in deinem Projekt oder in ~/.cursor/mcp.json einfügen

{
  "mcpServers": {
    "uniswap-universal-router-decoder": {
      "command": "uvx",
      "args": [
        "uniswap-universal-router-decoder"
      ],
      "env": {
        "RPC_URL": "your-value"
      }
    }
  }
}

Dein Browser fragt, ob er die App öffnen darf, dann zeigt die App die Einstellungen und bittet dich um Bestätigung. Schlüsselwerte bleiben leer, damit du sie selbst einträgst.

In VS Code öffnen

Oder kopier die Einstellungen selbst

In .vscode/mcp.json in deinem Projekt einfügen

{
  "servers": {
    "uniswap-universal-router-decoder": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "uniswap-universal-router-decoder"
      ],
      "env": {
        "RPC_URL": "your-value"
      }
    }
  }
}

Dein Browser fragt, ob er die App öffnen darf, dann zeigt die App die Einstellungen und bittet dich um Bestätigung. Schlüsselwerte bleiben leer, damit du sie selbst einträgst.

Dieser Server läuft auf deinem Computer, und ChatGPT kann sich nur mit Servern im Internet verbinden. Wähle eine andere App.

Deine Auswahl bleibt in einem Cookie auf diesem Gerät; kein Konto nötig.

Werte, die du selbst einträgst

  • RPC_URL env
    Ethereum RPC endpoint. Optional: only decode_transaction needs it.

Diese Einstellungen werden aus dem Registry-Eintrag des Entwicklers erzeugt. Wenn in der README etwas anderes steht, folge der README.

Was er kann

Läuft auf deinem Computer; die Tool-Liste erscheint nach der Installation in deiner KI-App.

Basischecksi

Wir prüfen Informationen, die jeder sehen kann; den Code haben wir nicht gelesen. Checks, die nicht zutreffen, werden nicht mitgezählt. · Geprüft am 7. Nov. 2026

  • ✓ Bestanden

    Entwickler passt zum Repo

    Der Registry-Name wurde mit dem GitHub-Konto Elnaril bestätigt, dem das Repo gehört

  • … Noch nicht geprüft

    Wird noch gepflegt

    Dieses Repo haben wir noch nicht von GitHub gelesen

  • … Noch nicht geprüft

    Hat eine Lizenz

    Dieses Repo haben wir noch nicht von GitHub gelesen

  • – Nicht zutreffend

    Endpunkt antwortet

    Dieser Server läuft auf deinem Computer; es gibt keinen Endpunkt im Internet

  • – Nicht zutreffend

    Anmeldung mit OAuth

    Läuft auf deinem Computer und nutzt stattdessen lokale Einstellungen

  • … Noch nicht geprüft

    Keine versteckten Anweisungen in Tool-Beschreibungen

    Läuft auf deinem Computer; Tool-Listen können wir nur von Endpunkten im Internet lesen

Im Vergleich mit anderen in Sonstigesi

  • Mehr Sterne als 0 % der anderen 32655 Server in dieser Kategorie
  • Neuer in der Registry veröffentlicht als 79 % der anderen 32655 Server in dieser Kategorie
  • Basischecks gleich gut wie oder besser als bei 100 % der anderen 32655 Server in dieser Kategorie

Verglichen mit allen aktiven Servern dieser Kategorie in der Registry. Sterne zählen nur, wenn dem Herausgeber das Repo gehört.

Häufige Fragen

Ist Uniswap Universal Router Decoder sicher?

Er hat 1 von 1 zutreffenden Basischecks bestanden. Den Code haben wir nicht gelesen. Bevor du einen Schlüssel oder Token hinzufügst, sieh nach, welche Zugriffe der Server verlangt, und nutze einen Schlüssel, der nur die Berechtigungen hat, die du brauchst.

Welche Schlüssel oder Codes braucht er?

Die Registry nennt keinen erforderlichen Schlüssel, manche Server bitten dich aber bei der ersten Nutzung, dich anzumelden.

Läuft er auf meinem Computer oder in der Cloud?

Er läuft auf deinem Computer. Deine KI-App startet ihn bei Bedarf, und die Daten laufen nicht über die Server des Entwicklers (außer der Server ruft selbst einen Onlinedienst auf).

Wird er noch gepflegt?

Das GitHub-Repo wurde zuletzt – geändert, und die neueste Version (4.0.0) kam vor 9 Tagen in die Registry.

Welche Apps können ihn nutzen?

Apps, die MCP unterstützen, etwa Claude Desktop, Claude Code, Cursor und VS Code. Außerdem brauchst du Python (uv) auf deinem Computer.

Was kann ich stattdessen nutzen?

In derselben Kategorie: Spec Driven Development, Remote Desktop Commander, SuperCollider

Alternativen

Server derselben Kategorie von anderen Entwicklern, sortiert nach Sternen.

So liest du eine Karte:★ GitHub-SterneiDrei Säulen: Bewertungen · Checks · NutzungiAktualisiert = neueste Version in der Registry veröffentlichti

Spec Driven Development

von formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

Läuft auf deinem Computer★ 440MITAktualisiert vor 14 Monaten
Installieren

Remote Desktop Commander

von desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

Läuft in der Cloud★ 211Aktualisiert vorgestern
Installieren

Make sound with SuperCollider: synths, drums, chords, melodies and soundscapes over OSC.

Läuft auf deinem ComputerAktualisiert heute
Installieren

README vom Entwickler

README öffnen

Unverändert aus dem Repo des Entwicklers übernommen. PopNx MCP hat den Inhalt weder geprüft noch empfiehlt es ihn. HTML, Bilder und Skripte wurden entfernt. Links führen von dieser Website weg.

Uniswap Universal Router Decoder & Encoder

Many thanks to everyone who has ☕️ offered some coffees! ☕️

or ⭐ starred this project! ⭐

It is greatly appreciated! :)



Project Information
Code Quality

Release Notes

See the release notes page

v4.0.0 - breaking changes
  • Update COMMAND_TYPE_MASK to 0x7f to match UR
  • Add support for the PAY_PORTION_FULL_PRECISION command (0x07)
  • Add support for the BALANCE_CHECK_ERC20 command (0x0e)
  • Add support for the V3_POSITION_MANAGER_PERMIT command (0x11)
  • Add support for the V3_POSITION_MANAGER_CALL command (0x12)
  • Add support for the EXECUTE_SUB_PLAN command (0x21)
  • Add revert_on_fail to the encoder methods for the commands whose failure the UR can tolerate
  • Capture the bytes some callers append after the UR arguments as trailing_data, and re-append them when rebuilding the calldata, so a decoded call can be rebuilt byte-for-byte
  • Make the chained function builders public and expose the encoder & decoder modules
  • Reduce CI time
  • Add a publish.yml GitHub Actions workflow that automatically publishes the package to PyPI and the MCP Registry with OIDC Trusted Publishing
  • Agent-friendly changes:
  • Add Encoder.function_input() / AsyncEncoder.function_input() to rebuild the calldata from a decoded call
  • Add decoded_input_to_dict() and transaction_to_dict() to render the decoder output as JSON-friendly dicts
  • Add the ur-decode and ur-encode command line tools, including ur-encode v3-path and its encode_v3_path MCP counterpart
  • Add the ur-mcp MCP server (optional mcp extra) so AI agents can drive the codec, including encode_calldata to rebuild the calldata from a decoded call
  • Annotate the MCP tools as read-only so a host can auto-approve them, and give them human-readable titles
  • The command descriptions (ur-encode list / describe and the list_commands / describe_command MCP tools) now describe the decoded call format and its ABI parameters, instead of the encoder methods
  • Add the MCP Registry metadata (server.json) to make the ur-mcp server discoverable
  • Add AGENTS.md and llms.txt for AI agents, plus a mcp PyPI keyword
  • Add tests/test_version_consistency.py to keep the packaging version, server.json and the README mcp-name: marker in sync

Overview and Points of Attention

The object of this library is to decode & encode transactions sent to the Uniswap Universal Router (UR) on Ethereum Mainnet, though it would work on any compatible chain where the UR is deployed. See Version Mapping below. This Python SDK is based on, and intended to be used with web3.py

The target audience is Python developers who are familiar with the Ethereum blockchain concepts and web3.py, and how DEXes work. The same codec is also available without Python, through the ur-decode / ur-encode command line tools and the optional ur-mcp MCP server (see "Command line interface" and "MCP server" below): both print JSON, so shell scripts and AI agents can drive it too.

⚠ Before using this library, ensure you are familiar with general blockchain concepts. The Python API also expects web3.py knowledge in particular.

⚠ Not all UR functions supported by this SDK are available through the CLI or MCP tools: run ur-encode list and look for the "rebuildable" flag.

List of supported Uniswap Universal Router Functions
Command IdUniversal Router FunctionUnderlying Action - FunctionSupported
0x00 / 0V3_SWAP_EXACT_IN✅
0x01 / 1V3_SWAP_EXACT_OUT✅
0x02 / 2PERMIT2_TRANSFER_FROM✅
0x03 / 3PERMIT2_PERMIT_BATCH✅
0x04 / 4SWEEP✅
0x05 / 5TRANSFER✅
0x06 / 6PAY_PORTION✅
0x07 / 7PAY_PORTION_FULL_PRECISION✅
0x08 / 8V2_SWAP_EXACT_IN✅
0x09 / 9V2_SWAP_EXACT_OUT✅
0x0a / 10PERMIT2_PERMIT✅
0x0b / 11WRAP_ETH✅
0x0c / 12UNWRAP_WETH✅
0x0d / 13PERMIT2_TRANSFER_FROM_BATCH✅
0x0e / 14BALANCE_CHECK_ERC20✅
0x0f / 15placeholderN/A
0x10 / 16V4_SWAP✅
0x06 - SWAP_EXACT_IN_SINGLE✅
0x07 - SWAP_EXACT_IN✅
0x08 - SWAP_EXACT_OUT_SINGLE✅
0x09 - SWAP_EXACT_OUT✅
0x0b - SETTLE✅
0x0c - SETTLE_ALL✅
0x0e - TAKE✅
0x0f - TAKE_ALL✅
0x10 - TAKE_PORTION✅
0x11 / 17V3_POSITION_MANAGER_PERMIT✅
0x12 / 18V3_POSITION_MANAGER_CALL✅
0x13 / 19V4_INITIALIZE_POOL✅
0x14 / 20V4_POSITION_MANAGER_CALL✅
0x02 - MINT_POSITION✅
0x0b - SETTLE✅
0x0d - SETTLE_PAIR✅
0x0e - TAKE✅
0x11 - TAKE_PAIR✅
0x12 - CLOSE_CURRENCY✅
0x13 - CLEAR_OR_TAKE✅
0x14 - SWEEP✅
0x15 - WRAP✅
0x16 - UNWRAP✅
0x15 - 0x20placeholdersN/A
0x21 / 33EXECUTE_SUB_PLAN✅
0x22 - 0x3fplaceholdersN/A
0x40 / 64ACROSS_V4_DEPOSIT_V3❌

All the ✅ commands can be decoded and encoded. V4_SWAP, V4_POSITION_MANAGER_CALL and EXECUTE_SUB_PLAN can also be decoded, but they cannot be rebuilt from a decoded call (see "How to rebuild the calldata from a decoded call").

Version Mapping

Here is the mapping between the Universal Router versions and the SDK ones


Installation

A good practice is to use Python virtual environments, here is a tutorial.

The library can be pip installed from pypi.org as usual:

# update pip to latest version if needed

pip install -U pip

install the decoder from pypi.org

pip install uniswap-universal-router-decoder

To install it from source:

pip install .

or for contributors:

pip install -e '.[mc

Nur der Anfang wird gezeigt; den Rest findest du im Repo

PopNx fragen