Skip to content

buildServer

Describes@ebitex/mcp 1.xSee the changelog:@ebitex/mcp

buildServer(options?): Promise<BuiltServer>

The library entry point, for embedding this server in a host that owns its own transport.

The ordinary way to use this package is the ebitex-mcp executable, configured in an MCP client. This export exists so a host that already has a transport (an in-process client, an HTTP bridge) can build the same server without going through a child process.

What is exported is the suite-level surface plus each app’s own types, under the app’s name, so a second app’s exports cannot collide with Content’s.

ServerConfig

(input, init?) => Promise<Response>

Promise<BuiltServer>