Timbrix — CFDI 4.0 para México

v0.5.0
mx.timbrix/mcp Checked 3 days ago Published 2 months ago

Official Timbrix MCP server: stamp, cancel, and query Mexican CFDI 4.0 invoices from AI agents.

Values you need

VariableWhat it is
TIMBRIX_API_KEYrequired secret API key created in the Timbrix dashboard, scoped to one organization

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add mcp -e 'TIMBRIX_API_KEY=<TIMBRIX_API_KEY>' -- npx -y --package=@timbrix/mcp@0.5.0 timbrix-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcp": {
      "args": [
        "-y",
        "--package=@timbrix/mcp@0.5.0",
        "timbrix-mcp"
      ],
      "command": "npx",
      "env": {
        "TIMBRIX_API_KEY": "<TIMBRIX_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp": {
      "args": [
        "-y",
        "--package=@timbrix/mcp@0.5.0",
        "timbrix-mcp"
      ],
      "command": "npx",
      "env": {
        "TIMBRIX_API_KEY": "<TIMBRIX_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "TIMBRIX_API_KEY",
      "id": "timbrix-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "mcp": {
      "args": [
        "-y",
        "--package=@timbrix/mcp@0.5.0",
        "timbrix-mcp"
      ],
      "command": "npx",
      "env": {
        "TIMBRIX_API_KEY": "${input:timbrix-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp]
command = "npx"
args = ["-y", "--package=@timbrix/mcp@0.5.0", "timbrix-mcp"]
env = { "TIMBRIX_API_KEY" = "<TIMBRIX_API_KEY>" }

Remote (hosted)

Run in a terminal
claude mcp add --transport http mcp https://mcp.timbrix.mx/mcp --header 'Authorization: <Authorization>'
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "mcp": {
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.timbrix.mx/mcp",
        "--header",
        "Authorization: <Authorization>"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "url": "https://mcp.timbrix.mx/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "mcp": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "type": "http",
      "url": "https://mcp.timbrix.mx/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://mcp.timbrix.mx/mcp", "--header", "Authorization: <Authorization>"]

For AI agents

  1. Ask the user for: TIMBRIX_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: timbrix_crear_cfdi_ingreso, timbrix_cancelar_cfdi, timbrix_listar_cfdi, timbrix_consultar_saldo.
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json