The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Cortex
Cortex - Generates interactive API documentation, typed SDKs, and MCP servers from OpenAPI, AsyncAPI, GraphQL, gRPC, OpenRPC, and Markdown.
Install
npx -y @cortex-docs/cli deploy https://github.com/OWNER/REPOclaude mcp add cortex -- npx -y @cortex-docs/cli deploy https://github.com/OWNER/REPO{
"mcpServers": {
"cortex": {
"command": "npx",
"args": [
"-y",
"@cortex-docs/cli",
"deploy",
"https://github.com/OWNER/REPO"
]
}
}
}Install command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →Every developer. Every agent.
Cortex turns API specifications and Markdown into typed SDKs, interactive documentation, and an MCP server from one project configuration.
OpenAPI · AsyncAPI · GraphQL · gRPC · OpenRPC · Markdown
Documentation · Live demo · Website · Changelog
Cortex combines OpenAPI, AsyncAPI, GraphQL, Protocol Buffer, OpenRPC, and Markdown sources. Developers get interactive documentation, applications get typed SDKs, and AI agents get an MCP server with project context.
If Cortex helps your team, star this repository to support its development.
Try Cortex in 60 seconds
Start a local demo:
mkdir petstore
cd petstore
npm install --global @cortex-docs/cli
cortex init petstore
cortex docs serve
Open http://localhost:3012. Press Ctrl+C to stop the server.
We love open source
Keep your Markdown in Git. Add cortex.config.yml to the default branch of your public GitHub repository, then run:
npx -y @cortex-docs/cli deploy https://github.com/OWNER/REPO
npx -y @cortex-docs/cli mcp-serve https://github.com/OWNER/REPO
The first command publishes a free documentation site at PROJECT.cortexdocs.dev. The second connects AI clients to current documentation through local MCP.
Deploy requires repository write access. MCP works with public read access and checks for changes before each request.
See the open source hosting guide for configuration, custom domains, automatic updates, and limits.
Features
- Generate SDKs for TypeScript, Python, Go, Java, Kotlin, Ruby, PHP, C#, Rust, C++, and C.
- Combine multiple specification files in one generated SDK.
- Generate HTTP, WebSocket, GraphQL, gRPC, and JSON-RPC clients.
- Build static HTML documentation with interactive API reference pages.
- Generate an MCP server with typed tools, embedded specifications, SDK guides, and project documentation for AI agents.
- Add Markdown pages, SDK guides, and all API specifications to the MCP server.
- Customize generated output with sparse Eta template overrides.
- Publish generated packages and MCP servers to language registries and GitHub repositories.
Unlimited specs. Multiple ways to use it.
Generate interactive docs for exploration, typed SDKs for integration, and MCP servers for AI agents.
Similar plugs
Reverse engineer anything with agents, from app behavior down to native binaries.
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype…
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
Open-source web crawler and scraper for LLMs and AI agents: any website into clean, LLM-ready Markdown. Run it yourself, or use Crawl4AI Cloud with one key.