Bring the API you already have.
Combine REST, realtime, GraphQL, gRPC, and JSON-RPC sources in one project. Cortex validates the contract before it generates a thing.
Cortex turns API specifications and Markdown into typed SDKs, interactive documentation, and MCP servers for developers and AI agents.
Product Hunt#2 Product of the DayOne project. Every API surface.
One workflow / three interfaces
Generate interactive docs for exploration, typed SDKs for integration, and MCP tools for AI agents.
project: acme-api
sources:
- type: openapi-spec
spec: ./openapi.yml
- type: graphql-spec
spec: ./schema.graphql
mcp:
package_name: @acme/mcpBuilt for agentic development
Cortex maps API operations to typed MCP tools and packages the source specs, documentation, and SDK references beside them. The agent can discover the right interface, install the right client, and generate integration code with less prompting.
{
"name": "Mochi",
"species": "cat"
}The whole API surface
One opinionated toolchain for the parts of API delivery that drift apart when every team maintains them by hand.
Combine REST, realtime, GraphQL, gRPC, and JSON-RPC sources in one project. Cortex validates the contract before it generates a thing.
Ship searchable guides, interactive references, copy-ready examples, and a live request builder in a documentation site you can self-host.
Generate an MCP server with typed tools, embedded specs, SDK guides, and project docs so agents can integrate with context—not guesses.
Typed clients follow each language’s conventions and include authentication, timeouts, streams, retries, and package metadata.
Export and override any Eta template, publish to your own registries, and deploy the generated documentation wherever Node runs.
Native everywhere
Generated clients feel at home in every ecosystem—from naming and types to their native package manager.
// Fully typed. Ready to ship.
import { PetstoreClient } from "@acme/petstore";
const cortex = new PetstoreClient({
bearerToken: process.env.API_TOKEN,
});
const pet = await cortex.pets.create({ name: "Mochi" });Built in the open
Cortex Docs is MIT-licensed and designed to fit the way open-source teams work: docs as code, reviewable generation, sparse template overrides, and output you can run anywhere.
Generate typed SDKs, interactive API documentation, and MCP servers from your API specifications.
Your API deserves a better interface
Start with one command and turn the API you have into a developer and agent experience people want to use.