A sovereign, local-first MCP server for secure read-only PostgreSQL querying, schema inspection, AWS S3 security audits, and Cloudflare infrastructure control.
Project description
seosiri-db-infra-mcp
📖 Official Architecture & Documentation: SEOSiri Database Infrastructure Guide | Central MCP Directory
An open-source, local-first Model Context Protocol (MCP) server for Secure Live Database Querying, Schema Inspection, AWS S3 Security Audits, and Cloudflare Infrastructure Control.
💖 Sponsorship, B2B Custom Solutions & Attribution
👨💻 Lead Architect & Attribution
Designed and engineered by Momenul Ahmad, Lead Architect and Founder of SEOSiri.
🚀 Capabilities & Tools (10 Production Tools)
execute_readonly_postgres_query: Executes parameterized read-only SQL queries with SELECT-only validation.inspect_database_schema_tree: Extracts table schemas, column data types, and indexes.audit_aws_s3_bucket_security: Inspects AWS S3 bucket policies, encryption, and public-access block flags.check_cloudflare_worker_deployment_status: Audits Cloudflare Workers deployment states and routes.mask_sensitive_query_columns: Applies dynamic column-level PII/PHI masking to query result sets.enforce_query_timeout_guardrails: Configures query execution timeouts to prevent table locks.export_query_parquet_buffer: Formats database query results into columnar Parquet buffers.sanitize_database_input_payload: Strips SQL mutation attempts (DROP,DELETE,UPDATE).get_live_db_throughput_metrics: Monitors system health and connection metrics.get_db_server_specifications: Returns protocol specs and capability matrices.
🛠️ Quickstart
Installation
pip install -e .
Run Tests
pytest tests/test_db_infra.py
🔌 Claude Desktop / Cursor Configuration
Add this block to your claude_desktop_config.json or Cursor settings file:
{
"mcpServers": {
"seosiri-db-infra-mcp": {
"command": "python",
"args": ["-m", "seosiri_db_infra_mcp"]
}
}
}
📄 License
Distributed under the MIT License. See LICENSE for more information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file seosiri_db_infra_mcp-1.0.0.tar.gz.
File metadata
- Download URL: seosiri_db_infra_mcp-1.0.0.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f7bb2179f654a400b4d64d7b7f59b201a9c05fe8189e5fc1faea4bb67b6c188f
|
|
| MD5 |
a7a5064546e7e2f7351b31d6ac73f4c7
|
|
| BLAKE2b-256 |
466c7d014cd374d02261f0f99edce7c077035652590b318c1eece1f5da19fbea
|
File details
Details for the file seosiri_db_infra_mcp-1.0.0-py3-none-any.whl.
File metadata
- Download URL: seosiri_db_infra_mcp-1.0.0-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9dfc4105da2d6220e0f6a56402d860a4320e05af02666fc5999f28d3e2497722
|
|
| MD5 |
96d693f52c6a49e70f6a048ea3e5078e
|
|
| BLAKE2b-256 |
5ddec5647c4d4d2652cfc9a35e2909847a777869fe4be562b0e489852031317b
|