convez.ai
MCP ServerIntegração & APIsAvançado
tx3-lang

Tx3 MCP Server

tx3-lang/tx3-mcp

Ferramentas Tx3 estruturadas para IA via Model Context Protocol

Ver no GitHub
InicialPluginScore · de 0 a 100

Servidor MCP que expõe a toolchain Tx3 como ferramentas estruturadas para agentes de IA e editores. Oferece parsing, análise, compilação e inspeção de projetos na linguagem Tx3 para contratos inteligentes Cardano.

Instalação

$npx convez-ai tx3-lang/tx3-mcp

1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.

Métricas

Estrelas
0
Forks
0
Acompanhando
0
Saúde
50%
Último commit
há 1 mês
Versão
v0.5.0
Issues abertas
0
Contribuidores
1

Casos de uso

  • Desenvolvimento de contratos inteligentes Cardano em Tx3
  • Análise e validação de código Tx3 com diagnostics estruturados
  • Compilação e inspeção de projetos Tx3 em agentes de IA
  • Integração de Tx3 em editores via MCP

Veredito

MCP server robusto e bem mantido para ecossistema Tx3/Cardano. Ideal para desenvolvedores que precisam integrar verificação e compilação de contratos inteligentes em fluxos de IA, com diagnósticos estruturados e boa ergonomia.

README

A tradução para o português deste README ainda está na fila.

tx3-mcp

A Model Context Protocol server that exposes the Tx3 toolchain as structured tools for AI agents and editors.

What it does

tx3-mcp runs as a stdio MCP server and offers seven tools backed by the same tx3-lang, tx3-cardano, and tx3-tir crates that power trix and the official LSP:

ToolPurpose
tx3_parseParse a Tx3 source string and return its AST or structured parse errors.
tx3_checkRun the analyzer over a Tx3 source string or file and return diagnostics with line/column spans.
tx3_lowerLower a single named transaction to its TIR JSON.
tx3_compileLower, apply arguments, and compile a transaction against Cardano protocol parameters.
tx3_inspect_projectRead a trix.toml, build a workspace, and summarize transactions/parties/assets.
tx3_examples_listList the curated example programs bundled into the binary.
tx3_example_getReturn the source of a bundled example.

Diagnostics are rendered as structured JSON with severity, code, message, help, and per-span line/column offsets — usable directly by editors and agents.

Installation

The recommended way to install tx3-mcp is via tx3up, which manages the entire Tx3 toolchain:

tx3up

This places tx3-mcp in ~/.tx3/<channel>/bin/, which tx3up adds to your PATH. Verify with:

tx3-mcp --version

Alternatively, install directly from crates.io:

cargo install tx3-mcp

Use in Claude Code

The companion tx3-skills plugin wires tx3-mcp into Claude Code along with two skills (tx3-language, tx3-project), four slash commands (/tx3:new, /tx3:check, /tx3:inspect, /tx3:explain), and a save hook that runs tx3_check on .tx3 edits.

claude plugin install https://github.com/tx3-lang/tx3-skills

Use directly

To use tx3-mcp from any MCP-compatible client (editor extensions, custom agents), point it at the binary:

{
  "mcpServers": {
    "tx3": { "command": "tx3-mcp" }
  }
}

Compatibility

tx3-mcp 0.1.x is compatible with tx3 0.17.x. The dependency is pinned (tx3-lang = "=0.17") in Cargo.toml; new tx3 minor releases require a corresponding tx3-mcp release. Compatibility for newer tx3 versions will be tracked in this README and in the tx3-lang/toolchain channel manifest consumed by tx3up.

License

Apache-2.0

Ver o original no GitHub

Bom para

Relacionados