MCP server
The MCP server connects Veriko to Cursor or to any other client compatible with the Model Context Protocol. From the assistant you can ask it to check a payment against the Banxico CEP, to tell you what became of an earlier validation or to download the receipt.
It exposes 73 of the 75 public M2M operations as tools. It leaves out the two purge operations (prepare and execute), because a permanent deletion cannot be undone. It adds three tools that wait for an asynchronous result: veriko_wait_for_validation, veriko_wait_for_cep_export and veriko_wait_for_beneficiary_import. That makes 76 tools in the all profile.
Installation
It requires Node.js 20 or later. The client starts the server with npx, without cloning anything:
npx -y @veriko-mx/mcpIn a client that accepts JSON configuration (Cursor and similar):
{
"mcpServers": {
"veriko_mcp": {
"command": "npx",
"args": ["-y", "@veriko-mx/mcp"],
"env": { "VERIKO_API_KEY": "veriko_your_key" }
}
}
}Create your API key in the Veriko console. The key is never a tool argument: the server reads it only from VERIKO_API_KEY, so text injected into a page the model is reading cannot ask for it. The tools that read public data (plans profile, Banxico status, bank catalog) work without a key.
Environment variables
| Variable | What it does | Default |
|---|---|---|
VERIKO_API_KEY | Integrator API key | none |
VERIKO_MCP_PROFILE | core, all, one family or several separated by commas | core |
VERIKO_MCP_MAX_RISK | Highest risk advertised: read, write or destructive | write |
VERIKO_BASE_URL | API base URL (HTTPS; HTTP only for localhost) | the production API |
VERIKO_ACCEPT_LANGUAGE | Language of the API error text: en or es | en |
Profiles
The profile decides which families of tools the model sees. Advertising a tool spends context before the model calls anything, so the default profile is core and families are added when needed.
| Profile | Tools |
|---|---|
core | Validate, validate an account, list, get, wait for and download a CEP, and the usage limits |
validations | The full validation lifecycle |
webhooks | Endpoints, deliveries and secrets |
catalog | Banks, SPEI calendar, BIN and Banxico status |
beneficiaries | Listing and bulk import |
usage | Consumption, limits and export |
account | Profile and retry policy |
dashboard | Operational summary |
plans | Public plans |
insights | Aggregated metrics |
finance | Summaries, downloads and CEP exports |
billing | Active subscription |
all | All 76 tools |
Risk levels
Risk is controlled separately from the profile, with VERIKO_MCP_MAX_RISK:
read: queries and downloads only.write(default): adds validations and ordinary changes.destructive: adds deletions, cancellations, secret rotation and the confirmation of imports.
When the client declares the elicitation capability, the server asks for confirmation before the destructive operations. If the answer is no, nothing is sent to the API.
Transports
- stdio (
npx -y @veriko-mx/mcp): the client starts the server as a local process and the key is read fromVERIKO_API_KEY. - Streamable HTTP: a stateless server that you run yourself, for example behind an HTTPS proxy. Each request carries the key in
Authorization: Bearerand can narrow the profile and the risk with theX-Veriko-ProfileandX-Veriko-Max-Riskheaders, never above what the server allows. The instructions to run it and the security notes are in the repository.
What else it includes
- Each tool declares an output schema and returns structured data besides the text.
- Each write sends an
Idempotency-Key. To retry safely, repeat the call with the sameidempotency_key. - The wait tools poll until the resource reaches a final status or time runs out, and say when to ask again.
- An error returns
code,statusand whether it can be retried, with the same stablecodeas the API. See Errors. - Six guided prompts cover the usual flows, such as checking a transfer or reconciling a month.
Repository
The code, the changelog and the security guide are in the MCP server repository.