MCP:图片搜索服务,客户端开发

This commit is contained in:
huangge1199 2025-06-04 16:39:52 +08:00
parent 03c70db3ab
commit ba744a5f3d
3 changed files with 16 additions and 2 deletions

1
.gitignore vendored
View File

@ -33,4 +33,3 @@ build/
.vscode/
/src/main/resources/application-dev.yml
/tmp/
/src/main/resources/mcp-servers.json

View File

@ -9,7 +9,7 @@ spring:
options:
model: qwen-plus
ollama:
base-url: http://192.168.1.9:11435
base-url: http://192.168.188.2:11435
chat:
model: llama3.2:3b
vectorstore:

View 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": {}
}
}
}