ServerBuilder Module
Nested modules
| Modules | Description |
|
Handlers for the multi-project read tools. Each returns the encoded `CallToolResult` served for the tool of the same name; internal so the contract tests (via `InternalsVisibleTo`) drive the exact handlers the server registers without widening the public API. |
|
|
Handlers for the multi-project write tools; same contract as `ReadTools`. |
Functions and values
| Function or value |
Description
|
Full Usage:
createTool serviceProvider spec del
Parameters:
IServiceProvider
spec : ToolSpec
del : Delegate
Returns: McpServerTool
|
Builds an `McpServerTool` from a delegate and its annotation spec.
|
|
Parses raw argv into `McpOptions` for a host entry point
(`--stdio`, `--http
|
Full Usage:
run env options loggerFactory
Parameters:
McpEnvironment
options : McpOptions
loggerFactory : ILoggerFactory
Returns: Async<unit>
|
Runs the multi-project MCP server for a project collection.
|
Full Usage:
runTransport mode serverOptions loggerFactory serviceProvider
Parameters:
McpMode
serverOptions : McpServerOptions
loggerFactory : ILoggerFactory
serviceProvider : IServiceProvider
Returns: Async<unit>
|
Transport-running part shared by the multi-project server and the single-project server: binds the mode's transport and runs the server.
|
Migrondi