LevelUp.Strategos.Ontology.MCP 2.4.2

dotnet add package LevelUp.Strategos.Ontology.MCP --version 2.4.2
                    
NuGet\Install-Package LevelUp.Strategos.Ontology.MCP -Version 2.4.2
                    
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" Version="2.4.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LevelUp.Strategos.Ontology.MCP" Version="2.4.2" />
                    
Directory.Packages.props
<PackageReference Include="LevelUp.Strategos.Ontology.MCP" />
                    
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 --version 2.4.2
                    
#r "nuget: LevelUp.Strategos.Ontology.MCP, 2.4.2"
                    
#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@2.4.2
                    
#: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&version=2.4.2
                    
Install as a Cake Addin
#tool nuget:?package=LevelUp.Strategos.Ontology.MCP&version=2.4.2
                    
Install as a Cake Tool

Strategos.Ontology.MCP

MCP tool surface for Strategos ontology. Exposes ontology exploration, querying, and action dispatch as MCP tools for AI agent integration.

Installation

dotnet add package LevelUp.Strategos.Ontology.MCP

Requires Strategos.Ontology (included as a dependency).

MCP Tools

Three tools are auto-generated from your ontology definitions:

Tool Purpose
ontology_explore Browse domains, object types, actions, links, events, interfaces
ontology_query Query object sets with filters, link traversal, interface narrowing
ontology_action Dispatch actions (single or batch) through IActionDispatcher

Tool Discovery

OntologyToolDiscovery generates tool descriptors enriched with constraint summaries:

var discovery = new OntologyToolDiscovery(ontologyGraph);
IReadOnlyList<OntologyToolDescriptor> tools = discovery.Discover();

Each action tool descriptor includes ActionConstraintSummary records with hard/soft constraint counts, enabling agents to assess action availability directly from tool discovery.

Features

  • Schema Exploration: 7 scopes (domains, objectTypes, actions, links, events, interfaces, workflowChains) with BFS link traversal
  • Object Queries: Composable filter, link traversal, interface narrowing, and include expressions
  • Action Dispatch: Single-object or batch execution routed through IActionDispatcher
  • Constraint Summaries: Hard/soft constraint counts embedded in tool descriptions for zero-shot agent reasoning
  • Python Stubs: OntologyStubGenerator produces .pyi-style type stubs for agent tooling

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.4.2 86 4/13/2026
2.4.1 149 4/10/2026
2.4.0 92 4/7/2026
2.3.0 98 4/5/2026
2.2.1 105 3/15/2026
2.2.0 132 3/3/2026