The MCP Server supports extensible tool registration. Any Contensive addon collection can add new MCP tools without modifying the MCP Server source code. When Claude calls tools/list, it receives both the 15 built-in tools and any extension tools registered by installed collections.
Extension tools use a hybrid architecture:
Execute() method handles the tool logic.Claude (AI Client)
|
| tools/list
v
MCP Server (McpRemoteMethod)
|
+-- Static core tools (15 built-in, in-memory)
|
+-- Extension tools (from MCP Tool Definitions table, cached 5 min)
|
| tools/call "blog_post_list"
v
Lookup addonGuid from MCP Tool Definitions
|
v
cp.Addon.Execute(addonGuid)
|
v
Your Extension Addon (BlogMcpTools.cs)
To add MCP tools from your addon collection, you need:
AddonBaseClass and handles tool executionMcpResponseHelper and McpUndoHelper