# AG2 + MCP

AG2 integrates with the Model Context Protocol (MCP), an open standard for connecting AI assistants to data sources, tools, and context.

[AG2 MCP Documentation](https://docs.ag2.ai/latest/docs/user-guide/advanced-concepts/tools/mcp/client/?h=mcp) [MCP Documentation](https://modelcontextprotocol.io/docs/getting-started/intro)

## What is MCP?

The Model Context Protocol (MCP) is an open standard that enables AI applications to connect with external data sources and tools in a standardized way. It provides a universal protocol for AI assistants to access databases, APIs, file systems, and other resources.

MCP solves the integration challenge by providing a single, well-defined interface that works across different AI frameworks and tools. Instead of building custom integrations for each data source, you can use MCP-compatible servers that work with any MCP client.

AG2 includes built-in MCP client support, allowing your agents to leverage the growing ecosystem of MCP servers and tools without additional configuration.

## Why MCP Matters for AG2 Users

### Universal Tool Access

Connect your AG2 agents to any MCP-compatible tool server for databases, APIs, file systems, and more.

### Standardized Integration

Use a single protocol to access diverse data sources without building custom integrations for each one.

### Rich Context Sharing

Provide agents with the context they need from your existing systems and data sources.

### Growing Ecosystem

Tap into an expanding library of pre-built MCP servers and tools from the community.

## Get Started

Start using MCP with AG2 today. Our documentation covers everything from basic setup to advanced use cases.

[Read AG2 MCP Guide](https://docs.ag2.ai/latest/docs/user-guide/advanced-concepts/tools/mcp/client/?h=mcp) [Back to Ecosystem](/content/ecosystem/index.html)
