---
title: "onemodelcontext docs"
url: https://recursiveai.org/onemodelcontext/docs/
description: "Everything about OneModelContext 1.0: getting started, transports, tools and schemas, authorization on both sides, extensions, stores and what the…"
version: "1.0.1"
---

# onemodelcontext docs

Everything about OneModelContext 1.0: getting started, transports, tools and schemas, authorization on both sides, extensions, stores and what the conformance suite checked. Model Context Protocol® is a registered trademark of LF Projects, LLC. OneModelContext is an independent project and is not affiliated with or endorsed by LF Projects, LLC or the Model Context Protocol project.

## Start

- [Getting started](https://recursiveai.org/onemodelcontext/docs/getting-started/index.md): Install OneModelContext 1.0.1 for .NET 10, write a server with two tools and a resource, connect a client to it over stdio and over Streamable HTTP, host…
- [Overview](https://recursiveai.org/onemodelcontext/docs/overview/index.md): OneModelContext is a clean-room .NET 10 library for MCP, the Model Context Protocol, on both sides: client and server. The core package…
- [Samples](https://recursiveai.org/onemodelcontext/docs/samples/index.md): Small programs that show how OneModelContext is used. Each one runs on both protocol eras (2026-07-28 and the older revisions) without changes to its…
- [Coming from the official C# SDK](https://recursiveai.org/onemodelcontext/docs/coming-from-the-official-sdk/index.md): A task map for developers who know the official C# SDK (ModelContextProtocol, ModelContextProtocol.AspNetCore) and want the same thing in OneModelContext.…

## Transports

- [Stdio and duplex streams](https://recursiveai.org/onemodelcontext/docs/stdio/index.md): Messages are UTF-8 JSON-RPC, one per line. Standard output carries only protocol messages; diagnostics belong on standard error. Both protocol eras share…
- [Streamable HTTP client](https://recursiveai.org/onemodelcontext/docs/http-client/index.md): ModelContext.ConnectAsync("https://host/mcp") (or ConnectAsync(new Uri(...)), or ContextTransport.Http(uri, client, options)) connects over Streamable…
- [Streamable HTTP server and the listener](https://recursiveai.org/onemodelcontext/docs/http-limits/index.md): StreamableHttpEndpoint serves both protocol eras on one path over the small IHttpExchange abstraction. Every limit below is a property of…

## Tools, resources and prompts

- [Tool signatures and JSON Schema](https://recursiveai.org/onemodelcontext/docs/tool-schemas/index.md): The [Tool] source generator and the reflection quick path (server.Tool("name", delegate)) write the same schema for the same signature. This note is that…
- [Asking the client for input](https://recursiveai.org/onemodelcontext/docs/multi-round-trip/index.md): A tool, prompt or resource handler can ask the client for input in the middle of a request: ctx.ConfirmAsync, ctx.ElicitAsync, ctx.SampleAsync…

## Authorization

- [Resource server](https://recursiveai.org/onemodelcontext/docs/resource-server/index.md): An MCP server that listens on HTTP can require OAuth 2.1 bearer tokens. OneModelContext plays the resource server role: it serves protected resource…
- [OAuth client](https://recursiveai.org/onemodelcontext/docs/oauth-client/index.md): OAuthClient signs a program in to an OAuth-protected server and keeps its tokens fresh. It lives in the RecursiveAI.OneModelContext.OAuth namespace, which…
- [Authorization server](https://recursiveai.org/onemodelcontext/docs/authorization-server/index.md): A .NET application can be the OAuth 2.1 authorization server for its own MCP endpoint, so it can act as a connector for hosted clients without a…

## Extensions and packages

- [Extensions](https://recursiveai.org/onemodelcontext/docs/extensions/index.md): An extension adds methods, notifications, _meta keys or capability settings to the Model Context Protocol (MCP) without a new core revision. The mechanism…
- [Hosting and Extensions.AI](https://recursiveai.org/onemodelcontext/docs/adapters/index.md): Two small packages, each referencing the core package and the one Microsoft package it adapts.
- [Entity Framework Core and OneLite stores](https://recursiveai.org/onemodelcontext/docs/stores/index.md): RecursiveAI.OneModelContext.EntityFrameworkCore keeps the authorization server's state and a client's tokens in your own database, so several instances of…

## Testing and history

- [Conformance](https://recursiveai.org/onemodelcontext/docs/conformance/index.md): OneModelContext is checked against the protocol's official conformance suite, run as a black box: it is installed from its published package and driven…
- [Interop](https://recursiveai.org/onemodelcontext/docs/interop/index.md): OneModelContext is checked against other implementations of the protocol, run as black boxes: installed from their published releases at pinned versions…
- [Changelog](https://recursiveai.org/onemodelcontext/docs/changelog/index.md): All notable changes are recorded here, following Keep a Changelog.
