Documentation

Using MCP Servers

Practical guide for using MCP servers in development.

Model Context Protocol (MCP) servers extend Cursor's capabilities with specialized tools.

Available MCP Servers

shadcn

Manage shadcn/ui components:

"Add a button component from shadcn"

The shadcn MCP server can:

  • Add components to your project
  • List available components
  • Update component versions

v0

Generate UI designs with AI:

"Create a login form with email and password fields"

The v0 MCP server can:

  • Generate UI components
  • Create full page layouts
  • Iterate on designs

GitHub

Repository operations:

"Create a new branch for feature X"

The GitHub MCP server can:

  • Create branches
  • Open pull requests
  • Manage issues
  • View repository information

Vercel

Deployment management:

"Deploy the API to Vercel"

The Vercel MCP server can:

  • Deploy projects
  • View deployments
  • Manage environment variables
  • Check deployment status

Usage Examples

Adding a Component

"Use the shadcn MCP server to add a card component"

Generating UI

"Use v0 to generate a dashboard layout with sidebar navigation"

Creating a PR

"Use github MCP to create a pull request for the current branch"

Setup

See Cursor Setup for MCP server configuration.

On this page