Public API
This page documents Orleans.Lattice.Api.Mcp.Apps 10.5.0, in the documentation for Orleans.Lattice 10.5.0 (release line 10.5), built 2026-12-05. It is also published as markdown, with every table and list, at api.md, and llms.txt lists every page.Orleans.Lattice.Api.Mcp.Apps adds app-provided tools to the existing Lattice MCP server. It exposes a registration method, provider contract, ready-made provider, and public tool-name helper.
Types and members
| Public type | Public members |
|---|---|
LatticeMcpAppsServiceCollectionExtensions |
IServiceCollection AddAppMcpTools(this IServiceCollection services) |
IAppMcpToolProvider |
AppSlug Slug { get; }; IReadOnlyList<McpServerTool> Tools { get; } |
AppMcpToolProvider |
AppMcpToolProvider(AppSlug slug, IEnumerable<McpServerTool> tools); AppSlug Slug { get; }; IReadOnlyList<McpServerTool> Tools { get; } |
AppMcpToolName |
const char Separator; static string Compose(AppSlug slug, string toolName); static bool TryParse(string? name, out AppSlug slug, [NotNullWhen(true)] out string? toolName) |
AddAppMcpTools is idempotent. Provider tools use app-local names; the surface applies the app slug prefix. See architecture for pairing and authorization.
Source map
Public declaration reference
The following inventory includes directly declared public members and overloads, enum values, and record positional members. Inherited framework members and compiler-generated record equality helpers are not additional package operations. Each source link identifies the declaration that defines its signature.
Orleans.Lattice.Api.Mcp.Apps.AppMcpToolName
Source (line 17).
public static class AppMcpToolName
public const char Separatorpublic static string Compose(AppSlug slug, string toolName)public static bool TryParse(string? name, out AppSlug slug, out string? toolName)
Orleans.Lattice.Api.Mcp.Apps.AppMcpToolProvider
Source (line 16).
public sealed class AppMcpToolProvider : IAppMcpToolProvider
public AppMcpToolProvider(AppSlug slug, IEnumerable<McpServerTool> tools)public AppSlug Slug { get; }public IReadOnlyList<McpServerTool> Tools
Orleans.Lattice.Api.Mcp.Apps.IAppMcpToolProvider
Source (line 38).
public interface IAppMcpToolProvider
AppSlug Slug { get; }IReadOnlyList<McpServerTool> Tools { get; }
Orleans.Lattice.Api.Mcp.Apps.LatticeMcpAppsServiceCollectionExtensions
Source (line 26).
public static class LatticeMcpAppsServiceCollectionExtensions
public static IServiceCollection AddAppMcpTools(this IServiceCollection services)