-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Description
mcp run main.py
works with provided example:
{
"mcpServers": {
"docs": {
"command": "<USERNAME>/.local/bin/uv",
"args": [
"--directory",
"<USERNAME>/Desktop/mcp-server-example",
"run",
"main.py"
]
}
}
}
But next time
mcp install main.py
overwrites it with:
{
"mcpServers": {
"docs": {
"command": "uv",
"args": [
"run",
"--with",
"mcp[cli]",
"mcp",
"run",
"<USERNAME>/Desktop/mcp-server-example/main.py"
]
}
}
}
even modifying it to full path for some reason still fails:
{
"mcpServers": {
"docs": {
"command": "<USERNAME>/.local/bin/uv",
"args": [
"run",
"--with",
"mcp[cli]",
"mcp",
"run",
"<USERNAME>/Desktop/mcp-server-example/main.py"
]
}
}
}
?
When running with success, how do we know it is working? Say if we know to know more about a different subject say Django, how different is it with or without the mcp?
Are there any difference between mcp run vs uv run? Or better still, how to autogen to provide the correct syntax as provided in the example?
Metadata
Metadata
Assignees
Labels
No labels