Class McpServiceCollectionExtensions
- Namespace
- MailFathom.Mcp
- Assembly
- MailFathom.Mcp.dll
Composes the MailFathom protocol surface into a host.
public static class McpServiceCollectionExtensions
- Inheritance
-
McpServiceCollectionExtensions
- Inherited Members
Remarks
The registration lives with the tools it registers, so a host adds the surface without knowing which tools exist, which serializer options they publish, or that a call-tool filter reports their outcomes. Mapping the transport endpoint stays the host's decision, because whether the surface is reachable at all is a deployment posture rather than a property of the tools.
Methods
- AddMailFathomServer(IServiceCollection)
Adds the MailFathom MCP server, its tools, and the reporting that wraps every tool call.