Skip to main content

Class Definition

Properties

Factory Methods

bootstrap(options)

Create and start an HTTP server.
Best for: Standalone HTTP server deployments.

createHandler(options)

Create a serverless handler without starting a server.
Best for: Serverless deployments (Vercel, AWS Lambda).

createDirect(options)

Create a DirectMcpServer for programmatic access.
Best for: Testing, embedding, CLI tools, agent backends.

createForGraph(options)

Create an instance for introspection without starting server.
Best for: Graph visualization, introspection, analysis.

runStdio(options)

Run the server with stdio transport.
Best for: Claude Desktop, stdio-based MCP clients.

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

@FrontMcp

Server decorator

Scope

Registry access

DirectClient

Programmatic access

Deployment

Deployment guides