Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>MCPX Cursor IntegrationNew to Visual Studio Code? Get it now.
MCPX Cursor Integration

MCPX Cursor Integration

xAgent

| (0) | Free
Cursor extension that syncs MCPX managed MCP servers into Cursor MCP settings.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

MCPX Cursor Integration

Cursor extension that syncs MCPX-managed MCP servers into Cursor's MCP configuration.

Features

  • Discover MCP servers installed under the MCPX root (~/.mcp/servers by default).
  • Write Cursor MCP configuration JSON to the default data directory, with overrides.
  • Support MCPX orchestrator endpoint for single-entry configuration.

Development

pnpm install
pnpm --filter mcpx-cursor-extension dev

Commands

  • MCPX: Sync Cursor MCP Servers (mcpxCursor.syncServers) — refresh Cursor MCP configuration from MCPX.
  • MCPX: Install Server from Registry (mcpxCursor.installFromRegistry) — install a server listed in the MCPX registry and update Cursor config.
  • MCPX (Agent): Search Registry (mcpxCursor.searchRegistry) — returns registry metadata for agent workflows (no UI).
  • MCPX (Agent): Install Server by ID (mcpxCursor.installServer) — programmatically install/update a registry server with optional environment overrides.

Configuration Options

  • mcpxCursor.mcpRoot – override MCP root directory.
  • mcpxCursor.configPath – explicit Cursor MCP config file path.
  • mcpxCursor.orchestratorUrl – use orchestrator proxy instead of per-server commands.

Publishing

Cursor supports VS Code-compatible extensions. Build/package with:

pnpm --filter mcpx-cursor-extension build
pnpm --filter mcpx-cursor-extension package
VSCE_PAT=*** pnpm --filter mcpx-cursor-extension exec vsce publish --no-dependencies

Agent API Example

const results = await vscode.commands.executeCommand("mcpxCursor.searchRegistry", "pumpfun");
const entry = results[0];

await vscode.commands.executeCommand("mcpxCursor.installServer", {
  id: entry.id,
  env: { HELIUS_RPC_URL: process.env.HELIUS_RPC_URL ?? "" }
});
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft