AgentFront
Open-source TypeScript infrastructure for AI agents and MCP: the FrontMCP server framework, OpenAPI to MCP tools, a JavaScript sandbox and vector search."AgentFront
Open-source TypeScript infrastructure for AI agents and the Model Context Protocol (MCP).
An MCP server framework · OpenAPI to MCP tools · A sandbox for agent-written code · In-memory semantic search
Website · FrontMCP docs · Enclave & VectoriaDB docs · Discord · david@frontegg.com
AgentFront builds open-source TypeScript tools that connect AI agents to real software over the Model Context Protocol (MCP). FrontMCP is an MCP server framework for TypeScript. mcp-from-openapi does OpenAPI to MCP: it turns Swagger and OpenAPI specs into MCP tools. Enclave runs the JavaScript an agent writes inside a sandbox, and VectoriaDB gives agents semantic search in memory, with embeddings computed locally. Every project is Apache-2.0 and published on npm.
FrontMCP: the TypeScript MCP server framework
FrontMCP lets you write MCP tools, resources and prompts as typed TypeScript classes with Zod schemas, and serves them over the Model Context Protocol. It handles transport, sessions, dependency injection and execution flow, and the same server runs locally and in production on Node.js, Vercel, AWS Lambda and Cloudflare Workers. It serves MCP 2026-07-28, the stateless revision, and the earlier ones.
- Auth built in: OAuth 2.1, JWT and session checks, and a credential vault (
@frontmcp/auth) - Testing: Jest fixtures with a connected MCP client and MCP matchers (
@frontmcp/testing) - OpenAPI adapter: generate MCP tools from an OpenAPI spec (
@frontmcp/adapters) - Tool UIs: React widgets for ChatGPT, Claude and other MCP Apps hosts (
@frontmcp/ui) - Plugins: CodeCall, result caching, per-session memory, human approval gates, feature flags and WebMCP
- Production: rate limits and concurrency guards, OpenTelemetry tracing and Prometheus-format metrics
npx frontmcp create my-mcp-server # Node.js 24+
Learn at frontmcp.dev, try the browser playground, or see how FrontMCP compares with other TypeScript MCP frameworks.
Give your coding agent the FrontMCP docsFrontMCP's own MCP server gives coding agents the docs for the FrontMCP release your project uses (Docs for Your Agent). To add it to Claude Code:
claude mcp add --transport http frontmcp-docs https://frontmcp.dev/mcp
OpenAPI to MCP and API schema tooling
mcp-from-openapi
Convert Swagger 2.0 and OpenAPI 3.0, 3.1 and 3.2 specs into MCP tool definitions: input and output schemas, plus an explicit mapper that says where each argument goes in the HTTP request.
- Resolves parameter name conflicts across path, query, header, cookie and body, and builds the request with OpenAPI's full serialization rules (
buildHttpRequest()) - Emits schemas each client accepts:
target: 'claude' | 'openai' | 'gemini' | 'strict' - Loads untrusted specs safely: SSRF protection while resolving
$refs, and a one-flagsecureDefaultsmode - Curates large APIs: OpenAPI Overlays, lint, filters by tag, method and path, token-budget reports, and Arazzo workflows as tools
- Infers MCP tool annotations (read-only, destructive, idempotent) from HTTP methods
npm install mcp-from-openapi
openapi-spec (upcoming)
Up-to-date TypeScript types and readers for OpenAPI 3.2, 3.1, 3.0 and Swagger 2.0. The upcoming 1.0.0 is its first functional release: types for every version, version detection, one walker for the operations of a path item, and a Swagger 2.0 to OpenAPI 3.0 converter. The code is being extracted from mcp-from-openapi, where it is developed and tested against the official OpenAPI JSON Schemas, and a weekly check against the OpenAPI Initiative's published sources flags new spec versions. npm 0.0.1 only reserves the name: watch the repository to hear when 1.0.0 ships.
json-schema-to-zod-v3
Convert JSON Schema (Draft 7+) to Zod v3 validation schemas in TypeScript, with ReDoS protection for pattern on by default.
npm install json-schema-to-zod-v3 zod@^3.23.8
Secure code execution and semantic search for AI agents
Enclave
A sandbox for JavaScript written by AI agents. Enclave checks AgentScript, the subset of JavaScript a model writes to call your tools, rewrites it so that limits can be enforced, and runs it where it reaches only the globals and tools you give it, with limits on time, iterations, tool calls and memory. Packages cover Node.js, the browser (nested sandboxed iframes), and a streaming layer that runs scripts behind HTTP routes, with a client and React hooks.
npm install @enclave-vm/core
VectoriaDB
A lightweight in-memory vector database for semantic search in TypeScript. Embeddings run locally with transformers.js, so your data stays on your server and there is no API quota. HNSW indexing, typed metadata filters, file and Redis persistence, and a zero-dependency TF-IDF mode.
npm install vectoriadb
How the pieces fit together
FrontMCP builds on the libraries: its OpenAPI adapter (@frontmcp/adapters) runs on mcp-from-openapi, and its CodeCall plugin (@frontmcp/plugin-codecall) finds tools with VectoriaDB and runs the scripts a model writes in Enclave. Each library is also a standalone npm package that works without FrontMCP.
Get started
- Building an MCP server? Follow Learn FrontMCP, or try it first in the playground.
- Have an OpenAPI spec? Read Getting Started with mcp-from-openapi.
- Running code a model wrote? Start with the Enclave docs.
- Need search over tools or documents? Start with the VectoriaDB docs.
Contribute
Issues and pull requests are welcome in every repository. Read the repository's contributing guide first, for example FrontMCP's or mcp-from-openapi's. Report vulnerabilities privately, as the repository's SECURITY.md describes or by email to info@agentfront.dev, never in a public issue. For questions and ideas, join the Discord.
If one of these projects saves you time, a star helps other developers find it.
agentfront.dev · frontmcp.dev · docs.agentfront.dev · Discord · david@frontegg.com
Pinned Loading
-
frontmcp frontmcp Public
The TypeScript framework for MCP servers Build MCP tools that share services, validate inputs and apply the access rules you configure. Bring authentication, testing, agents and background jobs int…
-
enclave enclave Public
A secure JavaScript sandbox designed for safe AI agent code execution. Protects against code injection, prototype pollution, and sandbox escapes. The security layer that makes AI-generated code saf…
-
mcp-from-openapi mcp-from-openapi Public
TypeScript library that converts Swagger 2.0 and OpenAPI 3.0, 3.1 and 3.2 specifications into MCP (Model Context Protocol) tool definitions, with request building, client-specific schemas and SSRF-…
TypeScript 12
Repositories
Showing 7 of 7 repositories-
frontmcp
Public
The TypeScript framework for MCP servers Build MCP tools that share services, validate inputs and apply the access rules you configure. Bring authentication, testing, agents and background jobs into the same server, with builds for Node.js, Vercel, AWS Lambda and Cloudflare Workers.
Uh oh!
There was an error while loading. Please reload this page.
agentfront/frontmcp's past year of commit activity TypeScript 154 Apache-2.0 8 43 4 Updated Dec 3, 2026 -
openapi-spec
Public
Up-to-date TypeScript types and readers for OpenAPI 3.2, 3.1, 3.0 and Swagger 2.0
Uh oh!
There was an error while loading. Please reload this page.
agentfront/openapi-spec's past year of commit activity TypeScript 1 Apache-2.0 0 0 0 Updated Dec 1, 2026 -
mcp-from-openapi
Public
TypeScript library that converts Swagger 2.0 and OpenAPI 3.0, 3.1 and 3.2 specifications into MCP (Model Context Protocol) tool definitions, with request building, client-specific schemas and SSRF-safe $ref resolution
Uh oh!
There was an error while loading. Please reload this page.
agentfront/mcp-from-openapi's past year of commit activity TypeScript 12 Apache-2.0 0 0 0 Updated Nov 30, 2026 -
enclave
Public
A secure JavaScript sandbox designed for safe AI agent code execution. Protects against code injection, prototype pollution, and sandbox escapes. The security layer that makes AI-generated code safe to run.
Uh oh!
There was an error while loading. Please reload this page.
agentfront/enclave's past year of commit activity TypeScript 6 Apache-2.0 2 0 0 Updated Nov 25, 2026 -
.github
Public
Uh oh!
There was an error while loading. Please reload this page.
agentfront/.github's past year of commit activity 0 0 0 0 Updated Nov 24, 2026 -
vectoriadb
Public
A lightweight, production-ready in-memory vector database for semantic search
Uh oh!
There was an error while loading. Please reload this page.
agentfront/vectoriadb's past year of commit activity TypeScript 2 Apache-2.0 0 0 0 Updated Nov 4, 2026 -
json-schema-to-zod-v3
Public
A production-ready TypeScript library for converting JSON Schema (Draft 7+) to Zod v3 validation schemas with full type safety and comprehensive feature support.
Uh oh!
There was an error while loading. Please reload this page.
agentfront/json-schema-to-zod-v3's past year of commit activity TypeScript 0 Apache-2.0 0 0 0 Updated Jan 6, 2026
People
This organization has no public members. You must be a member to see who’s a part of this organization.
Top languages
Loading…
Uh oh!
There was an error while loading. Please reload this page.
Most used topics
Loading…
Uh oh!
There was an error while loading. Please reload this page.