Encontra rotas de bridge de USDC mais baratas entre diferentes blockchains para agentes de IA minimizarem custos de transação.
Também conhecido como RectaBuild/recta, @recta/mcp
- Stars
- 0
- Ferramentas
- —
- Downloads, 30 dias
- —
- Versão mais recente
- 1.3.4
- Último commit
- 13 de nov. de 2026
- Licença
- —
O que é o MCP Recta?
Recta é um MCP server. Encontra rotas de bridge de USDC mais baratas entre diferentes blockchains para agentes de IA minimizarem custos de transação.
Resumo gerado a partir do README do projeto
Sobre o MCP server de Recta
A Recta oferece um mecanismo de preflight para agentes de IA que precisam movimentar USDC entre diferentes blockchains. Ele funciona verificando se existe uma rota de bridge mais barata no estado atual da rede antes que uma transferência seja iniciada. Este serviço é gratuito se nenhuma economia for encontrada, mas cobra exatamente 5% de qualquer economia verificada on-chain. O agente retém pelo menos 95% do valor economizado através dessas rotas otimizadas.
Desenvolvedores podem executar isso como um MCP server local usando o pacote @recta/mcp, que funciona com clientes como Claude ou Cursor. Por ser um servidor local, as chaves privadas do agente permanecem na máquina e nunca são compartilhadas com o serviço. O servidor utiliza streamable HTTP e não requer uma API key para operação. Ele também oferece integração especializada como um provedor de action para Coinbase AgentKit e um plugin GOAT para auxiliar na avaliação e execução de transações.
O que você pode fazer com ele
- 1Minimizar custos de bridge de stablecoinsUm agente de IA pode verificar rotas de transferência de USDC mais baratas antes de confirmar uma transação de bridge em blockchain.
- 2Execução segura de transaçõesDesenvolvedores podem garantir que seus agentes de IA assinem e enviem cada transação por conta própria, sem compartilhar chaves privadas.
- 3Verificar cobertura de redeUm agente pode realizar uma verificação sem assinatura para ver se um par específico de rede de origem e destino é suportado.
Escrito a partir do README do projeto. Cada caso de uso é verificado com uma citação dele.
Como instalar o MCP Recta
Formatos verificados em 10 nov 2026Adicionar ao CursorAdicionar ao GooseInstalar o MCP Recta no Claude Code
$ claude mcp add --env 'RECTA_PRIVATE_KEY=<YOUR_RECTA_PRIVATE_KEY>' recta -- npx -y @recta/mcpInstalar o MCP Recta no Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"recta": {
"command": "npx",
"args": [
"-y",
"@recta/mcp"
],
"env": {
"RECTA_PRIVATE_KEY": "<YOUR_RECTA_PRIVATE_KEY>"
}
}
}
}Instalar o MCP Recta no VS Code
.vscode/mcp.json
{
"servers": {
"recta": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@recta/mcp"
],
"env": {
"RECTA_PRIVATE_KEY": "<YOUR_RECTA_PRIVATE_KEY>"
}
}
}
}Instalar o MCP Recta no VS Code CLI
$ code --add-mcp '{"name":"recta","type":"stdio","command":"npx","args":["-y","@recta/mcp"],"env":{"RECTA_PRIVATE_KEY":"<YOUR_RECTA_PRIVATE_KEY>"}}'Instalar o MCP Recta no Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"recta": {
"command": "npx",
"args": [
"-y",
"@recta/mcp"
],
"env": {
"RECTA_PRIVATE_KEY": "<YOUR_RECTA_PRIVATE_KEY>"
}
}
}
}Instalar o MCP Recta no Codex
$ codex mcp add recta --env 'RECTA_PRIVATE_KEY=<YOUR_RECTA_PRIVATE_KEY>' -- npx -y @recta/mcpInstalar o MCP Recta no Codex config.toml
~/.codex/config.toml
[mcp_servers.recta] command = "npx" args = ["-y", "@recta/mcp"] [mcp_servers.recta.env] RECTA_PRIVATE_KEY = "<YOUR_RECTA_PRIVATE_KEY>"
Instalar o MCP Recta no Gemini CLI
$ gemini mcp add -s user -e 'RECTA_PRIVATE_KEY=<YOUR_RECTA_PRIVATE_KEY>' recta npx -- -y @recta/mcpInstalar o MCP Recta no Gemini settings.json
~/.gemini/settings.json
{
"mcpServers": {
"recta": {
"command": "npx",
"args": [
"-y",
"@recta/mcp"
],
"env": {
"RECTA_PRIVATE_KEY": "<YOUR_RECTA_PRIVATE_KEY>"
}
}
}
}Configuração
RECTA_PRIVATE_KEYSecretoThe agent wallet's private key (EOA), used only locally to sign and never sent to Recta. Optional: without it the server offers only the free tools recta_fit and recta_trial_evaluation.
RECTA_ADDRESSWithout a key: the public address the free trial uses as sender (never a key).
RECTA_ALLOWED_RECIPIENTSAddresses, separated by commas, that may receive a transfer besides the wallet itself. Any other recipient is refused before anything is signed.
RECTA_ALLOW_EXECUTESet to yes to let the agent sign fee permits and send transactions. Anything else keeps the server read and preview only.
RECTA_MAX_AMOUNTThe most one transfer may move, in whole tokens of the source asset (1000 with USDC means 1000 USDC). A larger amount is refused before anything is signed.
RECTA_MAX_FEE_USDCThe most one fee permit may authorize, in USDC.
RECTA_MIN_OUTPUT_BPSThe route must guarantee the recipient at least this share of the amount sent, in basis points.
| Nome | Descrição | Tipo |
|---|---|---|
| RECTA_PRIVATE_KEY | The agent wallet's private key (EOA), used only locally to sign and never sent to Recta. Optional: without it the server offers only the free tools recta_fit and recta_trial_evaluation. | Secreto |
| RECTA_ADDRESS | Without a key: the public address the free trial uses as sender (never a key). | |
| RECTA_ALLOWED_RECIPIENTS | Addresses, separated by commas, that may receive a transfer besides the wallet itself. Any other recipient is refused before anything is signed. | |
| RECTA_ALLOW_EXECUTE | Set to yes to let the agent sign fee permits and send transactions. Anything else keeps the server read and preview only. | |
| RECTA_MAX_AMOUNT | The most one transfer may move, in whole tokens of the source asset (1000 with USDC means 1000 USDC). A larger amount is refused before anything is signed. | |
| RECTA_MAX_FEE_USDC | The most one fee permit may authorize, in USDC. | |
| RECTA_MIN_OUTPUT_BPS | The route must guarantee the recipient at least this share of the amount sent, in basis points. |
Verificações automatizadas
Executado em 15 de nov. de 2026Relatório completo →Passou em nossas verificações automatizadas. Isso não é uma auditoria de segurança: leia o código e dê ao servidor o acesso mais restrito de que ele precisa. Como as verificações funcionam · O que corrigir para ganhar mais pontos
- Repositório de origem vinculado e acessívelrectabuild/recta is public and reachablegithub.com/rectabuild/recta ↗Passou
- O pacote indica este repositório como sua origem@recta/mcp names rectabuild/recta as sourcenpmjs.com/package/@recta/mcp ↗Passou
- Proveniência da build (atestação Sigstore)Sigstore attestation for @recta/mcpnpmjs.com/package/@recta/mcp/v/0.1.14#provenance ↗Passou
- Licença de código aberto (OSI)No licenseProblema encontrado
- Commit ou release no último anoLast commit or release 2026-11-13github.com/rectabuild/recta ↗Passou
- OpenSSF ScorecardNão verificado
- Nome do pacote não é próximo a um pacote popularNo popular package one edit away from @recta/mcpPassou
- Nenhum aviso crítico no pacote ou em suas dependênciasthe package checked; no critical advisoryosv.dev ↗Passou
- Sem instruções ocultas para o modelo0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersPassou
- Ferramentas destrutivas estão rotuladasNão verificado
- O endpoint remoto responde ao handshake do MCPinitialize answered with protocol 2025-06-18 in 136 msPassou
README
Ver no GitHubRecta
Preflight for AI agents that move stablecoins between blockchains: before a bridge transfer, ask Recta whether a cheaper route exists at the same chain state. Free when there is none; otherwise exactly 5 % of the saving verified on chain. The agent keeps at least 95 % of every verified saving.
- Docs for agents: https://api.recta.build/llms.txt
- MCP server (Streamable HTTP, no API key): https://api.recta.build/mcp
- OpenAPI: https://api.recta.build/openapi.json
- Wallet allowlist for agent wallets: https://api.recta.build/v1/golden-corridor/wallet-policy
- Coverage check (unsigned, free): https://api.recta.build/v1/golden-corridor/fit?source_network=ethereum&source_asset=USDC&destination_network=arbitrum&destination_asset=USDC
Recta never holds keys or funds: your agent signs and sends every transaction itself.
Client package
packages/client is @recta/client: evaluate, authorize the fee, execute and report from your
agent's own wallet, with local checks before every signature. Published to npm from this repository with provenance.
Local MCP server
packages/mcp is @recta/mcp: a local MCP server over the client, so Claude, Cursor or any MCP agent
runs the same flow with its own key, which stays on the machine. Execution is off until the operator turns it on.
The evaluation tools also come as a Coinbase AgentKit action provider (@recta/mcp/agentkit) and a GOAT plugin
(@recta/mcp/goat).
What is in this repository
The tools an agent uses to call Recta: the Agent Skill, the AGENTS.md snippet and, as they are published, the client
and local MCP packages. The server behind api.recta.build is not published here; its MCP endpoint above is the one
listed in the official MCP Registry as io.github.RectaBuild/recta.
Perguntas sobre o MCP Recta
Como adiciono o MCP Recta ao Claude Code?
Execute claude mcp add --env 'RECTA_PRIVATE_KEY=<YOUR_RECTA_PRIVATE_KEY>' recta -- npx -y @recta/mcp no seu terminal. Adicione --scope user para torná-lo disponível em todos os projetos.
Como adiciono o MCP Recta ao Cursor?
Abra ~/.cursor/mcp.json e adicione o servidor em mcpServers, usando a configuração do Cursor mostrada na seção de instalação acima.
Quanto a Recta cobra?
O serviço é gratuito se nenhuma rota mais barata for encontrada; caso contrário, cobra exatamente 5% da economia verificada.
A Recta retém minhas chaves privadas ou fundos?
Não, a Recta não retém nenhuma chave ou fundos; o agente é responsável por assinar e enviar cada transação.
Como o MCP server lida com a autenticação?
O MCP server utiliza streamable HTTP e não requer uma API key.