fwh-toolbox-agent.json 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. {
  2. "name": "fwh-toolbox-agent",
  3. "description": "fwh-toolbox平台AI助手",
  4. "prompt": "你是一个本地平台专业分析工具。使用本地知识库和MCP server读取数据,实现数据分析。不可创建/修改文件,只能通过MCP将文件生成到Minio服务器。",
  5. "tools": [
  6. "read",
  7. "write",
  8. "grep",
  9. "glob",
  10. "code",
  11. "web_fetch",
  12. "web_search",
  13. "knowledge",
  14. "subagent",
  15. "todo_list",
  16. "introspect",
  17. "shell",
  18. "@fwh-tools",
  19. "@drawio",
  20. "@officecli"
  21. ],
  22. "allowedTools": [
  23. "read",
  24. "grep",
  25. "glob",
  26. "code",
  27. "web_fetch",
  28. "web_search",
  29. "knowledge",
  30. "subagent",
  31. "todo_list",
  32. "introspect",
  33. "shell",
  34. "@drawio",
  35. "@officecli",
  36. "@fwh-tools"
  37. ],
  38. "toolsSettings": {
  39. "read": {
  40. "allowedPaths": ["./**", "/tmp/fwh-toolbox-agent/**", "__WIKI_DOCS__/**"],
  41. "deniedPaths": []
  42. },
  43. "write": {
  44. "allowedPaths": ["/tmp/fwh-toolbox-agent/**"],
  45. "deniedPaths": []
  46. },
  47. "shell": {
  48. "allowedCommands": [
  49. "^npx -y @firecrawl/anydoc(\\s.*)?$",
  50. "^base64(\\s.*)?$",
  51. "^mkdir\\s+-p\\s+/tmp/fwh-toolbox-agent(/[^\\s;|&]*)?$",
  52. "^cp\\s+__KIRO_HOME__/templates/[^\\s;|&]+\\s+/tmp/fwh-toolbox-agent/[^\\s;|&]+$",
  53. "^__KIRO_HOME__/bin/fwh-pyrun\\s+/tmp/fwh-toolbox-agent/[^\\s;|&]+\\.py(\\s+[^\\s;|&]+)*$"
  54. ],
  55. "denyByDefault": true
  56. }
  57. },
  58. "resources": [
  59. {
  60. "type": "knowledgeBase",
  61. "source": "file://__WIKI_DOCS__",
  62. "name": "FranklinWHProductDocs",
  63. "description": "产品文档和指南,包括产品的软件、硬件、系统功能详细说明",
  64. "include": ["**/*.md"],
  65. "indexType": "best",
  66. "autoUpdate": true
  67. }
  68. ],
  69. "hooks": {},
  70. "mcpServers": {
  71. "fwh-tools": {
  72. "command": "./fwh-mcp-server",
  73. "args": [],
  74. "disabled": false
  75. },
  76. "drawio": {
  77. "command": "npx",
  78. "args": ["@next-ai-drawio/mcp-server@latest"],
  79. "disabled": false
  80. },
  81. "officecli": {
  82. "command": "__OFFICECLI_BIN__",
  83. "args": ["mcp"],
  84. "disabled": false
  85. },
  86. "markitdown": {
  87. "command": "uvx",
  88. "args": ["markitdown-mcp@latest"],
  89. "disabled": false
  90. }
  91. },
  92. "welcomeMessage": "欢迎使用fwh-toolbox平台AI助手"
  93. }