Local MCP
Point
dotnet odata-mcp at any OData service. Your assistant gets compact tools over stdio.Remote MCP
Add two lines to your ASP.NET Core host. Customers point their harness at
{prefix}/mcp.Local MCP
A small app on Windows, macOS, and Linux. Package:Microsoft.OData.Mcp.
Use Local MCP
Install,
try, add, and ask.Sign in to the service
Flags
try prints, Graph, and protected resource metadata.How Local MCP works
Startup, the probe, the catalog, stdio, and outbound sign-in.
Remote MCP
A NuGet package on the OData API you already host. Package:Microsoft.OData.Mcp.AspNetCore.
Add Remote MCP to your API
AddODataMcp and UseODataMcp. Customers paste https://your-host/odata/mcp into the harness.Tune Remote MCP
Product sentence, which sets to expose, canned prompts, rate limits.
Long-running actions
[McpTask] so the harness waits while shipping, a report, or a browser hop finishes.Ask the operator to open a URL
[McpElicitUrl] plus a waiter. Tokens stay out of the chat.Lock Remote MCP like the API
RequireAuthorization and protected resource metadata for the harness.