$askskill.ai
← Back
$ askskill --guide cursor-skills-and-mcp

Using MCP and Project Skills in Cursor: Scopes, Config, and Troubleshooting

2026-07-22

Cursor supports both MCP server connections and Skill / rule instructions, yet stuffing every tool into global settings often causes tool bloat, slow startup, and cross-project confusion.

Two Scopes for mcp.json

Cursor loads MCP configuration from two places:

  • Project scope: .cursor/mcp.json in the repository root. Active only in that workspace — ideal for project databases, internal APIs, or design systems. Keep personal secrets out of Git by ignoring the file or referencing environment variables.
  • User scope: ~/.cursor/mcp.json across all workspaces — best for general search, documentation lookup, and cross-project utilities.

Example configuration combining a remote HTTP server and a local stdio server:

{
  "mcpServers": {
    "askskill": {
      "url": "https://askskill.ai/api/mcp"
    },
    "postgres-readonly": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-postgres", "postgresql://readonly@localhost:5432/app"]
    }
  }
}

Pairing SKILL.md with Cursor Workflows

While MCP handles external connectivity, Skills encode repeatable engineering practices such as PR checklists, migration reviews, or release verification:

  1. Pick a verified Skill from the Skills catalog and place its SKILL.md under .cursor/skills/ or .agents/skills/ (or distill key conventions into .cursor/rules/).
  2. Invoke it explicitly when needed rather than injecting thousands of tokens into every prompt unconditionally.
  3. Combine both layers on multi-step tasks: let MCP fetch live schema or ticket state, and let Skill enforce your output structure and review gates.

Keep Active Tools Focused

Models perform significantly better when total active tools stay around 20–30 or fewer:

  • Monolithic MCP servers exposing 40+ tools dilute tool selection accuracy;
  • Toggle rarely used servers off in Cursor Settings → MCP instead of deleting configs;
  • Group workflows by role (frontend debugging, data analysis, security review) with the AI Stack Builder.

Quick Troubleshooting

  • Red status indicator: Open the Output panel and select MCP Logs to inspect missing binaries or environment variables.
  • Edits to mcp.json ignored: Hit the reload icon next to the server entry and check for trailing commas in JSON.
  • Tools never invoked: Make sure you are in Agent mode rather than Ask mode, and name the target system clearly in your prompt.

Further reading: Skill or MCP? The Differences and How to Choose and How to Write a High-Quality SKILL.md.