
Research
/Security News
Mini Shai-Hulud Campaign Hits Red Hat Cloud Services npm Packages
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.
@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 5,306 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.

Research
/Security News
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.

Research
/Security News
The North Korean malware loader hides in a Packagist-listed package and its GitHub branch to fetch and execute remote code in a likely Contagious Interview-style lure.

Security News
The Rust project is moving toward formal rules on LLM use in contributions after months of internal debate over maintainer burden, code quality, and contributor experience.