Skip to main content
FrontMCP uses TypeScript decorators as the primary API. Every component — servers, apps, tools, resources, prompts, agents, skills, providers, plugins, and flows — is defined with a decorator on a class or function.

Decorator Inventory


One Snippet Per Decorator

@FrontMcp — Server Entry Point

@App — Capability Container

@Tool — AI-Callable Action

@Resource — Data Endpoint

@Prompt — Message Template

@Agent — LLM-Powered Actor

@Skill — Workflow Guide

@Provider — DI Service

@Plugin — Extension

@Flow — Lifecycle Pipeline


Learn More

Decorator Reference

Complete API reference for every decorator

Context Classes

Base classes that provide DI, logging, and auth