Prototipo · Versión preliminar: todos los servidores del registro oficial, sincronizados cada 30 minutos. Las reseñas y las cuentas llegarán en una etapa posterior.
PopNx MCPServidores MCP para quienes usan IA · explicados con palabras sencillas

Uniswap Universal Router Decoder

de Elnarilversión 4.0.0i★ –iSe ejecuta en tu computadora
Nombre en el registroio.github.Elnaril/uniswap-universal-router-decoder

Instalar

Resumen

Descripción del creador (original en inglés)

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

Los tres pilares de PopNx MCP

Estos tres nunca se combinan en una sola puntuación: las opiniones, las mediciones y la popularidad son cosas distintas.

Qué puedes hacer con él

Todavía no escribimos un resumen sencillo para este. Abajo están los datos que leímos del registro.

  • Conexión: Se ejecuta en tu computadora
  • Transporte: stdio
  • Categoría: Otros

Instalación

Elige la app de IA que usas y copia la configuración.

Antes de instalar

Necesitas

  • PyPIuv de Python instalado (para el comando uvx)

¿Qué app usas?

Elige tu app arriba. La recordamos, así que la próxima vez el botón dirá “Instalar en …”.

Abre Claude Desktop → Settings → Developer → Edit Config y pega esto en claude_desktop_config.json

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

Ejecuta esto en tu terminal

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

Completa los valores vacíos antes de ejecutarlo.

Abrir en Cursor

O copia la configuración tú

Pégalo en .cursor/mcp.json de tu proyecto, o en ~/.cursor/mcp.json

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

Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.

Abrir en VS Code

O copia la configuración tú

Pégalo en .vscode/mcp.json de tu proyecto

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

Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.

Este se ejecuta en tu computadora, y ChatGPT solo puede conectarse a servidores en internet. Elige otra app.

Tu elección se guarda en una cookie en este dispositivo; no necesitas cuenta.

Valores que debes completar

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

Esta configuración se genera a partir de la ficha del creador en el registro. Si el README dice otra cosa, sigue el README.

Qué puede hacer

Se ejecuta en tu computadora; la lista de herramientas aparece en tu app de IA después de instalarlo.

Revisiones básicasi

Revisamos información que cualquiera puede ver; no hemos leído el código. Las revisiones que no aplican no se cuentan. · Revisado el 7 nov 2026

  • ✓ Superada

    El creador coincide con el repo

    El nombre en el registro se verificó con la cuenta de GitHub Elnaril, dueña del repo

  • … Aún sin revisar

    Sigue en mantenimiento

    Todavía no hemos leído este repo en GitHub

  • … Aún sin revisar

    Tiene licencia

    Todavía no hemos leído este repo en GitHub

  • – No aplica

    El endpoint responde

    Este se ejecuta en tu computadora; no hay endpoint en internet

  • – No aplica

    Inicio de sesión con OAuth

    Se ejecuta en tu computadora y usa ajustes locales en su lugar

  • … Aún sin revisar

    Sin instrucciones ocultas en las descripciones de herramientas

    Se ejecuta en tu computadora; solo podemos leer listas de herramientas de endpoints en internet

Comparado con otros en Otrosi

  • Más estrellas que el 0% de los otros 32684 servidores de esta categoría
  • Publicado en el registro más recientemente que el 79% de los otros 32684 servidores de esta categoría
  • Revisiones básicas iguales o mejores que el 100% de los otros 32684 servidores de esta categoría

Comparado con todos los servidores activos de esta categoría en el registro. Las estrellas solo cuentan cuando quien lo publica es dueño del repo.

Preguntas frecuentes

¿Es seguro Uniswap Universal Router Decoder?

Superó 1 de 1 revisiones básicas aplicables. No hemos leído el código. Antes de agregar una clave o un token, revisa qué acceso pide el servidor y usa una clave que tenga solo los permisos que necesitas.

¿Qué claves o códigos necesita?

El registro no indica ninguna clave obligatoria, aunque algunos servidores te piden iniciar sesión la primera vez que los usas.

¿Se ejecuta en mi computadora o en la nube?

Se ejecuta en tu computadora. Tu app de IA lo inicia cuando hace falta, y los datos no pasan por los servidores del creador (a menos que el propio servidor llame a un servicio en línea).

¿Sigue en mantenimiento?

El repo de GitHub cambió por última vez –, y la última versión (4.0.0) llegó al registro hace 9 días.

¿Qué apps pueden usarlo?

Las apps compatibles con MCP, como Claude Desktop, Claude Code, Cursor y VS Code. También necesitas Python (uv) en tu computadora.

¿Qué puedo usar en su lugar?

En la misma categoría: Spec Driven Development, Remote Desktop Commander, Master CSS

Alternativas

Servidores de la misma categoría hechos por otros creadores, ordenados por estrellas.

Cómo leer una tarjeta:★ Estrellas de GitHubiTres pilares: reseñas · revisiones · usoiActualizado = fecha en que se publicó la última versión en el registroi

Spec Driven Development

de formulahendry

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

Se ejecuta en tu computadora★ 440MITActualizado hace 14 meses
Instalar

Remote Desktop Commander

de desktop-commander

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

Se ejecuta en la nube★ 211Actualizado anteayer
Instalar

Master CSS

de master-co

Inspect Master CSS classes, generated CSS, and project stylesheets from your AI client.

Se ejecuta en tu computadoraActualizado hoy
Instalar

README del creador

Abrir el README

Copiado tal cual del repo del creador. PopNx MCP no lo ha revisado ni lo respalda. Se quitaron HTML, imágenes y scripts. Los enlaces llevan fuera de este sitio.

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

Solo se muestra el principio; lee el resto en el repo

Pregunta a PopNx