Skip to main content

MCP Servers

Extend Claude Code's capabilities with Model Context Protocol servers

Model Context Protocol (MCP) servers allow Claude Code to interact with external systems safely and efficiently. Each server provides specific capabilities while maintaining security boundaries.

Database Server

Direct database access for queries and schema management

Features:

  • PostgreSQL, MySQL, SQLite support
  • Safe read-only queries by default
  • Schema introspection
  • Migration assistance

Configuration:

{
  "mcp-server-postgres": {
    "command": "npx",
    "args": ["@modelcontextprotocol/server-postgres"],
    "env": {
      "DATABASE_URL": "postgresql://..."
    }
  }
}

Web Browser

Browse websites and extract information

Features:

  • JavaScript rendering
  • Screenshot capture
  • DOM interaction
  • Cookie management

Configuration:

{
  "mcp-server-browser": {
    "command": "npx",
    "args": ["@modelcontextprotocol/server-browser"]
  }
}

File System Enhanced

Advanced file operations beyond standard tools

Features:

  • Bulk file operations
  • Archive extraction
  • File watching
  • Permission management

Configuration:

{
  "mcp-server-filesystem": {
    "command": "npx",
    "args": ["@modelcontextprotocol/server-filesystem"],
    "env": {
      "ALLOWED_PATHS": "/home/user/projects"
    }
  }
}

Git Enhanced

Advanced git operations and repository analysis

Features:

  • Branch management
  • Commit history analysis
  • Diff generation
  • Merge conflict resolution

Configuration:

{
  "mcp-server-git": {
    "command": "npx",
    "args": ["@modelcontextprotocol/server-git"]
  }
}

Shell Server

Execute shell commands with enhanced safety

Features:

  • Command sandboxing
  • Output streaming
  • Environment control
  • Process management

Configuration:

{
  "mcp-server-shell": {
    "command": "npx",
    "args": ["@modelcontextprotocol/server-shell"],
    "env": {
      "ALLOWED_COMMANDS": "npm,yarn,git"
    }
  }
}

Cloud Services

Integrate with AWS, GCP, and Azure services

Features:

  • S3 bucket operations
  • Lambda deployment
  • Cloud function management
  • Resource monitoring

Configuration:

{
  "mcp-server-aws": {
    "command": "npx",
    "args": ["@modelcontextprotocol/server-aws"],
    "env": {
      "AWS_REGION": "us-east-1"
    }
  }
}

Creating Custom MCP Servers

Build your own MCP servers to integrate Claude Code with your specific tools and workflows.

npm init @modelcontextprotocol/server my-custom-server