Repository navigation
Releases: amatiasdev/dof-mcp
Releases · amatiasdev/dof-mcp
Release list
v0.2.2
Patch Changes
- #17
731a419Thanks @amatiasdev! - README on npm: hosted endpoint privacy notice, project badges, and links to the new documentation (docs/: index and full tool reference).
v0.2.1
Patch Changes
- #8
5b9801aThanks @amatiasdev! - Hosted endpoint: each request's log line now records the JSON-RPC method, the tool name, the client's self-reported name and version, and whether the tool returned an error. IPs and tool arguments are never logged; client-supplied labels are sanitized and truncated.
v0.2.0
Minor Changes
-
#4
d6cbe24Thanks @amatiasdev! - Hosted endpoint support and source citations:dof_get_notereturns acitationin the format SIDOF's legal notice requires when reproducing its content (citeNoteis exported too)createDofHttpHandleracceptsrequiredHeader(a shared secret a CDN adds in front of a public deployment),maxRequestBodySizeandmaxSubscriptionsdist/lambda.jsadapts the server to AWS Lambda behind API Gateway HTTP API; it refuses to start withoutDOF_ALLOWED_HOSTSandDOF_ORIGIN_SECRET
v0.1.0
Minor Changes
-
#1
eadfee3Thanks @amatiasdev! - First release: MCP server for the Diario Oficial de la Federación.- Tools
dof_daily_summary,dof_get_noteanddof_get_indicators(FIX, UDIS, TIIE), over stdio or stateless Streamable HTTP - Client methods for note detail and indicators, with provenance (
sourceUrl,fetchedAt,sha256,bytes) on every result - Hardened requests: no redirects, response size cap, backoff with jitter and
Retry-After, bounded TTL cache with request de-duplication, concurrency and queue limits, real-date validation, note HTML converted to text with htmlparser2 (linear time on malformed input) - Requires Node.js 22 or later
- Tools
Patch Changes
-
#3
362d361Thanks @amatiasdev! - Pre-publish review fixes:- Unknown note ids and dates without data report "not found" (
DofNotFoundError) instead of an upstream failure with a retry hint dof_daily_summaryanddof_get_indicatorsreject future dates with a clear messagerequire("dof-mcp")works on Node.js 22.12+ (defaultexport condition)- CLI: readable errors for unknown options and busy ports;
--helplists-hand-v - Network errors include the cause code (for example
ENOTFOUND) - README: client setup for Claude Desktop, Cursor and Windows; license scope of DOF content
- Security audit: note HTML nested more than 1000 levels fails fast with
HtmlTooDeepError(htmlparser2's stack is O(depth) per tag); schema errors are summarized in a few hundred characters instead of serializing every issue; SIDOF dates are validated before they reach official URLs; only real network failures are reported as "could not reach SIDOF"
- Unknown note ids and dates without data report "not found" (