Skip to content

Commit e970fbb

Browse files
committed
feat(mcp): add McpTool extension point and built-in tools #330
- Introduce McpTool extension point for dynamic tool registration. - Add McpToolManager to manage built-in and extension-provided tools. - Implement 20+ built-in tools for file, text, and project operations.
1 parent adf651b commit e970fbb

File tree

4 files changed

+819
-0
lines changed

4 files changed

+819
-0
lines changed

core/src/233/main/resources/META-INF/autodev-core.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,11 @@
220220
<extensionPoint qualifiedName="cc.unitmesh.knowledgeWebApiProvide"
221221
interface="cc.unitmesh.devti.bridge.provider.KnowledgeWebApiProvider"
222222
dynamic="true"/>
223+
224+
<!-- mcp -->
225+
<extensionPoint qualifiedName="cc.unitmesh.mcpTool"
226+
interface="cc.unitmesh.devti.mcp.McpTool"
227+
dynamic="true"/>
223228
</extensionPoints>
224229

225230
<applicationListeners>

0 commit comments

Comments
 (0)