Remote server
https://mcp.cufea.com/co serves the tools over MCP Streamable HTTP. Nothing to install: each
request is authenticated by its own Authorization: Bearer <key> header and must carry a
cufea_sandbox_ key from the developer console; there is no
OAuth flow. Replace cufea_sandbox_... with your key (or export it as CUFEA_API_KEY where
the snippet reads it).
- Claude Code
- Codex
- OpenCode
- Cursor
401 (with WWW-Authenticate: Bearer) when the header is missing
and 403 with sandbox_only for a key that is not a cufea_sandbox_ key; it has no
production switch. It keeps no session: every request builds a fresh server for its key.
Tools
Each tool has an input schema whose descriptions explain the DIAN fields (NIT and check digit,
DANE city and department codes, tax schemes, payment forms…), and returns structured
content. Creates drop the answer’s
xml_base64; cufea_download_xml serves the XML.
cufea_create_invoice, cufea_send_invoice, cufea_create_note, cufea_send_note,
cufea_create_event and cufea_create_webhook_endpoint take an optional idempotency_key:
the same key and body replays the first answer instead of acting twice. Give creates a
reference too, so cufea_find_document can tell whether a document whose answer was lost
exists.
Errors
A failed call is an MCP tool error (isError: true) whose text is JSON:
code is the API’s stable problem code (see Errors), or one of the server’s
own: sandbox_only, connection_error, timeout, wait_timeout, invalid_arguments,
internal_error. Stack traces and the API key never appear.
Documentation MCP
This documentation site also serves a search MCP server athttps://docs.cufea.com/mcp, so an
agent can search these pages. Use it next to the Cufea MCP server: one reads the docs, the
other calls the API.