# Code Deb documentation for coding agents

Use official Code Deb references when implementing integrations. Do not infer undocumented fields, tools, credentials, or access.

## Start with the right product

| Product | Human-readable documentation | Machine-readable source |
| --- | --- | --- |
| Code Deb Verify | https://www.codedeb.com/docs/verify | https://www.codedeb.com/docs.md |
| Code Deb MCP | https://www.codedeb.com/docs/mcp | https://www.codedeb.com/mcp/setup.md |

Discovery index: https://www.codedeb.com/llms.txt

## Read one chapter as Markdown

Each documentation chapter has an equivalent public `.md` document. This lets coding agents read the relevant topic without parsing the website UI.

- Verify overview: https://www.codedeb.com/docs/verify.md
- Verify quickstart: https://www.codedeb.com/docs/verify/quickstart.md
- Response fields: https://www.codedeb.com/docs/verify/response-fields.md
- MCP overview: https://www.codedeb.com/docs/mcp.md
- MCP client connection: https://www.codedeb.com/docs/mcp/connect.md
- MCP tool schemas: https://www.codedeb.com/docs/mcp/tools.md

Find all chapter URLs in https://www.codedeb.com/llms.txt. For broad indexing or larger context windows, read https://www.codedeb.com/llms-full.txt.

## Integrating Code Deb Verify

The public domain intelligence API accepts domain names. Its public REST endpoints are rate limited and the documented status of an individual signal can be unknown.

```bash
curl -X POST "https://www.codedeb.com/api/tools/domain-intelligence" \
  -H "Content-Type: application/json" \
  -d '{"value":"example.org"}'
```

Use the live OpenAPI 3.1 document as the source of truth for paths, required fields, response objects, and error codes:

https://www.codedeb.com/api/tools/domain-intelligence/openapi.json

Rules for agents:
1. Prefer bare domains. The separate full-address endpoint requires an explicit privacy decision.
2. Treat `unknown` as an unavailable or unverified signal. `not_listed` is not proof of safety.
3. Do not claim that a mailbox exists or is owned by a user based on MX, SPF, DMARC, or domain checks.
4. Handle `429` with the documented `Retry-After` value. Do not automatically classify `503` as a negative finding.
5. Never invent an API key, a subscription tier, or enterprise capability that is not documented.
6. If a schema disagrees with an example, verify against the live OpenAPI response before changing code.

## Integrating Code Deb MCP

The business MCP service is a separate authenticated product. It uses Streamable HTTP and OAuth.

```text
https://api.codedeb.com/api/workspace/mcp
```

For supported CLI clients, the published examples are:

```bash
claude mcp add --scope user --transport http codedeb https://api.codedeb.com/api/workspace/mcp
claude mcp login codedeb
```

```bash
codex mcp add codedeb --url https://api.codedeb.com/api/workspace/mcp
```

Client options change with software versions. Consult your installed client's help and the [connection reference](https://www.codedeb.com/mcp/setup.md).

Rules for agents:
1. Complete the account sign-in and consent flow in the client, not through copied tokens in prompts.
2. Call tool discovery after authorization. The tools exposed depend on the authenticated business, enabled modules, and permissions.
3. For write operations, use the documented prepare, review, and apply workflow when available.
4. Check the original operation status before retrying any write with an uncertain result.
5. Do not place OAuth tokens, customer records, ERP credentials, or service secrets into source code or public issues.
6. Do not assume a Code Deb Client Portal MCP connection grants access to Code Deb People, which is a separate service.

## Paste into an AI coding agent

```text
When integrating Code Deb, start with https://www.codedeb.com/llms.txt.
For Verify read https://www.codedeb.com/docs.md and check the live
OpenAPI document at
https://www.codedeb.com/api/tools/domain-intelligence/openapi.json.
For business MCP read https://www.codedeb.com/mcp/setup.md, complete
OAuth consent, and discover currently authorized tool schemas.
Do not invent endpoints, success results, API keys, or permissions.
Respect privacy, explicit uncertainty, rate limits, and write reviews.
```

## Troubleshooting

For Verify, inspect the HTTP status and individual source statuses; check the rate limit response before retrying. For MCP, verify the remote URL, client transport support, the authenticated business account, granted scopes, and `tools/list`. A successful connection does not prove that a requested operation is authorized.

For further help, see [Code Deb Support](https://www.codedeb.com/support).

## Authorized media downloads

The video tools may expose `codedeb_download_media` in compatible browser WebMCP when a media worker is configured. Supply the supported tool slug, one individual HTTPS video URL, and `authorized: true` only after the user confirms permission. The tool initiates a browser file download and returns file metadata, not media bytes in the chat. Do not automate background crawler downloads. A separately hosted authenticated remote media MCP is required for headless clients; it is not the business MCP endpoint. Handle unavailable service and quota errors without retry loops.

## Public Code Deb Tools MCP

Endpoint: https://www.codedeb.com/tools-mcp (Streamable HTTP, no account required). Use `initialize`, `tools/list`, and `tools/call` in a compatible MCP client. Use `codedeb_find_tools` and `codedeb_tool_information` to discover the full catalog and its execution status. `tools/list` returns typed schemas for supported utility operations, including campaign URLs, calendars, data transforms, finance and SEO syntax. The public endpoint does not download video. Remote authorized video processing is separate at https://media.codedeb.com/mcp and requires private authentication. A configurable OAuth resource gateway is provided in the repository but is disabled until a dedicated authorization server, service credentials and platform permissions are configured. Never assume browser WebMCP or search indexing confers remote execution access.

## Model-independent REST tools

Any HTTPS-capable client can use the [public OpenAPI specification](https://www.codedeb.com/tools-api/v1/openapi.json) and [catalog](https://www.codedeb.com/tools-api/v1/catalog). Use [the universal tools guide](https://www.codedeb.com/docs/universal-tools.md) for typed POST execution and real downloadable text artifacts. No model-specific adapter is required.

Canonical human-readable [Public Tools API and AI integration reference](/docs/universal-tools). Use it to distinguish browser-only operations from public remote execution.
