Class Definition
Properties
| Property | Type | Description |
|---|---|---|
config | FrontMcpConfigType | Parsed server configuration |
ready | Promise<void> | Promise that resolves when fully initialized |
Factory Methods
bootstrap(options)
Create and start an HTTP server.createHandler(options)
Create a serverless handler without starting a server.createDirect(options)
Create a DirectMcpServer for programmatic access.createForGraph(options)
Create an instance for introspection without starting server.runStdio(options)
Run the server with stdio transport.Instance Methods
getConfig()
Get the server configuration.getScopes()
Get all initialized scopes.start()
Start the HTTP server (called internally by bootstrap).Initialization Sequence
Usage Examples
Development Server
Serverless (Vercel)
Testing
Claude Desktop Integration
Related
@FrontMcp
Server decorator
Scope
Registry access
DirectClient
Programmatic access
Deployment
Deployment guides