LevelUp.Strategos.Ontology.MCP.Hosting
2.8.0
See the version list below for details.
dotnet add package LevelUp.Strategos.Ontology.MCP.Hosting --version 2.8.0
NuGet\Install-Package LevelUp.Strategos.Ontology.MCP.Hosting -Version 2.8.0
<PackageReference Include="LevelUp.Strategos.Ontology.MCP.Hosting" Version="2.8.0" />
<PackageVersion Include="LevelUp.Strategos.Ontology.MCP.Hosting" Version="2.8.0" />
<PackageReference Include="LevelUp.Strategos.Ontology.MCP.Hosting" />
paket add LevelUp.Strategos.Ontology.MCP.Hosting --version 2.8.0
#r "nuget: LevelUp.Strategos.Ontology.MCP.Hosting, 2.8.0"
#:package LevelUp.Strategos.Ontology.MCP.Hosting@2.8.0
#addin nuget:?package=LevelUp.Strategos.Ontology.MCP.Hosting&version=2.8.0
#tool nuget:?package=LevelUp.Strategos.Ontology.MCP.Hosting&version=2.8.0
Strategos.Ontology.MCP.Hosting
MCP server hosting bridge for Strategos ontology. Adapts ontology tool descriptors into ModelContextProtocol server tools and registers them on an MCP server builder.
Installation
dotnet add package LevelUp.Strategos.Ontology.MCP.Hosting
Brings in LevelUp.Strategos.Ontology.MCP (the SDK-free core) and the ModelContextProtocol server SDK.
Why a separate package
The core Strategos.Ontology.MCP package stays free of any ModelContextProtocol dependency so it can be referenced by AOT-published and SDK-agnostic consumers. This companion package carries the server-SDK bridge.
Usage
using Microsoft.Extensions.DependencyInjection;
using Strategos.Ontology.MCP.Hosting;
builder.Services
.AddMcpServer()
.AddOntologyTools(ontologyGraph);
AddOntologyTools discovers the four ontology tools (ontology_explore, ontology_query, ontology_action, ontology_validate) and registers them as callable MCP server tools.
To obtain the adapted tools directly:
IEnumerable<McpServerTool> tools = OntologyServerToolFactory.CreateServerTools(ontologyGraph);
Each tool preserves the originating descriptor's OutputSchema, annotations, and action constraint summaries (carried in the tool's _meta).
License
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- LevelUp.Strategos.Ontology.MCP (>= 2.8.0)
- ModelContextProtocol (>= 1.3.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.