
Security News
6 AppSec CTOs Debate Open Source Supply Chain Security at Black Hat
Socket CTO Ahmad Nassri joins AppSec leaders at Black Hat to discuss active malware, package manager risks, and software supply chain defense.
@frontmcp/sdk
Advanced tools
The core FrontMCP framework for building MCP servers and clients in TypeScript.
npm install @frontmcp/sdk reflect-metadata
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 1,191 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.

Security News
Socket CTO Ahmad Nassri joins AppSec leaders at Black Hat to discuss active malware, package manager risks, and software supply chain defense.

Research
/Security News
Thirteen malicious Packagist themes expose visitors on unpatched iPhones to a WebKit-to-kernel exploit chain that steals device data and wallet seeds.

Research
/Security News
Ten malicious OpenAPI React Query Codegen versions were published to npm in the Mini Shai-Hulud attack, all with valid provenance.