# Security model

Code Deb MCP is designed around explicit account identity and per-operation permissions. Natural-language instructions are never substitutes for server authorization.

## Identity and tenant boundary

Server-side authorization evaluates the verified account, active session, current organization membership and enabled service modules. Client-supplied organization names and tool arguments cannot select another customer database.

## Read versus write

Scopes, schema checks and business permissions are enforced separately. Supported writes use preview/review operations, job identifiers, and an apply step. A promise in a chat message does not by itself establish that an authorized change is safe.

## Data visibility

Business records stay inside permitted integrations. Never include OAuth access tokens, ERP bridge credentials, client customer records or employee data in public examples or GitHub issues.

## Audit and troubleshooting

When diagnosing unexpected behavior, review the approved business, granted scope, available module set and specific operation status. Record only safe request metadata.

## Machine-readable contract

- Canonical chapter: https://www.codedeb.com/docs/mcp/security
- Reference: https://www.codedeb.com/mcp/setup.md
- Documentation index: https://www.codedeb.com/llms.txt
