FrontMCP is a TypeScript-first framework for building production-ready MCP servers. This section gives you a quick tour of every major capability, with code examples and links to detailed documentation.Documentation Index
Fetch the complete documentation index at: https://docs.agentfront.dev/llms.txt
Use this file to discover all available pages before exploring further.
Feature Map
Decorator-Driven Development
Build servers with decorators — @FrontMcp, @Tool, @Resource, @Prompt, and more
Dependency Injection
@Provider with scopes, this.get(), and hierarchical DI containers
Multi-App Composition
Compose multiple @App modules into a single server with isolated auth
Authentication & Authorization
Three-tier auth: public, transparent, and orchestrated OAuth 2.1
Deployment Targets
Deploy to Node.js/Docker, Vercel, AWS Lambda, or Cloudflare Workers
Plugin System
Extend your server with plugins, adapters, and context extensions
Testing Framework
E2E fixtures, custom matchers, interceptors, and HTTP mocking
Skill-Based Workflows
Teach AI multi-step workflows with @Skill and Agent Skills spec support
Channels
Push real-time webhook, event, and chat notifications into Claude Code
Background Tasks
Durable, pollable state machines for long-running tool calls
Observability
Built-in OpenTelemetry tracing and structured logging
Environment Awareness
Conditionally expose entries based on platform, runtime, and environment
Jobs
Define typed jobs with retries, timeouts, and background execution
Workflows
Compose jobs into DAG-based multi-step pipelines
ESM Dynamic Loading
Load npm packages at runtime with caching, auto-update, and private registry auth
Architecture at a Glance
At-a-Glance Comparison
| Feature | What It Does | Key Decorator | Docs |
|---|---|---|---|
| Tools | AI-callable functions with typed I/O | @Tool | Tools |
| Resources | Read-only data endpoints | @Resource | Resources |
| Prompts | Reusable message templates | @Prompt | Prompts |
| Skills | Multi-step workflow guides | @Skill | Skills |
| Agents | LLM-powered autonomous actors | @Agent | Agents |
| Providers | Dependency injection services | @Provider | Providers |
| Plugins | Cross-cutting extensions | @Plugin | Plugins |
| Adapters | Dynamic capability generation | @Adapter | Adapters |
| Jobs | Reliable executable units of work | @Job | Jobs |
| Workflows | DAG-based multi-step pipelines | @Workflow | Workflows |
| Channels | Server-pushed real-time notifications | @Channel | Channels |
| Flows | Request lifecycle pipelines | @Flow | Flows |
| Apps | Modular capability containers | @App | Apps |
| ESM Packages | Runtime npm package loading | App.esm() | ESM Packages |