Commit 02fb9e75 authored by shrabbit's avatar shrabbit
Browse files

🐛 fix(Tools): 为 RandomNumberTools 添加命名空间并在 Program.cs 中引用

parent 777a8731
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
using McpBase.McpServer.Tools;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
+2 −0
Original line number Diff line number Diff line
using System.ComponentModel;
using ModelContextProtocol.Server;

namespace McpBase.McpServer.Tools;

/// <summary>
/// Sample MCP tools for demonstration purposes.
/// These tools can be invoked by MCP clients to perform various operations.