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
<PackageReference Include="LevelUp.Strategos.Ontology.MCP" Version="3.0.0" />
<PackageVersion Include="LevelUp.Strategos.Ontology.MCP" Version="3.0.0" />
<PackageReference Include="LevelUp.Strategos.Ontology.MCP" />
paket add LevelUp.Strategos.Ontology.MCP --version 3.0.0
#r "nuget: LevelUp.Strategos.Ontology.MCP, 3.0.0"
#:package LevelUp.Strategos.Ontology.MCP@3.0.0
#addin nuget:?package=LevelUp.Strategos.Ontology.MCP&version=3.0.0
#tool nuget:?package=LevelUp.Strategos.Ontology.MCP&version=3.0.0
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:
OntologyStubGeneratorproduces.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 | 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 (>= 3.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.8)
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 |