← Back to Blog
tutorialcursorintegrationide

Connect MCPM Tools to Cursor IDE

Configure Cursor to use MCP tools from the mcpm registry. Boost your coding workflow with AI-powered tooling.

·2 min read·xapable

Connect MCPM Tools to Cursor IDE

Cursor IDE has first-class MCP support. This guide shows you how to supercharge Cursor with tools from mcpm.

Why MCP in Cursor?

With MCP tools, Cursor's AI can:

  • Query your database directly
  • Search your documentation
  • Run tests and analyze results
  • Interact with your APIs
  • Reference your codebase intelligently

Step 1: Find Cursor-Ready Tools

mcpm-dev search <span class="hljs-string">&quot;code&quot;</span>
mcpm-dev search <span class="hljs-string">&quot;database&quot;</span>
mcpm-dev search <span class="hljs-string">&quot;testing&quot;</span>

Popular tools for Cursor:

  • github-assistant — review PRs, search code
  • database-explorer — query databases inline
  • code-interpreter — execute Python in a sandbox
  • docs-search — search your documentation

Step 2: Install

mcpm-dev add github-assistant
mcpm-dev add database-explorer

Step 3: Configure Cursor

Open Cursor Settings → Features → MCP → Add Server.

Or edit .cursor/mcp.json in your project:

<span class="hljs-punctuation">{</span>
  <span class="hljs-attr">&quot;mcpServers&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
    <span class="hljs-attr">&quot;github-assistant&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
      <span class="hljs-attr">&quot;command&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;npx&quot;</span><span class="hljs-punctuation">,</span>
      <span class="hljs-attr">&quot;args&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span><span class="hljs-string">&quot;-y&quot;</span><span class="hljs-punctuation">,</span> <span class="hljs-string">&quot;github-assistant&quot;</span><span class="hljs-punctuation">]</span><span class="hljs-punctuation">,</span>
      <span class="hljs-attr">&quot;env&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
        <span class="hljs-attr">&quot;GITHUB_TOKEN&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;${GITHUB_TOKEN}&quot;</span>
      <span class="hljs-punctuation">}</span>
    <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;database-explorer&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
      <span class="hljs-attr">&quot;command&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;npx&quot;</span><span class="hljs-punctuation">,</span>
      <span class="hljs-attr">&quot;args&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span><span class="hljs-string">&quot;-y&quot;</span><span class="hljs-punctuation">,</span> <span class="hljs-string">&quot;database-explorer&quot;</span><span class="hljs-punctuation">]</span><span class="hljs-punctuation">,</span>
      <span class="hljs-attr">&quot;env&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
        <span class="hljs-attr">&quot;DB_URL&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;postgresql://localhost:5432/mydb&quot;</span>
      <span class="hljs-punctuation">}</span>
    <span class="hljs-punctuation">}</span>
  <span class="hljs-punctuation">}</span>
<span class="hljs-punctuation">}</span>

Step 4: Use in Cursor

Open the AI chat (Cmd+L / Ctrl+L) and try:

  • "Show me the schema of the users table" → calls database-explorer
  • "Create a PR for this branch" → calls github-assistant
  • "Run the test suite and fix any failures" → calls test-runner

Cursor's agent automatically selects the right tool for each request.

Project-Specific Configuration

For team projects, commit .cursor/mcp.json to your repo:

<span class="hljs-punctuation">{</span>
  <span class="hljs-attr">&quot;mcpServers&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
    <span class="hljs-attr">&quot;project-docs&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
      <span class="hljs-attr">&quot;command&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;npx&quot;</span><span class="hljs-punctuation">,</span>
      <span class="hljs-attr">&quot;args&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span><span class="hljs-string">&quot;-y&quot;</span><span class="hljs-punctuation">,</span> <span class="hljs-string">&quot;@company/project-docs-mcp&quot;</span><span class="hljs-punctuation">]</span><span class="hljs-punctuation">,</span>
      <span class="hljs-attr">&quot;env&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
        <span class="hljs-attr">&quot;DOCS_PATH&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;${workspaceFolder}/docs&quot;</span>
      <span class="hljs-punctuation">}</span>
    <span class="hljs-punctuation">}</span>
  <span class="hljs-punctuation">}</span>
<span class="hljs-punctuation">}</span>

Everyone on the team gets the same tools automatically.

Debugging in Cursor

If a tool isn't working:

  1. Open Cursor Settings → MCP
  2. Check the server status (green = connected)
  3. Click "View Logs" to see errors
  4. Try running the command manually in terminal

Pro Tips

  • Use npx -y — it auto-installs if the package isn't cached
  • Scope tools per project — not every project needs every tool
  • Set environment variables in .env and reference them in config
  • Update regularly: mcpm-dev update

Cursor + mcpm = the most powerful AI coding experience available today.

#MCP #Cursor #Tutorial #mcpm #DevTools