LevelUp.Strategos.Ontology.MCP 3.0.0

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

Four 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
ontology_validate Check a design intent against the frozen ontology graph

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. It also carries typed requires and ensures predicate metadata in the closed Contracts 0.10 wire vocabulary. Arbitrary-precision integers and exact decimals remain canonical strings on the wire, and unknown predicate tags are rejected.

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
  • Typed Action Contracts: Lossless recursive requirements and guarantees in MCP _meta
  • Python Stubs: OntologyStubGenerator produces .pyi-style type stubs for agent tooling

Direct action-tool callers must bind the authenticated caller explicitly:

var principal = new ActionPrincipal("User", "user-42");
var result = await actionTool.ExecuteAsync(
    principal,
    objectType: "Order",
    action: "submit",
    request: request,
    objectId: "order-7");

Passing no principal is refused before the dispatcher is called. The MCP hosting package resolves this value from the authenticated request automatically.

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 (3)

Showing the top 3 NuGet packages that depend on LevelUp.Strategos.Ontology.MCP:

Package Downloads
LevelUp.Valkyrie.MonoGame.Agent

Package Description

LevelUp.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.

LevelUp.Valkyrie.Knowledge

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.0.0 116 9/11/2026
3.0.0-rc.1 84 9/10/2026
2.10.0 131 8/7/2026
2.9.1 1,397 6/23/2026
2.9.0 220 6/19/2026
2.8.0 440 5/25/2026
2.7.0 199 5/24/2026
2.6.0 200 5/17/2026
2.5.0 122 5/16/2026
2.4.2 161 4/13/2026
2.4.1 246 4/10/2026
2.4.0 136 4/7/2026
2.3.0 141 4/5/2026
2.2.1 145 3/15/2026
2.2.0 171 3/3/2026