MCPcat Guides

Try out MCPcat

MCP Dev Quickstart

Quickly get started building your own MCP server with popular frameworks and tools

Error handling in custom MCP servers

Implement robust error handling in MCP servers with proper error codes, logging, and recovery strategies.

Building a serverless MCP server

Deploy MCP servers on serverless platforms like AWS Lambda, Vercel, and Cloudflare Workers with StreamableHTTP.

Adding custom tools to an MCP server in TypeScript

Step-by-step guide to adding custom tools to your TypeScript MCP server with proper typing and error handling.

Adding custom tools to an MCP server in Python

Learn how to extend your Python MCP server with custom tools using FastMCP and the standard MCP SDK.

Installing MCP servers globally vs locally: which approach to choose

Choose between global and local MCP server installations based on your project needs and workflow.

How to fork and customize an open-source MCP server

Fork and customize existing MCP servers to add new tools, resources, and functionality for your needs.

Configuring MCP installations for production deployments

Configure MCP servers for production with security, monitoring, and deployment best practices.

Building a StreamableHTTP MCP server

Deploy scalable MCP servers using StreamableHTTP for cloud environments and remote access.

Building a stdio MCP server

Build MCP servers with stdio transport for local CLI tools and subprocess communication.

Building an MCP server in TypeScript

Build type-safe MCP servers using TypeScript with full SDK support and production best practices.

Building an MCP server in Rust

Create memory-safe MCP servers in Rust with exceptional performance and type safety guarantees.

Building an MCP server in Go

Learn how to build high-performance MCP servers using Go with concurrency and production-ready patterns.

Building an MCP server in Python using FastMCP

Build production-ready MCP servers in Python using the FastMCP framework with automatic tool handling.

MCP Connection Management

Understand transport protocols, manage connections, and debug common connection errors

Configuring MCP transport protocols for Docker containers

Configure stdio, SSE, and StreamableHTTP transport protocols for MCP servers running in Docker containers with practical examples and troubleshooting.

Configuring MCP servers for multiple simultaneous connections

Set up MCP servers to handle multiple client connections concurrently with proper session management and resource allocation.

Understanding the JSON-RPC protocol and how it's used in MCP

Understand how JSON-RPC 2.0 protocol powers MCP client-server communication and message structure.

Setting up StreamableHTTP for scalable deployments

Deploy scalable MCP servers with StreamableHTTP for high performance and horizontal scaling.

Implementing connection health checks and monitoring

Implement health checks and monitoring for MCP servers to ensure reliable production deployments.

Fixing "Method not found (-32601)" JSON-RPC errors

Troubleshoot JSON-RPC method not found errors in MCP servers with detailed debugging strategies.

Fixing "MCP error -32001: Request timed out" errors

Fix MCP error 32001 request timeouts with timeout configuration and performance optimization strategies.

Fixing "MCP error -32000: Connection closed" errors

Resolve MCP error 32000 connection closed issues with platform-specific solutions and debugging steps.

Debugging message serialization errors in MCP protocol

Debug and fix MCP message serialization errors with proven troubleshooting techniques.

Configuring MCP transport protocols for Docker containers

Configure MCP servers in Docker containers with proper transport protocols and networking.

Comparing stdio vs. SSE vs. StreamableHTTP

Compare MCP transport protocols to choose between stdio, SSE, and StreamableHTTP for your use case.