Agents MCP Usage

•
6
•

Demonstrates the use of a Model Context Protocol (MCP) server with various agent frameworks like Google ADK, LangGraph, OpenAI Agents, and Pydantic-AI.

This repository serves as a practical demonstration of integrating a simple Model Context Protocol (MCP) server with several popular agent frameworks. It showcases how to leverage MCP for standardized interaction between agents built with Google ADK, LangGraph, OpenAI Agents, and Pydantic-AI, and various LLM providers. The included MCP server, enhanced with a datetime tool, enables seamless context sharing and tool usage across these frameworks, while Logfire integration provides comprehensive tracing and observability for LLM agent behavior.

Key Features

01Facilitates switching between different LLM providers without major code changes.
02Provides Logfire integration for tracing and monitoring LLM agent interactions.
03Offers example MCP tools like adding numbers and getting the current time.
04Demonstrates MCP integration with Google ADK, LangGraph, OpenAI Agents, and Pydantic-AI.
051 GitHub stars
06Includes a simple, locally runnable MCP server.

Use Cases

01Experimenting with different agent frameworks using a common MCP server.
02Implementing a consistent interface for tools and data in LLM applications.
03Standardizing agent interactions with LLMs across different frameworks.