Claude Tips mascot
Claude Tips & Tricks
MCP advanced

Connect External Tools via MCP

Model Context Protocol lets Claude interact with databases, APIs, browsers, and more through standardized tool servers.

MCP (Model Context Protocol) is Anthropic’s open standard for connecting Claude to external tools. Set up servers in your Claude config:

{
  "mcpServers": {
    "postgres": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-postgres", "postgresql://localhost/mydb"]
    },
    "playwright": {
      "command": "npx",
      "args": ["-y", "@anthropic/plugin-playwright"]
    }
  }
}

This gives Claude the ability to query your database, browse the web, manage files, and interact with external APIs through a standardized protocol.

Paste into Claude Code
Show me my current MCP server configuration and suggest additional MCP servers that would be useful for this project based on the tools and services I'm using.