feat: mcp支持远程调用

This commit is contained in:
ageerle
2025-04-17 16:23:32 +08:00
parent 761d954ef1
commit 788b372e32
4 changed files with 76 additions and 9 deletions

View File

@@ -319,5 +319,15 @@ wechat:
secret: ''
token: ''
aesKey: ''
spring:
ai:
openai:
api-key: sk-xXe1WMPjhlVb1aiI1b4c6c8934D8463f9e4b67Ed8718B772
base-url: https://api.pandarobot.chat/
mcp:
client:
enabled: true
name: call-mcp-server
stdio:
servers-configuration: classpath:mcp-server.json

View File

@@ -0,0 +1,12 @@
{
"mcpServers": {
"fileSystem": {
"command": "C:\\Program Files\\nodejs\\npx.cmd",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"D:\\software"
]
}
}
}