EchoNet.ing
PHASE B / CAPABILITY ATLAS

MCP Contracts

MCP exposes tools and resources through discoverable schemas, explicit transports, and lifecycle checks.

Clientrequests capabilities
Transportstdio or HTTP
Serverowns integration
Schemavalidates input
Resultstructured output
Healthlifecycle signal
OPERATING MODEL

MCP Contracts

Model Context Protocol separates an agent client from specialist servers. Local stdio servers are process-bound and inherit a controlled environment. HTTP servers are network services and need authentication, reachability, and timeout policy. Discovery provides tool schemas; invocation still requires authorization and result verification.

Choose transport

Use stdio for tightly local process coupling; HTTP for managed network services.

Register without secrets

Store command or URL references in configuration and secret values separately.

Test health and discovery

Confirm the server starts, responds, and advertises expected tools.

Validate schemas

Use explicit required fields, limits, and safe defaults.

Verify lifecycle

Test reload, timeout, failure, and shutdown behavior—not only the happy path.

PRACTICAL REFERENCE

Transport decision

ConcernstdioHTTP
LifecycleClient launches processService managed separately
BoundaryLocal process environmentNetwork and authentication boundary
Best fitLocal single-user adaptersShared or independently scaled services
Failure proofExit code and stderrHealth/status plus response
SecretsControlled process environmentSecret store or authenticated proxy
FAILURE MODES

What breaks—and how to recover.

Server listed but dead

Run health and discovery tests before exposing tools.

Schema drift

Re-discover after upgrades and validate required fields.

Network trust assumed

Require authentication, allowlists, timeouts, and TLS where appropriate.

Copyable implementation prompt

Design an MCP integration for [CAPABILITY]. Choose stdio or HTTP, define lifecycle, authentication, discovery, schemas, timeouts, retries, data limits, health checks, and read-back verification.
Public boundary

Use placeholders for paths, accounts, endpoints, identities, and credentials. Never publish secret values, private records, or a live control surface.

Verification gate

  • Transport choice is justified
  • Health and discovery both pass
  • Schemas reject malformed inputs
  • Secrets stay outside public configuration
  • Failure and restart paths are tested