Skip to content

MCP Performance and Reliability

Keeping MCP servers fast and dependable: timeouts, caching, progress notifications and graceful failures.

Editorial team 1 min read

Agents may call MCP tools many times per task. Slow or flaky servers make agents slow and flaky.

Latency

  • Cache results that don't change often.
  • Keep connections to back-end systems warm.
  • Return concise results; large payloads take time to transfer and process.

Long Operations

For slow tasks, send progress notifications where supported, or start the work and return a handle the model can check later.

Timeouts

Set timeouts on back-end calls and return clear errors when they're exceeded, rather than hanging.

Cancellation

The protocol supports cancelling in-progress requests. Honour cancellations to avoid wasted work.

Graceful Failure

When a back end is down, return an informative error so the model can tell the user or try another approach.

Rate Limits

Protect back ends with limits, and return messages explaining when to retry.

Monitoring

Track latency percentiles, error rates and call volumes per tool. Unusual spikes can signal an agent stuck in a loop.

Load Testing

Simulate agent traffic patterns — bursts of rapid calls — before launch.

More in MCP

All MCP guides →
MCP Guide · 1 min

MCP Architecture: Hosts, Clients and Servers

How the Model Context Protocol is structured: the host application, the clients it creates and the servers that expose capabilities.

MCP 1 min read 2 Sep 2025

MCP Guide · 2 min

MCP Tools, Resources and Prompts

The three main things an MCP server can offer, who controls each, and when to use which.

MCP 2 min read 1 Sep 2025

MCP Guide · 1 min

MCP Transports: stdio and HTTP

How MCP messages travel: standard input and output for local servers, HTTP for remote ones, and how to choose.

MCP 1 min read 31 Aug 2025

MCP Guide · 1 min

Building Your First MCP Server

A walkthrough of the steps to create a simple MCP server that exposes a tool, and how to test it.

MCP 1 min read 30 Aug 2025