Skip to main content

35 posts tagged with "MCP"

Model Context Protocol

View All Tags

The Six-Tool Pattern: MCP Server Design That Scales

· 16 min read
MCPBundles

Here's a problem I kept running into: when you're building an MCP server, you face this weird tension between giving AI agents enough control and not drowning them in options. Build 20 different tools and you're burning context window on redundant functionality. Build 3 tools with no parameters and the AI can't do anything useful.

After shipping dozens of MCP integrations, I found something that actually works: six core tools that balance OpenAI's single-string requirements with rich, parameter-driven operations. It's not arbitrary—there's a reason this number keeps working.

Cartoon illustration of a person designing MCP tools using the six-tool pattern that scales, happy expression
Design MCP servers with the right number of tools: OpenAI-compliant search and fetch, rich list operations, and unified write operations that scale.

OpenAI's MCP Integration Requirements: Why Search and Fetch Matter

· 18 min read
MCPBundles

When OpenAI integrated support for Anthropic's Model Context Protocol (MCP) into ChatGPT's deep research feature, they documented something elegant: a two-tool pattern that gives AI agents a consistent way to engage with any data source. If your MCP server implements search and fetch with their specific signatures, ChatGPT knows exactly how to explore your data without custom integration code.

Both tools accept only a single string parameter. That constraint isn't a limitation—it's what makes the pattern universal.

Cartoon illustration of a person using OpenAI search and fetch standard for MCP integration, happy expression
Implement search and fetch with single-string parameters to create better agent interfaces that work with ChatGPT's deep research feature.

Weaviate Vector Database: 6 Tools for AI-Native Applications

· 8 min read
MCPBundles

Weaviate is an open-source vector database that powers AI-native applications—RAG systems, semantic search, recommendation engines, and more. But how do you make a vector database accessible to AI agents? You can't just expose raw API endpoints and expect good results.

The answer: 6 focused tools organized around what developers actually do with vector databases. Not 20 tools covering every edge case. Not 3 tools that force you into awkward patterns. Just 6 tools that handle search, storage, browsing, and management—the core workflows every vector database application needs.

Cartoon illustration of a person using Weaviate vector database for AI-native applications, happy expression
Design 6 Weaviate tools for semantic search, data storage, and vector database operations perfect for AI agents building RAG applications.

What is a .mcpb File? App Bundles for AI

· 5 min read
MCPBundles

If you've ever installed an app on your computer—double-clicking a .dmg file on Mac or a .exe on Windows—you already understand .mcpb files.

Anthropic introduced the .mcpb extension (MCP Bundle) as the standard packaging format for distributing MCP servers. Think of it as the "app bundle" for AI tools: one file that contains everything needed to give your AI assistant new capabilities.

Cartoon illustration of a person explaining what an MCP bundle file is for AI applications, happy expression
Anthropic's .mcpb packaging makes MCP servers easy to install for cloud-powered AI automation.

MCP Resources: Give Your AI a File System

· 5 min read
MCPBundles

If you've used AI assistants, you've probably hit this frustration: you need to re-explain context every time you start a new conversation. That database schema you carefully described yesterday? Gone. The code snippet you asked about last week? You're pasting it in again.

MCP Resources solve this. They let you give your AI access to files and data that persist across conversations — like giving your assistant a file cabinet instead of asking them to memorize everything.

MCP Batch Get: Consolidating Tool Retrieval

· 6 min read
MCPBundles

Following our prior post on wiring up an MCP server for our Django app — see How We Integrated Model Context Protocol (MCP) into Our Django App — we went back and revisited the architecture. "Too many tools" is still a huge problem for LLM productivity, which has continued into GPT5 and the latest Claude models so probably won't be solved toon. Cursor and Claude both work better when they have fewer tools to choose from, and our original setup exposed too many single-purpose GET tools. So we consolidated everything into a single, strongly-typed batch tool.

Cartoon illustration of a person consolidating MCP tool retrieval with batch operations, happy expression
Consolidate many single GET tools into one unified batch getter for cleaner schemas, fewer tools, and better client UX.

The result: one get tool, clearer schema, faster concurrent fetches, and less model confusion.

ChatGPT Deep Research & MCP Servers

· 8 min read
MCPBundles

OpenAI just made it clear: if you want your MCP server to work with ChatGPT's deep research capabilities, it needs to implement two specific tools: search and fetch.

This isn't optional. It's the protocol standard that enables ChatGPT to discover and retrieve information from external data sources. And if you're using MCPBundles, you already have it.

Cartoon illustration of a person using ChatGPT deep research with MCP servers, happy expression
ChatGPT deep research requires MCP servers with search and fetch tools. Learn how MCPBundles implements them perfectly.

MCP Is Not Your REST API: 5 Principles

· 6 min read
MCPBundles

Most "MCP integrations" ship as thin wrappers over existing REST endpoints because it's the fastest way to get something working, but that convenience often fights how agents actually reason and act. If you want MCP that agents can use reliably, design it like an action‑oriented RPC interface rather than a collection of CRUD‑style endpoints.

Cartoon illustration of a person explaining MCP is not REST API, showing differences, happy expression
Five practical design rules that make MCP servers agent-first instead of REST wrappers. Learn action-oriented RPC patterns for reliable agent use.

Wrapping REST APIs as MCP Tools

· 8 min read
MCPBundles

Most APIs weren't built for AI agents. Stripe has 300+ endpoints. GitHub's API returns paginated results that change between requests. Slack rate-limits you after 20 calls per minute. None of them were designed for Claude to use directly.

We wrapped dozens of REST APIs into MCP tools and learned that a thin wrapper doesn't work. You need to rethink the interface completely—actions instead of CRUD, consolidated search instead of endless list endpoints, and server-side resilience for pagination and rate limits.

Here's what actually works.

Cartoon illustration of a person wrapping REST APIs as MCP tools, happy expression
We wrapped Stripe, GitHub, and Slack APIs into MCP tools. Here's what we learned about making REST APIs agent-friendly—what works and what doesn't.

Advanced MCP: Streaming and Approval Gates

· 7 min read
MCPBundles

Users would ask Claude to "set up all my integrations," and Claude would call our provisioning tool. Then nothing. Users waited 45 seconds staring at a spinner while our server created API keys, configured webhooks, and set up OAuth clients. Most users gave up after 15 seconds, thinking it failed.

Then someone asked Claude to "clean up old bundles," and Claude dutifully deleted everything from the last 6 months. Because we let it.

We needed streaming for long-running work, chunking for large operations, and approval gates for anything scary. Here's what works.

Cartoon illustration of a person using advanced MCP patterns with streaming and approval gates, happy expression
Tools that took 45 seconds and allowed data deletion. Here's how streaming, chunking, and approval gates solved it for production use.