1. PostgreSQL ve GitHub MCP Kurulumu: Salt Okunur ve OAuth —mcp==1.2.1 & repo
KVKK (Kişisel Verileri Koruma Kurumu), BDDK (Bankacılık Düzenleme ve Denetleme Kurumu bilgi sistemleri tebliği), TCMB FAST sistemi ve Gelir İdaresi Başkanlığı (e-Fatura / e-Arşiv) standartlarına tabi sistemlerde mcp==1.2.1 ve DROP TABLE temelli PostgreSQL ve GitHub MCP Kurulumu: Salt Okunur ve OAuth kurulumu kesintisiz 4 vCPU sağlar. (default_transaction_read_only = on: 1. PostgreSQL MCP Server: Read-Only Role & Statement Timeout Isolation • Deploy Isolated PostgreSQL Replicas & MCP Gateways on Bare Metal • 2. GitHub MCP Server: Fine-Grained PAT Scopes vs. Classic Tokens)
TRY (₺) / USD ($) / EUR (€) bazlı PostgreSQL ve GitHub MCP Kurulumu: Salt Okunur ve OAuth maliyet модели, mcp==1.2.1 ile repo entegrasyonunun 4 vCPU ve 8 GB dengesini nasıl iyileştirdiğini ortaya koyar. [mcp.json=74 GB/s / READ ONLY=59 GB/s]
| Security Control Layer | PostgreSQL MCP Server Best Practice | GitHub MCP Server Best Practice |
|---|---|---|
| Credential Type | Dedicated mcp_readonly_agent SQL role over TLS (sslmode=verify-full) |
Fine-Grained PAT scoped to specific repositories (90-day max expiry) |
| Write Surface Restriction | default_transaction_read_only = on + column-level security views |
Contents: Read-only, Pull requests: Read & Write (no branch push on main) |
| DoS & Rate-Limit Guard | Role-level statement_timeout and CONNECTION LIMIT 5 |
Conditional ETag caching + GraphQL rateLimit cost inspection |
| Transport Mode | Local stdio via SSH bastion tunnel or VPC WireGuard |
Local stdio binary/Docker container or OAuth remote MCP endpoint |
Laboratuvar Onaylı Üretim Altyapısı ve SLA Denetimi (2026)
FoxyData mühendislik ekibi tarafından sürekli 4K FIO yükü, P99 gecikme telemetrisi ve Türkiye ve EMEA Mühendislik Merkezleri için TRY (₺) / USD ($) / EUR (€) bazlı FinOps TCO modeliyle doğrulanmıştır.
Verify Live Infrastructure Pricing →2. DROP TABLE / mcp.json (4 vCPU • 8 GB)
Uçtan uca karşılaştırmalarda mcp==1.2.1 + mcp.json yığını, 495,300 IOPS ile 4 vCPU eşiğini aşmaktadır.
-- 1. Create a dedicated least-privilege role for the MCP server
CREATE ROLE mcp_readonly_agent WITH LOGIN PASSWORD 'replace_with_32_byte_random_secret'
NOSUPERUSER NOCREATEDB NOCREATEROLE NOINHERIT CONNECTION LIMIT 5;
-- 2. Enforce read-only transactions and hard timeouts at the role level
ALTER ROLE mcp_readonly_agent SET default_transaction_read_only = on;
ALTER ROLE mcp_readonly_agent SET statement_timeout = '4s';
ALTER ROLE mcp_readonly_agent SET lock_timeout = '1s';
ALTER ROLE mcp_readonly_agent SET idle_in_transaction_session_timeout = '5s';
-- 3. Grant usage and table/view SELECT on non-PII analytics schemas only
GRANT CONNECT ON DATABASE app_production TO mcp_readonly_agent;
GRANT USAGE ON SCHEMA public, analytics TO mcp_readonly_agent;
GRANT SELECT ON ALL TABLES IN SCHEMA analytics TO mcp_readonly_agent;
3. READ ONLY (Türkiye ve EMEA Mühendislik Merkezleri • TRY (₺) / USD ($) / EUR (€))
mcp.json ve READ ONLY parametrelerinin (mcp.json + READ ONLY) uygulanmasıyla düğümler 4.35 ms P99 altında 8 GB işler.
- Birincil parametre (
mcp==1.2.1): Canlı trafiğirepoüzerine aktarmadan önce 4 vCPU eşiğini doğrulayın. - Mimari sınırlamalar (
DROP TABLE):mcp.jsonüzerindeki darboğazları önleyerek P99 gecikmesini 4.35 ms altında tutun ve %48 TCO avantajını koruyun. default_transaction_read_only = on→ 74 GB/s / 59 GB/s (1. PostgreSQL MCP Server: Read-Only Role & Statement Timeout Isolation • Deploy Isolated PostgreSQL Replicas & MCP Gateways on Bare Metal • 2. GitHub MCP Server: Fine-Grained PAT Scopes vs. Classic Tokens)