LevelUp.Strategos.Ontology.MCP.Hosting 2.8.0

There is a newer version of this package available.
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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="LevelUp.Strategos.Ontology.MCP.Hosting" Version="2.8.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LevelUp.Strategos.Ontology.MCP.Hosting" Version="2.8.0" />
                    
Directory.Packages.props
<PackageReference Include="LevelUp.Strategos.Ontology.MCP.Hosting" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add LevelUp.Strategos.Ontology.MCP.Hosting --version 2.8.0
                    
#r "nuget: LevelUp.Strategos.Ontology.MCP.Hosting, 2.8.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package LevelUp.Strategos.Ontology.MCP.Hosting@2.8.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=LevelUp.Strategos.Ontology.MCP.Hosting&version=2.8.0
                    
Install as a Cake Addin
#tool nuget:?package=LevelUp.Strategos.Ontology.MCP.Hosting&version=2.8.0
                    
Install as a Cake Tool

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.10.0 127 8/7/2026
2.9.1 131 6/23/2026
2.9.0 118 6/19/2026
2.8.0 112 5/25/2026