Orchestrates an end-to-end Model Context Protocol tooling system, featuring a FastMCP server and STDIO-based client with JSON-RPC, enabling multi-step tool chaining powered by Vertex AI Gemini.
Sponsored
This repository provides a comprehensive implementation of the Model Context Protocol (MCP), showcasing how to construct a production-aligned MCP server and client. The system facilitates machine-to-machine communication via JSON-RPC 2.0 over STDIO and leverages Vertex AI Gemini for intelligent tool discovery, execution, and multi-step tool chaining. It integrates securely with Google Cloud using IAM-based authentication, emphasizing protocol correctness, async-safe system design, and real-world LLM tool orchestration patterns to serve as a robust foundation for MCP-based agent systems.
Key Features
01MCP server built using FastMCP
02STDIO-based JSON-RPC communication
03Multi-round tool chaining using a proper loop
04Vertex AI Gemini integration (IAM-based auth)
05Async-safe lifecycle management with AsyncExitStack
060 GitHub stars
Use Cases
01Developing LLM-orchestrated applications with multi-step tool chaining
02Integrating Vertex AI Gemini securely for intelligent tool management
03Building production-quality MCP-based agent systems