API Development Stack for Claude Desktop
Configuration
{
"mcpServers": {
"postgres-mcp": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-postgres",
"postgresql://localhost/mydb"
],
"env": {
"POSTGRES_CONNECTION_STRING": "YOUR_POSTGRES_CONNECTION_STRING"
}
},
"github-mcp": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-github"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "YOUR_GITHUB_PERSONAL_ACCESS_TOKEN"
}
},
"context7-mcp": {
"command": "npx",
"args": [
"-y",
"@upstash/context7-mcp"
]
},
"playwright-mcp": {
"command": "npx",
"args": [
"-y",
"@playwright/mcp"
]
},
"sentry-mcp": {
"command": "npx",
"args": [
"-y",
"sentry-mcp"
],
"env": {
"SENTRY_AUTH_TOKEN": "YOUR_SENTRY_AUTH_TOKEN"
}
}
}
}Where to save
Paste the config above into:
~/Library/Application Support/Claude/claude_desktop_config.jsonEnvironment Variables
Replace the YOUR_ placeholders with your actual values.
POSTGRES_CONNECTION_STRINGrequiredPostgreSQL connection string (e.g. postgresql://user:pass@localhost:5432/mydb)
Used by: PostgreSQL MCP
GITHUB_PERSONAL_ACCESS_TOKENrequiredGitHub personal access token
Used by: GitHub MCP
SENTRY_AUTH_TOKENrequiredSentry auth token
Used by: Sentry MCP
What’s in this stack
Query and interact with PostgreSQL databases, inspect schemas, and run SQL directly from your AI editor.
Query and manage your PostgreSQL database directly — design schemas, run migrations, and debug queries without leaving your editor.
Access the GitHub API to manage repositories, issues, pull requests, branches, and workflows directly from your AI editor.
Manage repositories, pull requests, and CI/CD workflows to keep your API codebase organized and continuously deployed.
Pull up-to-date documentation and code examples for any library directly into your prompt context using the Context7 API.
Access up-to-date documentation for frameworks like Express, FastAPI, or NestJS so your AI assistant generates correct, current code.
Automate browser interactions, take screenshots, fill forms, and test web applications using Microsoft Playwright from your AI editor.
Run end-to-end API integration tests and validate endpoint behavior automatically before shipping to production.
Query Sentry for error tracking, performance monitoring, and issue management directly from your AI editor.
Track API errors, exceptions, and performance bottlenecks in real time so you can fix issues before users report them.