NoBreakAdsBlogMCP Create an account

Separate client credentials in Claude Managed Agents

Reuse an agent definition across two portfolios and give each session the correct client credential. Check which accounts it can see.

An agency wants to reuse one agent definition across two portfolios. In the Managed Agents beta integration, the definition declares the MCP server by name and URL. Each session references the vault holding the credential for its context.

Step by step

  1. In the agent definition, add the server to mcp_servers with type set to url, a unique name and the full URL. In tools, add mcp_toolset and reference the same name in mcp_server_name.
  2. Select the vault through a verified access mapping.
  3. Record the first successful lookup for each client.
  4. Create two test sessions from the same agent definition, each using a different demo portfolio’s vault. Look up a known ID in each. If the wrong account appears, pause and check the mapping between operator, vault and full server URL.

Put the NoBreakAds MCP to work

List the test client’s expected account links through NoBreakAds MCP in a supported client. Use those IDs as the baseline when testing your Managed Agents integration. Record which accounts each identity sees and flag any unexpected link. Explore the NoBreakAds MCP · Create an account.

Related guide: Hermes Agent profiles and credential isolation

Bind the session to its portfolio

Have the agency application resolve the operator’s identity and select the permitted vault server-side. Anthropic matches credentials to the declared MCP URL. Check the full endpoint path, especially when services share a domain. Claude Managed Agents · MCP connector

Interpret the first lookup

A session can start and subsequently emit an MCP authentication or connection error. Before accepting a summary, run a known lookup and check the client it returns. Test provider compatibility and authentication in the chosen environment.

Test two sessions side by side

Link demo session A to the vault for portfolio 4821 and B to 6072. Query each session's authorized account, then cross-check with the same IDs. Each own-account read should succeed and the other should be denied. If B can read 4821, stop the pilot and identify the credential the tool actually used.

Illustrative scenario

Suppose the session starts but the assistant still can’t read the pilot account. The team checks the URL in the secrets vault, finds a different path and updates the record before rolling out the assistant.

Frequently asked questions

Who should select the session credential?

The application should use the authenticated identity and permitted portfolio to select the mapping.

Does starting a session prove it can read ad data?

Inspect connection events and require a successful lookup against the expected resource.

Sign up for NoBreakAds to select a pilot account for your identity check.

Sources and documentation

Optional measurement

Choose whether we can measure visits and ad performance. Privacy policy.