# server.prepareAcpRegistryAgent

> T3 Code · channel `nightly` · v0.1.15-nightly.20261205.5786 @ [`be521199aace`](https://github.com/pingdotgg/t3code/tree/be521199aace1a0b446f4db4a1181ef994aaa1e2) · 2026-12-05 · generated by Everdoc from source (no LLM).

4 steps across 4 workspaces

- Trigger: rpc `server.prepareAcpRegistryAgent` ([`server.prepareAcpRegistryAgent`](../reference/rpc/server.md#rpc-server-prepareacpregistryagent))
- Completeness: complete

## Steps

1. **@t3tools/client-runtime → server.prepareAcpRegistryAgent**: src/state → src via rpc ([`server.prepareAcpRegistryAgent`](../reference/rpc/server.md#rpc-server-prepareacpregistryagent)) · async
   Source: [packages/client-runtime/src/state/server.ts:2064](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/packages/client-runtime/src/state/server.ts#L2064)
2. **calls disallowedDriverReason**: src → src/policy via calls
   Source: [apps/server/src/ws.ts:2628](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/ws.ts#L2628)
3. **calls disallowedProviderMessage**: src/policy → src via calls
   Source: [apps/server/src/policy/managedProviders.ts:147](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/policy/managedProviders.ts#L147)
   Folded: [apps/server/src/policy/managedProviders.ts:137](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/policy/managedProviders.ts#L137)
4. **calls AcpRegistryCatalog**: src → src/server via calls
   Source: [apps/server/src/ws.ts:2633](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/ws.ts#L2633)
