# Architecture - RabbitMQ MCP Server

## Table of Contents

- [Architecture - RabbitMQ MCP Server](#table-of-contents)
  - [Executive Summary](./executive-summary.md)
  - [Project Initialization](./project-initialization.md)
  - [Decision Summary](./decision-summary.md)
  - [Project Structure](./project-structure.md)
  - [Epic to Architecture Mapping](./epic-to-architecture-mapping.md)
  - [Technology Stack Details](./technology-stack-details.md)
    - [Core Technologies](./technology-stack-details.md#core-technologies)
    - [Integration Points](./technology-stack-details.md#integration-points)
  - [Implementation Patterns](./implementation-patterns.md)
    - [Naming Conventions](./implementation-patterns.md#naming-conventions)
    - [Code Organization](./implementation-patterns.md#code-organization)
    - [Error Handling](./implementation-patterns.md#error-handling)
    - [Logging Strategy](./implementation-patterns.md#logging-strategy)
  - [Consistency Rules](./consistency-rules.md)
    - [API Response Format](./consistency-rules.md#api-response-format)
    - [Date/Time Handling](./consistency-rules.md#datetime-handling)
    - [Async/Await Pattern](./consistency-rules.md#asyncawait-pattern)
    - [Type Hints (Mandatory)](./consistency-rules.md#type-hints-mandatory)
    - [Docstrings (Mandatory for Public API)](./consistency-rules.md#docstrings-mandatory-for-public-api)
  - [Data Architecture](./data-architecture.md)
    - [Core Data Models](./data-architecture.md#core-data-models)
    - [Data Relationships](./data-architecture.md#data-relationships)
    - [Data Storage Strategy](./data-architecture.md#data-storage-strategy)
  - [API Contracts](./api-contracts.md)
    - [MCP Protocol (JSON-RPC 2.0)](./api-contracts.md#mcp-protocol-json-rpc-20)
    - [MCP Tools](./api-contracts.md#mcp-tools)
    - [RabbitMQ Management API](./api-contracts.md#rabbitmq-management-api)
    - [AMQP Protocol Operations](./api-contracts.md#amqp-protocol-operations)
  - [Security Architecture](./security-architecture.md)
    - [Authentication & Authorization](./security-architecture.md#authentication-authorization)
    - [Credential Protection](./security-architecture.md#credential-protection)
    - [Audit Trail](./security-architecture.md#audit-trail)
    - [Network Security](./security-architecture.md#network-security)
  - [Performance Considerations](./performance-considerations.md)
    - [Latency Targets](./performance-considerations.md#latency-targets)
    - [Throughput Targets](./performance-considerations.md#throughput-targets)
    - [Optimization Strategies](./performance-considerations.md#optimization-strategies)
    - [Scalability](./performance-considerations.md#scalability)
  - [Deployment Architecture](./deployment-architecture.md)
    - [Deployment Modes](./deployment-architecture.md#deployment-modes)
    - [Infrastructure Requirements](./deployment-architecture.md#infrastructure-requirements)
    - [Environment Variables](./deployment-architecture.md#environment-variables)
    - [High Availability (Phase 2)](./deployment-architecture.md#high-availability-phase-2)
  - [Development Environment](./development-environment.md)
    - [Prerequisites](./development-environment.md#prerequisites)
    - [Setup Commands](./development-environment.md#setup-commands)
    - [Development Workflow](./development-environment.md#development-workflow)
    - [IDE Configuration](./development-environment.md#ide-configuration)
  - [Architecture Decision Records (ADRs)](./architecture-decision-records-adrs.md)
    - [ADR-001: OpenAPI-Driven Code Generation](./architecture-decision-records-adrs.md#adr-001-openapi-driven-code-generation)
    - [ADR-002: 3-Tool Semantic Discovery Pattern](./architecture-decision-records-adrs.md#adr-002-3-tool-semantic-discovery-pattern)
    - [ADR-003: Dual Transport (Stdio + HTTP)](./architecture-decision-records-adrs.md#adr-003-dual-transport-stdio-http)
    - [ADR-004: JSON-Based Vector Storage (MVP)](./architecture-decision-records-adrs.md#adr-004-json-based-vector-storage-mvp)
    - [ADR-005: Stateless Server Design](./architecture-decision-records-adrs.md#adr-005-stateless-server-design)
    - [ADR-006: Automatic Credential Sanitization](./architecture-decision-records-adrs.md#adr-006-automatic-credential-sanitization)
    - [ADR-007: Build-Time vs Runtime Generation](./architecture-decision-records-adrs.md#adr-007-build-time-vs-runtime-generation)
    - [ADR-008: Pydantic for All Validation](./architecture-decision-records-adrs.md#adr-008-pydantic-for-all-validation)
    - [ADR-009: Structured Logging with structlog](./architecture-decision-records-adrs.md#adr-009-structured-logging-with-structlog)
    - [ADR-010: pytest + testcontainers](./architecture-decision-records-adrs.md#adr-010-pytest-testcontainers)
  - [Summary](./summary.md)
