Open Source Agent Tools

Production tools for AI agents: MCP servers, knowledge infrastructure and context management. All TypeScript, free and open source.

Where it came from

Grounding, privacy and retrieval checks taken out of the platform, which still runs them from npm.

How the builds work

We build Opafex in the open and publish these tools as standalone packages. MCP servers for Claude Code, Cursor and VS Code, plus agent infrastructure.

Available now

@opafex/mcp-approval-queue

A human approval gate for AI agents.
The agent asks first, and only a person can approve.

v0.2.0 · source on GitHub

@opafex/mcp-web-research

Web search and page reading for agents.
It refuses private network addresses, even after a redirect.

v0.1.0 · source on GitHub

@opafex/mcp-enrichment

Multi-source enrichment covers company data, contact lookup, email verification and phone validation.
It uses Clearbit, Hunter.io and Twilio with mock mode and pluggable caching.

v0.1.1 · source on GitHub

@opafex/mcp-file-processor

Text extraction for RAG pipelines, with keyword extraction, language detection and chunking.
PDF, DOCX and CSV plus JSON and Markdown plus HTML and code.

v0.1.1 · source on GitHub

@opafex/mcp-shared

The shared bootstrap for every Opafex MCP server.
Server factory, pluggable caching and typed config plus logging and error handling.

v1.1.0 · source on GitHub

@opafex/create-mcp

Scaffold a new MCP server in seconds.

v1.0.1 · source on GitHub

@opafex/knowledge-grid

A layered knowledge grid that hands your agent the right context first.
Nine domains and no dependencies.

v0.1.2 · 81 tests, all passing · source on GitHub

@opafex/privacy

PII redaction for logs and LLM payloads, UK-aware.
The same value gets the same token, so logs stay readable.

v0.1.0 · 86 tests, all passing · source on GitHub

@opafex/retrieval-core

Retrieval for RAG that catches what embeddings miss.
Rare words get reserved slots beside vector search.

v0.1.0 · 28 tests, all passing · source on GitHub

@opafex/grounding

Checks an agent's answer against its tool results, with no model calls.
It flags invented IDs, unbacked citations and made-up numbers.

v0.1.0 · 109 tests, all passing · source on GitHub

Open by protocol

We extracted these packages from a platform that speaks open standards. Agents connect the same way you build, with no proprietary lock-in.

Model Context Protocol
Point an agent at any remote MCP server and use its tools.
A built-in catalogue includes DeepWiki and GitMCP.
Agent-to-Agent (A2A)
Every agent ships an A2A agent card (spec v0.3.0) over JSON-RPC.
Agents delegate work to one another across your workspace.
REST, OpenAPI & SDK
Connect any REST API. discover_api maps OpenAPI or Swagger specs.
Fallback is raw HTTP, plus SDK entity discovery for GitHub and Railway.
59 providers, 78 services, 540 operations
The registry spans CRM, project management and comms plus email and storage.
Dev tools, payments and accounting plus ecommerce, design and forms and signing.

Build Your Own

Use our dev kit to scaffold production-ready MCP servers in seconds.

bash
npm create @opafex/mcp my-server

All tools are MIT licensed. Contributions welcome.

View on GitHub