forked from HomeLab/unraid-mcp
Update .mcp.json to use environment variable for the --directory argument, ensuring the MCP server works correctly regardless of where the plugin is installed. This follows Claude Code plugin best practices for MCP server bundling.
13 lines
241 B
JSON
13 lines
241 B
JSON
{
|
|
"mcpServers": {
|
|
"unraid": {
|
|
"type": "stdio",
|
|
"command": "uv",
|
|
"args": ["run", "--directory", "${CLAUDE_PLUGIN_ROOT}", "unraid-mcp-server"],
|
|
"env": {
|
|
"UNRAID_MCP_TRANSPORT": "stdio"
|
|
}
|
|
}
|
|
}
|
|
}
|