Skip to content

Evidence Lab v1.2.0 — MCP & A2A Server Integration

Choose a tag to compare

@dividor dividor released this 30 Mar 04:09
· 1118 commits to main since this release
3699cb7

Evidence Lab v1.2.0

v1.2.0 introduces native integration with external AI systems via the Model Context Protocol (MCP) and the Google Agent-to-Agent (A2A) protocol, enabling AI assistants and autonomous agents to search, retrieve, and reason over your document collections directly. This release also adds a UN Mandates Registry data source, OCR support for scanned PDFs, and a range of fixes and performance improvements.

📋 Full changelog: CHANGELOG.md


What's Changed

MCP & A2A Server Integration (#236, #240, #243)

  • Integrated MCP server with search, get_document, list_documents, get_chunk, search_chunks tools
  • A2A protocol endpoint with research and search skills, SSE streaming, Agent Card
  • Admin audit log tab with filtering by protocol (MCP vs A2A), user, and date

Security Hardening (#241)

  • API key values stored encrypted (Fernet/AES-128-CBC)
  • Nginx hardening, auth improvements, MCP/A2A ownership enforcement

Demo & CI (#242)

  • CI mode for automated end-to-end demo smoke tests with weekly scheduled runs

New Data Source (#226, #232)

  • UN Mandates Registry data source with field mappings, filters, metadata panel, and SDG taxonomy

OCR Fallback (#227, #231)

  • --ocr-fallback flag and parse.ocr_fallback config for scanned PDF support
  • Auto-retries documents parsing to fewer than 10 words; tracks sys_ocr_applied

Auth Fixes (#234, #235)

  • Added credentials and X-API-Key to all frontend fetch calls, fixing 401 errors on translate/highlight

UI Fixes (#224, #233)

  • Fixed mobile search filter overlap
  • Removed duplicate scrollbar on document column filters

Stats Fix (#225)

  • Fixed bar chart showing only the first organisation instead of all

Performance & Infrastructure (#223, #228, #229, #230)

  • Tuned Postgres autovacuum and Qdrant write performance
  • Vertex AI rate limiter to prevent 429s
  • Docker Hub auth in CI to avoid pull rate limiting
  • Fixed brotli-compressed Qdrant snapshot handling

Documentation (#221, #222, #239, #244)

  • Application architecture diagrams
  • MCP and A2A connection guides
  • Comprehensive CLAUDE.md with architecture, commands, and patterns

Dependency Updates

  • FastAPI, Docling, PyMuPDF, RapidOCR, LangChain Core, Uvicorn, Selenium, TypeScript tooling (#206–#219)

⬆️ Upgrading

Database migrations — run alembic upgrade head before starting the updated services. Six new migrations (0020–0025) are included; see the changelog for details.

New services — the MCP/A2A server runs as a separate container (mcp-server) on port 8001. No changes required to existing API or UI configuration.

Full diff: v1.1.0...v1.2.0