MgSoftDev.KnowledgeHub.Ai 1.0.0

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

MgSoftDev.KnowledgeHub.Ai

Herramientas de IA para MgSoftDev.KnowledgeHub, definidas una sola vez y utilizables desde dos sitios:

  • Un chat dentro de la app (Microsoft.Extensions.AI), con el componente MgSoftDev.KnowledgeHub.Blazor.Chat o con el chat propio del anfitrión.
  • Un servidor MCP (MgSoftDev.KnowledgeHub.Mcp), para que Claude Code u otra IA documente tu aplicación.

Dos conjuntos

Consulta: kh_search, kh_get_tree, kh_read_page y kh_get_page_image. Responden solo con lo que el usuario actual puede ver, y el contenido pasa antes por el renderizado de plantillas, así que un bloque reservado a un rol nunca llega a quien no lo tiene.

Autoría: leer el árbol, la fuente y el historial, validar HTML, crear páginas, guardar borradores, subir imágenes y reorganizar. Todo pasa por la librería, así que el saneador, el pipeline de imágenes y los permisos se aplican igual que desde el editor. No existe ninguna herramienta para publicar, borrar ni cambiar permisos: la IA deja borradores y una persona los revisa y publica.

Registro

builder.Services.AddKnowledgeHubAiTools(o =>
{
    o.WritingConventions = "Español de México, tono técnico y directo.";
});

Regístralo donde corre el core. El chat obtiene las herramientas con IKnowledgeHubAiToolProvider, y un chat propio del anfitrión puede sumarlas a su ChatOptions.Tools.

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

Showing the top 2 NuGet packages that depend on MgSoftDev.KnowledgeHub.Ai:

Package Downloads
MgSoftDev.KnowledgeHub.Mcp

MCP servers for MgSoftDev.KnowledgeHub, hosted inside your own app. The authoring endpoint lets Claude Code or another AI document your application as drafts, under a service identity and through the library, so sanitizing, the image pipeline and permissions all apply, and it can never publish. The read-only endpoint answers only with what the calling user may see. Stateless Streamable HTTP, token and loopback protected by default.

MgSoftDev.KnowledgeHub.Blazor.Chat

A chat that answers from your MgSoftDev.KnowledgeHub documentation, inside your own Blazor app, with the signed-in user's permissions. Works with any IChatClient (Claude through the Anthropic SDK, or another provider). The model's Markdown is rendered as components, never as raw HTML. A host with its own chat can skip the component and add the KnowledgeHub tools to its own. Works in Blazor Server, WPF BlazorWebView and WebAssembly (through a server-side chat endpoint).

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 178 9/13/2026
0.23.0-preview.1 90 9/13/2026