Skip to content
@agentfront

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 logo

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

GitHub stars npm @frontmcp/sdk

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 docs

FrontMCP'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

GitHub stars npm 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-flag secureDefaults mode
  • 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.

npm 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

GitHub stars npm @enclave-vm/core

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

Docs · Live playground

npm 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

Docs

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

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

  1. 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…

    TypeScript 153 8

  2. 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…

    TypeScript 6 2

  3. mcp-from-openapi mcp-from-openapi Public

    Production-ready TypeScript library for converting OpenAPI specifications into MCP (Model Context Protocol) tool

    TypeScript 12

Repositories

Showing 7 of 7 repositories
  • openapi-spec Public

    Up-to-date TypeScript types and readers for OpenAPI 3.2, 3.1, 3.0 and Swagger 2.0

    agentfront/openapi-spec's past year of commit activity
    TypeScript 0 Apache-2.0 0 0 1 Updated Nov 25, 2026
  • mcp-from-openapi Public

    Production-ready TypeScript library for converting OpenAPI specifications into MCP (Model Context Protocol) tool

    agentfront/mcp-from-openapi's past year of commit activity
    TypeScript 12 Apache-2.0 0 0 2 Updated Nov 25, 2026
  • 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.

    agentfront/frontmcp's past year of commit activity
    TypeScript 153 Apache-2.0 8 26 0 Updated Nov 25, 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.

    agentfront/enclave's past year of commit activity
    TypeScript 6 Apache-2.0 2 0 0 Updated Nov 24, 2026
  • .github Public
    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

    agentfront/vectoriadb's past year of commit activity
    TypeScript 1 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.

    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

TypeScript