Direct answer

Build an integration security layer when your team can own credential custody, per-call authorization, audit records, revocation and patching as a production service. Buy a managed layer when its demonstrated controls fit your requirements and maintaining those controls would displace higher-priority engineering work. Either choice still leaves you responsible for deciding what agents may access and for testing that the boundary holds.

Compare the same operating boundary

Consider a team connecting Claude Code on laptops, review agents in CI and disposable development VMs to an issue tracker and a production reporting database. The decision is whether your platform team or a provider will operate the service that holds upstream credentials and enforces access. Comparing a managed service with a few connector scripts leaves most of the internal option unpriced.

An internal central service can reduce credential distribution just as a purchased one can. Centralization and outsourcing are separate choices. Draw the proposed boundary for each: where tokens are decrypted, where authorization runs, where calls are recorded and who replaces a vulnerable runtime. Then mark every remaining direct connection from an agent to a company system.

Use the MCP server build-versus-buy framework for connector functionality. Here, require evidence about continuing operation: a named maintainer, a recovery procedure and a way to demonstrate that yesterday's access grant no longer works today.

Budget credential custody beyond encrypted storage

OWASP's Secrets Management guidance treats provisioning, access control, rotation, revocation and recovery as parts of the secret lifecycle. For an internal integration service, using an existing secrets manager is a useful starting point. You still need to decide which workload can decrypt each upstream token, how refresh failures surface and how a restored backup avoids resurrecting retired access.

Separate the agent's credential for your service from the service's credentials for the issue tracker and database. Under the MCP authorization specification, OAuth access tokens must be validated for the receiving MCP server's audience. The MCP security guidance explicitly forbids token passthrough: accepting a token intended for another resource and forwarding it downstream.

For a provider review, trace one sign-in through that same boundary. Ask where the upstream refresh token lives, which operators or workloads can access it, what reaches diagnostic logs and how replacement credentials are installed. Encryption at rest answers only part of this review. Compare the provider's documented process with the process your team could actually operate, including recovery when the person who originally connected the source leaves.

Price authorization as a policy you maintain

Define the reporting agent's entitlement precisely: read selected reporting data, inspect issues and never modify either system. Enforce that entitlement at invocation, including a direct call to a known tool name. Removing a write tool from discovery alone does not demonstrate that the server rejects its invocation.

The MCP tools specification requires access controls and input validation; it also says tool annotations must be treated as untrusted unless they come from trusted servers. A description that says a tool reads data is therefore insufficient evidence for granting access. Review the connector's behavior and constrain the upstream account as well.

Your internal service needs maintained mappings between agent identity, workspace, source and permitted operations. A managed service needs to demonstrate equivalent boundaries for your use case. Test a source added after a key was issued, a renamed tool and a tool whose permissions change. Use separate scoped keys for fleet agents so the CI reviewer can lose access without interrupting a developer's unrelated work.

Make revocation and audit answer the same incident

Suppose the CI agent's credential appears in a build artifact. The operator must identify what it accessed, disable its authority and establish whether upstream credentials also need replacement. Define separate actions for revoking one agent, disconnecting a source and revoking the source's grant at its issuer. Record what each action stops.

RFC 7009 defines OAuth token revocation and acknowledges possible propagation delays. It also allows different policies for related tokens. Ask both your proposed implementation and a provider to demonstrate when a revoked credential first fails across serving replicas. Do not infer upstream revocation from deleting a client configuration entry. The central revocation guide covers that boundary in more detail.

OWASP's Logging guidance calls for event identity, timing, action and outcome while excluding access tokens and passwords. For this incident, require records linking the agent credential identifier to the source, tool, authorization result and upstream outcome. Test whether responders can retrieve those records under their actual permissions. Decide retention and redaction before collecting full arguments: an issue search or database query can itself contain confidential information.

Compare patching, outages and the cost of change

Count independently maintained connector deployments and credential locations. If your internal design installs connectors on every VM, its patch procedure must also update templates that recreate those VMs. If connectors execute centrally, verify every serving replica and deployment image. Buying a layer only transfers patch work for components that the provider actually operates; agent applications and remaining local tools still need owners.

For either design, rehearse an upstream outage and a failed connector update. Require visible failures, a tested recovery path and a rollback decision that accounts for vulnerable versions. A shared integration service also concentrates availability dependence: determine which development and CI workflows stop when it is unavailable.

Compare a year of operation using explicit estimates. For the internal option, include implementation, security review, connector maintenance, secret storage, logging, incident coverage and protocol changes. For the purchased option, include subscription and usage charges, integration review, migration and controls you must add yourself. Use your own workload and staffing assumptions. A low hosting bill says little about the time spent repairing authorization behavior after an upstream API changes.

Run the same acceptance exercise on both options

Connect a pilot client to each candidate service using Anthropic's documented Claude Code HTTP registration syntax. This example assumes you operate an OAuth-enabled test endpoint; replace the example address with the candidate endpoint:

claude mcp add --transport http integration-review https://mcp.example.com/mcp
claude mcp get integration-review

Open /mcp inside Claude Code and complete the browser sign-in. Registration writes configuration; it does not establish that permissions are correct. Use a test source with a harmless readable record and a write operation whose effects you can inspect.

  1. Read the permitted record, then attempt a write with the read-only identity.
  2. Attempt access to another source and another workspace's test record.
  3. Revoke the agent's credential, retry from an existing client and measure rejection.
  4. Rotate the upstream credential and confirm the agent keeps working without receiving it.
  5. Interrupt the upstream and reconstruct the failed call from audit records.
  6. Replace the connector deployment and identify every running version.

Keep the results with the decision. For your internal service, failures become funded engineering work. For a provider, unresolved failures become explicit reasons to reject it or narrow the rollout.

Where SPYN3 fits

SPYN3 provides one MCP endpoint per workspace. Upstream credentials stay envelope-encrypted in the workspace and never reach the agent, browser or logs; agents hold a SPYN3 key or OAuth token. Keys can be limited to chosen sources. Tools count as writes unless marked read-only upstream, and writes require call:write_tools. Every proxied tool call is audit-logged with source, tool, outcome and duration. Key revocation or source disconnection takes effect on the next call. These are concrete controls to compare against your internal implementation.

Choose the owner who can sustain the controls

Building is defensible when requirements demand custom identity propagation, network placement or policy logic, and an existing platform team can maintain the resulting service. Name the people responsible for connector releases, credential incidents and authorization changes. Give them time beyond the initial implementation.

Buying is defensible when a provider passes the acceptance exercise, supports the systems you need and removes recurring maintenance your team would otherwise own. Check required deployment, identity and assurance capabilities individually; an MCP endpoint does not establish them. Keep upstream authorization choices, client configuration and acceptable agent behavior assigned internally.

Before signing or scheduling the build, describe how to leave either design: recover connection definitions, issue replacement credentials and remove old access. Choose the option whose operating responsibilities and demonstrated controls match your requirements, with maintenance work accounted for after the pilot ends.

Built for the next step

Put the boundary in one place

One endpoint holds the credentials, scopes and audit log, so agents only ever hold a revocable key.

Read the developer guide
About SPYN3

SPYN3 is a consolidated MCP layer: one hosted endpoint in front of every system you connect — MCP servers, Postgres, REST APIs, Google Drive — with tools foldered by source and read/write permissions per key. Switching agents means moving one URL. Free plan available; current capabilities are documented on the product facts page.

Sources

  1. MCP specification: authorization — OAuth-based authorization for HTTP MCP servers. Verified 27 Oct 2026
  2. MCP specification: tools — tool discovery, invocation and security considerations. Verified 27 Oct 2026
  3. Anthropic docs: Claude Code MCP setup — Claude Code MCP commands, scopes, transports and JSON configuration. Verified 27 Oct 2026
  4. OWASP: Secrets Management Cheat Sheet — Secret lifecycle management, least privilege, automated rotation, availability and recovery responsibilities. Verified 27 Oct 2026
  5. MCP project: Security Best Practices — Token passthrough prohibition and separation of MCP authorization from downstream credentials. Verified 27 Oct 2026
  6. IETF: RFC 7009, OAuth 2.0 Token Revocation — OAuth token revocation, possible propagation delays and policies for invalidating related tokens. Verified 27 Oct 2026
  7. OWASP: Logging Cheat Sheet — Event identity, timestamps, actions and outcomes; exclusion of access tokens, passwords and other secrets from logs. Verified 27 Oct 2026