Codex

•

Empower AI agents with searchable access to any markdown content through a Model Context Protocol (MCP) server.

Codex is an MCP server designed to enhance the capabilities of AI assistants like Claude Code and Gemini CLI by providing them with dynamic access to your organizational knowledge. It automatically discovers markdown documents, indexing them for full-text search using Tantivy, and exposing them as structured resources. This enables AI agents to offer context-aware responses based on your documentation, standards, policies, and knowledge bases, making them more informed and valuable.

Key Features

01Fast, in-memory full-text search with BM25 ranking powered by Tantivy
020 GitHub stars
03Auto-discovery of markdown resources with URIs derived from file paths
04Docker-ready with configurable content separation via environment variables
05Flexible transport options supporting stdio (local) or SSE (remote server)
06Strict type checking for robust and reliable operation

Use Cases

01Provide AI agents with searchable access to internal documentation and knowledge bases
02Enable AI assistants to give context-aware responses based on organizational policies and guidelines
03Integrate with AI agent CLIs (e.g., Claude Code, Gemini CLI) for enhanced information retrieval