> ## Documentation Index
> Fetch the complete documentation index at: https://ai.easyaf.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> Summary of the Microsoft.OData.Mcp.Tools.Hosting Namespace

## Types

### &#x20;Classes

| Name | Summary |
| - | - |
| [ShutdownServerTool](https://ai.easyaf.dev/odata-mcp/api-reference/Microsoft/OData/Mcp/Tools/Hosting/ShutdownServerTool.md) | Local-only control-plane tool that cancels the host lifetime after an optional delay. |
| [StdioConsentPresenter](https://ai.easyaf.dev/odata-mcp/api-reference/Microsoft/OData/Mcp/Tools/Hosting/StdioConsentPresenter.md) | The Tools host's consent presenter: it writes the sign-in URL and user code to stderr and tries to open  the operator's browser, then returns so the outbound OAuth client can complete the grant. |
| [ToolsMcpHost](https://ai.easyaf.dev/odata-mcp/api-reference/Microsoft/OData/Mcp/Tools/Hosting/ToolsMcpHost.md) | The local MCP host for a remote OData service: one generic host that owns the authenticating  `"OData"` client, the unauthenticated `"OAuth"` client, the token cache, the catalog built from  the service's `$metadata`, and — when the process is serving stdio — the MCP server itself. |
| [ToolsMcpSessionHolder](https://ai.easyaf.dev/odata-mcp/api-reference/Microsoft/OData/Mcp/Tools/Hosting/ToolsMcpSessionHolder.md) | A mutable slot for the one [ODataMcpSession](https://ai.easyaf.dev/odata-mcp/api-reference/Microsoft/OData/Mcp/Core/Catalog/ODataMcpSession.md) a Tools host serves, registered before the host  is built and filled once `$metadata` has been fetched and parsed. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.