v0.1.5
Added
- Docker, multi-stage: new
Dockerfile(~150 MB final image, was ~280 MB) +
.dockerignore. Non-root UID 10001, healthcheck via curl. docker-compose.ymlminimal: server + optional Redis backend (commented)..github/workflows/docker.yml— multi-arch (linux/amd64,linux/arm64)
build & push to GHCR on every tag + master, with provenance and SBOM.
Image:ghcr.io/romanpert/mcp-aemps:latest.- ETag / If-None-Match revalidation in
app/cima_client.py— hot-path
CIMA queries (medicamento,presentaciones,maestras) now send
If-None-Matchagainst AEMPS's 30-min CDN cache; on 304 we return the
in-process cached payload without re-parsing. Reduces upstream load by
~10× on repeated queries. - README badges: CI status, Python versions, monthly downloads,
MCP Registry listing.
Changed
- Removed dead env vars:
RATE_LIMITandRATE_PERIODwere no longer
used after the v0.1.3 rate-limit refactor.server.jsonenv-var list
trimmed to:PORT,ALLOWED_ORIGINS,LOG_LEVEL,REDIS_URL. .gitignorenow covers.ruff_cache/,.mypy_cache/.
Architecture
- ETag cache is module-level in
cima_client.py(bounded LRU at 2048 entries)
— no Redis required for this layer; per-process is sufficient given CIMA's
long Cache-Control TTLs.
Roadmap notes
-
stdio MCP transport (Anthropic-canonical
uvx mcp-aemps stdiopattern)
deferred to v0.1.6 — fastapi-mcp 0.4.0 only exposes HTTP/SSE; needs either
upstream upgrade or an internal mcp-proxy bridge. Current HTTP transport
works with all clients via themcp-remotebridge (Claude Desktop) or
native HTTP support (Claude Code, Codex, VS Code, Cursor, Windsurf).⚠️ Docker image 0.1.5 withdrawn — use0.1.6orlater
The
ghcr.io/romanpert/mcp-aemps:0.1.5image had a
broken multi-arch
manifest (matrix race condition: onlylinux/arm64
was actually
published,linux/amd64pulls returnedno matching manifest for linux/amd64). The broken tag was deleted on
2026-05-05.Action required: users on Docker should pull
0.1.6or:latest.
PyPI users are unaffected —pip install mcp-aemps==0.1.5works fine.Fixed in v0.1.6: https://github.com/romanpert/mcp-ae
mps/releases/tag/v0.1.6