暂存mcpserver

This commit is contained in:
2025-08-03 13:23:48 +08:00
parent c8389bbf80
commit f8dd936568
11 changed files with 205 additions and 219 deletions

32
.kilocode/mcp.json Normal file
View File

@@ -0,0 +1,32 @@
{
"mcpServers": {
"rimworld-knowledge-base": {
"command": "python",
"args": [
"mcpserver_stdio.py"
],
"cwd": "${workspaceFolder}/Source/MCP/",
"env": {
"PYTHONUNBUFFERED": "1"
},
"disabled": false
}
},
"tools": {
"rimworld-knowledge-base": {
"description": "从RimWorld本地知识库包括C#源码和XML中检索上下文。",
"server_name": "rimworld-knowledge-base",
"tool_name": "get_context",
"input_schema": {
"type": "object",
"properties": {
"question": {
"type": "string",
"description": "关于RimWorld开发的问题应包含代码或XML中的关键词。"
}
},
"required": ["question"]
}
}
}
}