Chunk #508
Aus: Architektur (Index: 0)
190
Tokens
Synced
Status
Taxonomie
| Kategorie | Architektur |
|---|---|
| Pfad | Architektur > Datenbank Architektur > Verzeichnisstruktur |
| Heading-Pfad | Architektur > MCP-DB Architektur > Verzeichnisstruktur |
Entities
| Name | Typ |
|---|---|
| /opt/mcp-servers/mcp-db | TECHNOLOGY |
| server.py | SERVICE |
| config.py | CONFIG |
| .env | CONFIG |
| .env.example | CONFIG |
| requirements.txt | TECHNOLOGY |
| domain | CONCEPT |
| query_contract.py | CONCEPT |
| log_contract.py | CONCEPT |
| validators | CONCEPT |
| query_validator.py | COMMAND |
| infrastructure | CONCEPT |
| db_connection.py | SERVICE |
| protokoll_logger.py | SERVICE |
| tools | CONCEPT |
| select_tool.py | COMMAND |
| schema_tool.py | COMMAND |
| stats_tool.py | COMMAND |
Keywords
Inhalt
/opt/mcp-servers/mcp-db/
├── server.py # MCP Server Entrypoint
├── config.py # Zentrale Konfiguration
├── .env # Credentials (chmod 600)
├── .env.example # Template
├── requirements.txt # Dependencies
│
├── domain/ # Contracts (Interfaces)
│ ├── __init__.py
│ ├── query_contract.py # QueryRequest, QueryResponse
│ └── log_contract.py # LogEntry
│
├── validators/ # SRP: Separate Validierung
│ ├── __init__.py
│ └── query_validator.py # SQL Validierung
│
├── infrastructure/ # Implementierungen
│ ├── __init__.py
│ ├── db_connection.py # MariaDB Connection Pool
│ └── protokoll_logger.py # Logging nach ki_protokoll
│
└── tools/ # MCP Tools
├── __init__.py
├── select_tool.py # db_select
├── schema_tool.py # db_schema
└── stats_tool.py # db_statsClean Content
``` `/opt/mcp-servers/mcp-db/ ├── server.py # MCP Server Entrypoint ├── config.py # Zentrale Konfiguration ├── .env # Credentials (chmod 600) ├── .env.example # Template ├── requirements.txt # Dependencies │ ├── domain/ # Contracts (Interfaces) │ ├── __init__.py │ ├── query_contract.py # QueryRequest, QueryResponse │ └── log_contract.py # LogEntry │ ├── validators/ # SRP: Separate Validierung │ ├── __init__.py │ └── query_validator.py # SQL Validierung │ ├── infrastructure/ # Implementierungen │ ├── __init__.py │ ├── db_connection.py # MariaDB Connection Pool │ └── protokoll_logger.py # Logging nach ki_protokoll │ └── tools/ # MCP Tools ├── __init__.py ├── select_tool.py # db_select ├── schema_tool.py # db_schema └── stats_tool.py # db_stats` ```
Metadaten
| Analysiert am | 20.12.2025 12:41:46 |
|---|---|
| Analyse-Modell | gemma3:4b-it-qat |
| Embedding-Modell | mxbai-embed-large |
| Qdrant-ID | 61e99fee-4cda-47a0-9f16-f7cfed5d5086 |
| Erstellt | 20.12.2025 12:34:42 |
| Aktualisiert | 20.12.2025 12:53:38 |