MCP Best Practices

MCP Best Practices are a set of guidelines for developers to create high-quality servers and clients. Following these ensures a better user experience and robust agentic workflows.

Design Guidelines

Security Practices

Questions & Answers

Why should developers prefer "Atomic Tools" over monolithic ones?

Atomic, focused tools are easier for AI models to understand and select correctly. Small tools reduce ambiguity and allow the model to compose complex workflows more reliably.

What is the "UI" of an MCP server for an AI model?

The "UI" consists of the descriptive names and detailed documentation provided for tools and their arguments. Clear descriptions are the primary way the AI learns how and when to use a tool.

How does pagination prevent transport crashes in MCP?

By breaking large results into manageable chunks (pages), pagination prevents the underlying communication channel (like stdio or SSE) from being overwhelmed by a single massive message, which could lead to timing out or crashing.

Back to Glossary