MCP Core docs edit pass (#1033)
Co-authored-by: Stephen Toub <stoub@microsoft.com>
This commit is contained in:
parent
ffda098192
commit
6ed728d005
1 changed files with 452 additions and 447 deletions
|
|
@ -10,7 +10,7 @@ namespace ModelContextProtocol.Server;
|
|||
/// <remarks>
|
||||
/// The <see cref="RequestContext{TParams}"/> encapsulates all contextual information for handling an MCP request.
|
||||
/// This type is typically received as a parameter in handler delegates registered with IMcpServerBuilder,
|
||||
/// and may be injected as parameters into <see cref="McpServerTool"/>s.
|
||||
/// and can be injected as parameters into <see cref="McpServerTool"/>s.
|
||||
/// </remarks>
|
||||
public sealed class RequestContext<TParams>
|
||||
{
|
||||
|
|
@ -55,7 +55,7 @@ public sealed class RequestContext<TParams>
|
|||
|
||||
/// <summary>Gets or sets the services associated with this request.</summary>
|
||||
/// <remarks>
|
||||
/// This may not be the same instance stored in <see cref="McpServer.Services"/>
|
||||
/// This provider might not be the same instance stored in <see cref="McpServer.Services"/>
|
||||
/// if <see cref="McpServerOptions.ScopeRequests"/> was true, in which case this
|
||||
/// might be a scoped <see cref="IServiceProvider"/> derived from the server's
|
||||
/// <see cref="McpServer.Services"/>.
|
||||
|
|
@ -81,4 +81,4 @@ public sealed class RequestContext<TParams>
|
|||
/// including the method name, parameters, request ID, and associated transport and user information.
|
||||
/// </remarks>
|
||||
public JsonRpcRequest JsonRpcRequest { get; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue