
Company News
Andrew Becherer Joins Socket as Chief Information Security Officer
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.
@frontmcp/sdk
Advanced tools
The core FrontMCP framework for building MCP servers and clients in TypeScript.
npm install @frontmcp/sdk
Most users should scaffold with
npx frontmcp create my-appinstead of installing manually. See Installation.
@FrontMcp server — single decorator configures info, apps, HTTP, logging, session, auth (docs)@App — group tools, resources, prompts into isolated domains (docs)@Tool — typed actions with Zod input schemas, class or function style (docs)@Resource — read-only data with static and template URIs (docs)@Prompt — reusable message templates returning GetPromptResult (docs)@Agent — orchestrated multi-step tool chains (docs)ToolContext, ResourceContext, PromptContext, AgentContext, HookContextcreate(), connect(), connectOpenAI(), connectClaude(), connectLangChain(), connectVercelAI() (docs)frontmcp.yaml / frontmcp.json config files (docs)import 'reflect-metadata';
import { FrontMcp, App, Tool } from '@frontmcp/sdk';
import { z } from 'zod';
@Tool({ name: 'greet', inputSchema: { name: z.string() } })
class GreetTool {
async execute({ name }: { name: string }) {
return `Hello, ${name}!`;
}
}
@App({ id: 'hello', name: 'Hello', tools: [GreetTool] })
class HelloApp {}
@FrontMcp({ info: { name: 'Demo', version: '0.1.0' }, apps: [HelloApp], http: { port: 3000 } })
export default class Server {}
Full walkthrough: Quickstart
| Topic | Link |
|---|---|
| Server configuration | The FrontMCP Server |
| Apps & isolation | Apps |
| Tools, Resources, Prompts | Tools · Resources · Prompts |
| Agents | Agents |
| Authentication | Auth Overview · Remote OAuth · Local OAuth |
| Direct client | Direct Client |
| Hooks & providers | Hooks · Providers |
| Deployment | Local Dev · Production |
| SDK reference | Overview |
@frontmcp/cli — scaffolding and dev tooling@frontmcp/auth — authentication library@frontmcp/adapters — OpenAPI adapter@frontmcp/plugins — Cache, Remember, CodeCall, Dashboard@frontmcp/testing — E2E testing framework@frontmcp/ui / @frontmcp/uipack — UI components and build toolsApache-2.0 — see LICENSE.
FAQs
FrontMCP SDK
The npm package @frontmcp/sdk receives a total of 3,804 weekly downloads. As such, @frontmcp/sdk popularity was classified as popular.
We found that @frontmcp/sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.

Company News
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.

Security News
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.