Skip to main content
ST

STP SPEI

v0.2.0-alpha.2API Keyalpha

Transferencias bancarias instantáneas mexicanas vía SPEI. Tu agente envía y recibe MXN en tiempo real por el sistema de pagos nacional.

18 herramientas2 env vars🇲🇽 Méxicoalpha — validación pendiente

Qué puede hacer tu agente

STP SPEI le da a tu agente 18 tools que llama directo — elegí las que necesite, en Claude, Cursor o cualquier cliente MCP.

  • create_transferCreate a SPEI transfer
  • get_transferGet transfer details by ID
  • list_transfersList transfers with filters
Ejemplo de llamada
// Your agent calls a tool directly — no glue code.
// CodeSpar's managed tier handles OAuth2, token rotation and rate limits.
const result = await session.call("create_transfer", { /* ... */ });

Instalar

terminal
$ npm install @codespar/mcp-stp-spei@alpha

Quickstart

Agregá esta entrada a tu claude_desktop_config.json (o a la config de cualquier cliente compatible con MCP).

claude_desktop_config.json
{
  "mcpServers": {
    "stp-spei": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-stp-spei@alpha"
      ],
      "env": {
        "STP_API_KEY": "<your_stp_api_key>",
        "STP_COMPANY": "<your_stp_company>"
      }
    }
  }
}

Después de reiniciar, tu agente puede llamar cualquiera de las 18 herramientas de abajo — probá create_transfer primero.

Variables de entorno · 2

Necesarias para autenticar el server. Almacenadas cifradas al usar el hosting gestionado de CodeSpar.

STP_API_KEY
obligatoriosecret

API key for STP

STP_COMPANY
obligatorio

Company identifier for STP

Herramientas disponibles · 18

Cada herramienta es independiente — tu agente carga solo lo que necesita para reducir contexto y tiempo de respuesta.

WRITEcreate_transfer
Create a SPEI transfer
READget_transfer
Get transfer details by ID
READlist_transfers
List transfers with filters
DELETEcancel_transfer
Cancel a pending SPEI orden by clave_rastreo (only works while orden is pending)
READget_balance
Get account balance
READlist_account_balances
List balances for all company accounts
WRITEvalidate_account
Validate a CLABE account number against the receiving bank (online check)
WRITEvalidate_clabe
Validate CLABE structure and checksum locally (no API call). Returns bank code, plaza, account, and check digit

Frameworks compatibles

MCP es un protocolo — cualquier framework que lo hable puede montar este server.

Claude Agent SDKAnthropic
OpenAI AgentsOpenAI
Vercel AI SDKVercel
LangChainLangChain
LlamaIndexLlamaIndex
CrewAICrewAI
MastraMastra
Cualquier cliente MCPProtocolo

Preguntas frecuentes

Corré `npx -y @codespar/mcp-stp-spei` y agregá el bloque de config de arriba a tu cliente MCP — Claude, Cursor, VS Code o cualquier cliente compatible con MCP. Sin build, sin SDK. ¿Preferís hosted? El tier gestionado de CodeSpar lo corre por vos, con la auth resuelta.
STP SPEI — MCP server · 18 tools | CodeSpar