MCP tools for AI coding agents
Choose MCP tools for AI coding agents without giving them unnecessary access, noisy context or unsafe write capabilities.

Put it into practice
What you will produce
A tool inventory naming inputs, outputs, side effects, credentials and approval needs for each exposed capability.
- 01
Identify the workflow gap
Describe one task the agent cannot complete with repository context alone, then name the capability it lacks.
Expected result: Each proposed tool supports a real workflow step.
- 02
Map the tool boundary
For each candidate, record inputs, returned data, write effects, credential scope, and approval point.
Expected result: The inventory exposes data access and side effects before connection.
- 03
Remove redundant access
Disable tools unrelated to the chosen task and retry the workflow with the reduced set.
Expected result: The task completes with fewer exposed capabilities.
- 04
Probe writes safely
Test create, update, or delete operations only on disposable records and compare observed effects with the description.
Expected result: Observed behavior and cleanup are recorded without production data.
Acceptance checks
- Each proposed tool supports a real workflow step.
- The task completes with fewer exposed capabilities.
- Observed behavior and cleanup are recorded without production data.
Limits and trade-offs
Tool descriptions do not guarantee behavior. Inspect server implementation and treat returned content as untrusted input.
Official sources
Design an MCP toolset
Related guides
Claude Code MCP: Connect Servers & Tools
Claude Code MCP (Model Context Protocol) lets you plug external tools and data into Claude. Full guide: how to add an MCP server, list available ones, and the patterns that work.
A Claude Code conversation can only do so much with the tools shipped in the box. The moment you want Claude to touch Notion, Stripe, your AWS account, a specific database you need MCP. MCP (Model Context Protocol) is the standard that connects Claude to external tools. Here's what it is, how to add servers, and the patterns that don't waste your time. What MCP actually is MCP is an open protocol. A small server process (the "MCP server") exposes a set of tools. Claude Code (the "MCP client") talks to it over stdio or HTTP. When Claude needs to call one of those tools, it sends a JSON RPC request; the server runs the function and returns the result. Three pieces: MCP server the process that exposes tools. Usually npx installable. Examples: filesystem, GitHub, Notion, Stripe, Postgres. MCP client Claude Code itself. It manages connections, surfaces tools to the…
Read the guideConnect Claude to Notion, Gmail & Drive
Claude Code MCP servers let Claude read and write Notion, Gmail, and Google Drive. Step-by-step setup guide for the three most useful ones.
An MCP server exposes external tools to Claude Code. Depending on the server, it can run locally or remotely. Retrieved data may be sent to the model provider, the connected service and, for a hosted server, its operator. Check their policies and your authorization before connecting sensitive data. Choose a connection For Notion, Gmail and Google Drive, start with the provider's documentation and the MCP server maintainer's current instructions. Check its maintainer, available tools, authentication and requested permissions. Capabilities vary: do not assume a Gmail server is limited to drafts. Register the server with the maintainer's command and choose its scope. Shared project configuration lives in .mcp.json at the repository root; never put tokens in it. The Claude Code MCP documentation covers local and HTTP servers and their scopes. Connect Notion to Claude Code Notion documents a remote MCP server. After installing Claude Code, register it from the project where…
Read the guideBuilding AI agents that actually work
Most 'agents' are brittle pipelines dressed up with AI. Here's the anatomy of a reliable agent, three patterns that hold up in production, and when to use n8n vs code.
Everyone is building agents. Most of them break on the third run. One common failure mode is asking the model to handle too many responsibilities without clear checks. Architecture, model behavior and external dependencies can all contribute to failures. Here's what I've learned building agents that actually run week after week. The anatomy of a reliable agent Every agent that works has three parts, and only one of them should involve AI. Trigger something deterministic starts the agent. A schedule, a webhook, a file drop, a form submission. Not "whenever the AI decides it's time." Context the agent gathers what it needs before calling the AI. The document, the data, the user preferences, the constraints. The AI call happens with full context, not halfway through discovery. Action after the AI produces output, something deterministic happens with it. It gets saved, sent, logged, or published. The action step doesn't retry or…
Read the guide