Unisono.Core
0.1.0-preview.2
dotnet add package Unisono.Core --version 0.1.0-preview.2
NuGet\Install-Package Unisono.Core -Version 0.1.0-preview.2
<PackageReference Include="Unisono.Core" Version="0.1.0-preview.2" />
<PackageVersion Include="Unisono.Core" Version="0.1.0-preview.2" />
<PackageReference Include="Unisono.Core" />
paket add Unisono.Core --version 0.1.0-preview.2
#r "nuget: Unisono.Core, 0.1.0-preview.2"
#:package Unisono.Core@0.1.0-preview.2
#addin nuget:?package=Unisono.Core&version=0.1.0-preview.2&prerelease
#tool nuget:?package=Unisono.Core&version=0.1.0-preview.2&prerelease
Unisono.Core
Declare an app action once in C#; Siri, Shortcuts, any MCP client and in-app agents call the same handler.
Unisono.Core is the registry at the centre of Unisono. You mark ordinary
methods with the MCP C# SDK's [McpServerTool] and [Description] attributes; the ToolRegistry turns them into
AIFunctions with JSON schemas, invokes them from JSON (which is what the native bridges send), and exposes them as
MCP tools. IEntityQuery<T> resolves entities (by id, by text, suggested) for Siri and Shortcuts pickers.
dotnet add package Unisono.Core --prerelease
[McpServerToolType]
public sealed class TaskTools(ITaskService tasks)
{
[McpServerTool(Name = "create_task"), Description("Creates a new task and returns it.")]
public TaskDto CreateTask([Description("Short title")] string title, TaskPriority priority = TaskPriority.Medium)
=> TaskDto.From(tasks.Create(title, priority));
}
var registry = new ToolRegistry()
.AddToolsFrom(new TaskTools(service))
.AddEntityQuery("Task", new TaskEntityQuery(service));
Pair it with Unisono.Mcp (in-app MCP server) and Unisono.AppIntents (Siri and Shortcuts on iOS and Mac Catalyst).
Works with .NET MAUI, Uno Platform, Avalonia and plain .NET apps. Documentation and samples:
https://github.com/egarim/unisono
| 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
- ModelContextProtocol.Core (>= 2.4.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Unisono.Core:
| Package | Downloads |
|---|---|
|
Unisono.Mcp
Unisono: hosts the tool registry as an MCP server (Streamable HTTP on HttpListener, no ASP.NET Core) inside a MAUI or desktop app. |
|
|
Unisono.AppIntents
Unisono: connects an app's Swift App Intents to the ToolRegistry through one generic JSON bridge, and ships the MSBuild targets that put Metadata.appintents into the app bundle. |
|
|
Unisono.AppFunctions
Unisono on Android: exposes the tools in a ToolRegistry as Android AppFunctions (the surface Gemini and other assistants call) through an AppFunctionService over the same C# handlers that serve MCP. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-preview.2 | 51 | 11/11/2026 |
| 0.1.0-preview.1 | 56 | 11/10/2026 |
First public preview: tool registry, in-app MCP server, and the Siri/Shortcuts bridge for iOS and Mac Catalyst. Full notes: https://github.com/egarim/unisono/blob/main/CHANGELOG.md