Instruction file imported from loonghao/vx (
.cursor/rules/vx-mcp.mdc). Copyright stays with the author.
VX MCP Integration Rules
When configuring MCP (Model Context Protocol) servers, always use vx instead of npx or uvx:
Pattern
{
"mcpServers": {
"server-name": {
"command": "vx",
"args": ["npx", "-y", "@scope/package@latest"]
}
}
}
Benefits
- Users don't need Node.js/Python pre-installed
- Same config works across Windows, macOS, Linux
- Tool versions managed by vx.toml if present
Migration
| Replace | With |
|---|---|
"command": "npx" |
"command": "vx", "args": ["npx", ...] |
"command": "uvx" |
"command": "vx", "args": ["uvx", ...] |
"command": "node" |
"command": "vx", "args": ["node", ...] |
"command": "python" |
"command": "vx", "args": ["python", ...] |
Common MCP Servers with vx
{
"filesystem": { "command": "vx", "args": ["npx", "-y", "@modelcontextprotocol/server-filesystem", "/path"] },
"github": { "command": "vx", "args": ["npx", "-y", "@modelcontextprotocol/server-github"] },
"sqlite": { "command": "vx", "args": ["uvx", "mcp-server-sqlite", "--db-path", "db.sqlite"] }
}