MCP:图片搜索服务,客户端开发
This commit is contained in:
parent
03c70db3ab
commit
ba744a5f3d
1
.gitignore
vendored
1
.gitignore
vendored
@ -33,4 +33,3 @@ build/
|
|||||||
.vscode/
|
.vscode/
|
||||||
/src/main/resources/application-dev.yml
|
/src/main/resources/application-dev.yml
|
||||||
/tmp/
|
/tmp/
|
||||||
/src/main/resources/mcp-servers.json
|
|
||||||
|
@ -9,7 +9,7 @@ spring:
|
|||||||
options:
|
options:
|
||||||
model: qwen-plus
|
model: qwen-plus
|
||||||
ollama:
|
ollama:
|
||||||
base-url: http://192.168.1.9:11435
|
base-url: http://192.168.188.2:11435
|
||||||
chat:
|
chat:
|
||||||
model: llama3.2:3b
|
model: llama3.2:3b
|
||||||
vectorstore:
|
vectorstore:
|
||||||
|
15
src/main/resources/mcp-servers.json
Normal file
15
src/main/resources/mcp-servers.json
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"mcpServers": {
|
||||||
|
"yu-image-search-mcp-server": {
|
||||||
|
"command": "java",
|
||||||
|
"args": [
|
||||||
|
"-Dspring.ai.mcp.server.stdio=true",
|
||||||
|
"-Dspring.main.web-application-type=none",
|
||||||
|
"-Dlogging.pattern.console=",
|
||||||
|
"-jar",
|
||||||
|
"long-image-search-mcp-server/target/long-image-search-mcp-server-0.0.1-SNAPSHOT.jar"
|
||||||
|
],
|
||||||
|
"env": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user