Loading...
Loading...
Configure and build Model Context Protocol (MCP) servers for Claude Code integration. Set up database, filesystem, git, and API connections. Build custom MCP servers with TypeScript/Python SDK, implement tools and resources, configure transports (stdio, HTTP), and deploy for production.
npx skill4agent add vasilyu1983/ai-agents-public claude-code-mcp.claude/.mcp.json.claude/.mcp.json{
"mcpServers": {
"postgres": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-postgres"],
"env": { "POSTGRES_URL": "${DATABASE_URL}" }
}
}
}export DATABASE_URL="postgresql://user:pass@localhost:5432/db"
claude mcp list
claude mcp get postgres.claude/.mcp.jsonclaude --mcp-config <path>python3python# Allow all tools from a server (wildcard)
claude mcp add --allow "mcp__postgres__*" postgres -- npx -y @modelcontextprotocol/server-postgres
# Allow specific tools only
claude mcp add --allow "mcp__postgres__query,mcp__postgres__list_tables" postgres -- npx -y @modelcontextprotocol/server-postgres
# Deny a specific tool
claude mcp add --deny "mcp__filesystem__write_file" filesystem -- npx -y @modelcontextprotocol/server-filesystem ./data.mcp.jsonreferences/mcp-servers.mdreferences/mcp-custom.mdreferences/mcp-patterns.mdreferences/mcp-security.mdassets/database/template-mcp-database.mdassets/filesystem/template-mcp-filesystem.mdassets/api/template-mcp-api.mdassets/deployment/template-mcp-docker.mddata/sources.json