Fix log file path and add MCP configuration for image recognition
This commit is contained in:
@@ -0,0 +1,26 @@
|
|||||||
|
{
|
||||||
|
"mcpServers": {
|
||||||
|
"memory": {
|
||||||
|
"command": "npx",
|
||||||
|
"args": ["-y", "@modelcontextprotocol/server-memory"]
|
||||||
|
},
|
||||||
|
"tavily": {
|
||||||
|
"command": "npx",
|
||||||
|
"args": ["-y", "tavily-mcp@0.2.3"],
|
||||||
|
"env": {
|
||||||
|
"TAVILY_API_KEY": "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"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"image-recognition": {
|
||||||
|
"command": "/home/enne2/.local/bin/uvx",
|
||||||
|
"args": [
|
||||||
|
"--from",
|
||||||
|
"git+https://git.enne2.net/enne2/mcp-image-server.git",
|
||||||
|
"image-recognition-mcp"
|
||||||
|
],
|
||||||
|
"env": {
|
||||||
|
"OPENAI_API_KEY": "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"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -12,7 +12,7 @@ import openai
|
|||||||
logging.basicConfig(
|
logging.basicConfig(
|
||||||
level=logging.DEBUG,
|
level=logging.DEBUG,
|
||||||
format='%(asctime)s - %(name)s - %(levelname)s - %(message)s',
|
format='%(asctime)s - %(name)s - %(levelname)s - %(message)s',
|
||||||
filename='/home/enne2/Sviluppo/tetris-sdl/mcp-image-server/image_server.log'
|
filename='/home/enne2/Sviluppo/mcp-image-server/image_server.log'
|
||||||
)
|
)
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user