Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Descripción del creador (original en inglés)
Decode and encode Uniswap Universal Router calldata (V2, V3, V4). Read-only: never signs or sends.
Estos tres nunca se combinan en una sola puntuación: las opiniones, las mediciones y la popularidad son cosas distintas.
Todavía no escribimos un resumen sencillo para este. Abajo están los datos que leímos del registro.
Elige la app de IA que usas y copia la configuración.
RPC_URLNecesitas
¿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-decoderCompleta los valores vacíos antes de ejecutarlo.
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ú.
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.
RPC_URL envEsta configuración se genera a partir de la ficha del creador en el registro. Si el README dice otra cosa, sigue el README.
Se ejecuta en tu computadora; la lista de herramientas aparece en tu app de IA después de instalarlo.
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
El nombre en el registro se verificó con la cuenta de GitHub Elnaril, dueña del repo
Todavía no hemos leído este repo en GitHub
Todavía no hemos leído este repo en GitHub
Este se ejecuta en tu computadora; no hay endpoint en internet
Se ejecuta en tu computadora y usa ajustes locales en su lugar
Se ejecuta en tu computadora; solo podemos leer listas de herramientas de endpoints en internet
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.
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.
El registro no indica ninguna clave obligatoria, aunque algunos servidores te piden iniciar sesión la primera vez que los usas.
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).
El repo de GitHub cambió por última vez –, y la última versión (4.0.0) llegó al registro hace 9 días.
Las apps compatibles con MCP, como Claude Desktop, Claude Code, Cursor y VS Code. También necesitas Python (uv) en tu computadora.
En la misma categoría: Spec Driven Development, Remote Desktop Commander, Master CSS
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
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Inspect Master CSS classes, generated CSS, and project stylesheets from your AI client.
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.
Many thanks to everyone who has ☕️ offered some coffees! ☕️
or ⭐ starred this project! ⭐
It is greatly appreciated! :)
See the release notes page
revert_on_fail to the encoder methods for the commands whose failure the UR can toleratetrailing_data, and re-append them when rebuilding the calldata, so a decoded call can be rebuilt byte-for-byteencoder & decoder modulespublish.yml GitHub Actions workflow that automatically publishes the package to PyPI and the MCP Registry with OIDC Trusted PublishingEncoder.function_input() / AsyncEncoder.function_input() to rebuild the calldata from a decoded calldecoded_input_to_dict() and transaction_to_dict() to render the decoder output as JSON-friendly dictsur-decode and ur-encode command line tools, including ur-encode v3-path and its encode_v3_path MCP counterpartur-mcp MCP server (optional mcp extra) so AI agents can drive the codec, including encode_calldata to rebuild the calldata from a decoded callur-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 methodsserver.json) to make the ur-mcp server discoverableAGENTS.md and llms.txt for AI agents, plus a mcp PyPI keywordtests/test_version_consistency.py to keep the packaging version, server.json and the README mcp-name: marker in syncThe 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.
| Command Id | Universal Router Function | Underlying Action - Function | Supported |
|---|---|---|---|
| 0x00 / 0 | V3_SWAP_EXACT_IN | ✅ | |
| 0x01 / 1 | V3_SWAP_EXACT_OUT | ✅ | |
| 0x02 / 2 | PERMIT2_TRANSFER_FROM | ✅ | |
| 0x03 / 3 | PERMIT2_PERMIT_BATCH | ✅ | |
| 0x04 / 4 | SWEEP | ✅ | |
| 0x05 / 5 | TRANSFER | ✅ | |
| 0x06 / 6 | PAY_PORTION | ✅ | |
| 0x07 / 7 | PAY_PORTION_FULL_PRECISION | ✅ | |
| 0x08 / 8 | V2_SWAP_EXACT_IN | ✅ | |
| 0x09 / 9 | V2_SWAP_EXACT_OUT | ✅ | |
| 0x0a / 10 | PERMIT2_PERMIT | ✅ | |
| 0x0b / 11 | WRAP_ETH | ✅ | |
| 0x0c / 12 | UNWRAP_WETH | ✅ | |
| 0x0d / 13 | PERMIT2_TRANSFER_FROM_BATCH | ✅ | |
| 0x0e / 14 | BALANCE_CHECK_ERC20 | ✅ | |
| 0x0f / 15 | placeholder | N/A | |
| 0x10 / 16 | V4_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 / 17 | V3_POSITION_MANAGER_PERMIT | ✅ | |
| 0x12 / 18 | V3_POSITION_MANAGER_CALL | ✅ | |
| 0x13 / 19 | V4_INITIALIZE_POOL | ✅ | |
| 0x14 / 20 | V4_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 - 0x20 | placeholders | N/A | |
| 0x21 / 33 | EXECUTE_SUB_PLAN | ✅ | |
| 0x22 - 0x3f | placeholders | N/A | |
| 0x40 / 64 | ACROSS_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").
Here is the mapping between the Universal Router versions and the SDK ones
| UR Version | UR address on Ethereum | Python SDK version |
|---|---|---|
| v2.1.2 | 0x23617e59A5925b2A4Bf75d73ff6711cD0b29De85 | v3.1.0 & v4.0.0 |
| v2.1.1 | 0x4C82D1fBFe28C977cBB58D8C7FF8FCF9F70a2cCA | v3.0.0 |
| v2 | 0x66a9893cC07D91D95644AEDD05D03f95e1dBA8Af | v2.0.0 & v2.1.0 |
| v1.2 | 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD | v0.9.0 to v1.2.1 |
| v1 | 0xEf1c6E67703c7BD7107eed8303Fbe6EC2554BF6B | v0.8.0 |
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
pip install uniswap-universal-router-decoder
To install it from source:
pip install .
or for contributors:
pip install -e '.[mcSolo se muestra el principio; lee el resto en el repo