fix(mcp): add [McpServerToolType] attribute to all tool classes

Without this attribute, WithToolsFromAssembly does not discover
the tool methods and the server reports no tools capability.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-08 16:01:47 -04:00
parent 5951a6a5c0
commit 8952b9d0ea
4 changed files with 4 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ using OpenNest.Geometry;
namespace OpenNest.Mcp.Tools
{
[McpServerToolType]
public class SetupTools
{
private readonly NestSession _session;