> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stepsai.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Model Context Protocol (MCP)

> Understanding MCPs and how AIDE leverages them for enhanced AI capabilities

## Overview

The Model Context Protocol (MCP) is an open standard that enables AI applications to connect with external data sources, tools, and services in a secure and standardized way. AIDE acts as an MCP client, allowing you to extend your AI assistant's capabilities by connecting to various MCP servers that provide access to different data sources and tools.

## What is MCP?

<CardGroup cols={2}>
  <Card title="Open Standard" icon="shield">
    MCP is an open protocol that standardizes how AI applications connect to external tools and data sources
  </Card>

  <Card title="Secure Integration" icon="lock">
    Provides secure, permission-based access to external resources without compromising data privacy
  </Card>

  <Card title="Extensible Architecture" icon="puzzle">
    Allows AI applications to dynamically connect to new tools and services as needed
  </Card>

  <Card title="Standardized Interface" icon="link">
    Common interface for connecting to databases, APIs, file systems, and other resources
  </Card>
</CardGroup>

## How AIDE Uses MCP

AIDE functions as an MCP client, which means it can:

### Connect to MCP Servers

* **Data Sources**: Connect to databases, file systems, and cloud storage
* **Tools & Services**: Access external APIs, development tools, and business applications
* **Real-time Information**: Get live data from various sources and services
* **Custom Integrations**: Connect to your own custom MCP servers

### Enhanced Capabilities

* **Contextual Responses**: Access relevant data from multiple sources
* **Tool Execution**: Use external tools and services through MCP
* **Dynamic Learning**: Adapt to new data sources and tools as they become available
* **Secure Access**: Maintain security while accessing external resources

## Popular MCP Servers You Can Connect

<CardGroup cols={2}>
  <Card title="File System MCP" icon="folder">
    Access local and remote file systems, search through documents, and read file contents
  </Card>

  <Card title="Database MCP" icon="database">
    Connect to SQL and NoSQL databases to query and analyze your data
  </Card>

  <Card title="Git MCP" icon="git-branch">
    Access Git repositories, view commit history, and manage version control
  </Card>

  <Card title="Web Search MCP" icon="globe">
    Perform web searches and access real-time information from the internet
  </Card>

  <Card title="Calendar MCP" icon="calendar">
    Access calendar systems, schedule events, and manage appointments
  </Card>

  <Card title="Email MCP" icon="mail">
    Read emails, compose messages, and manage email communications
  </Card>
</CardGroup>

## Key Benefits of MCP Integration

### Enhanced AI Capabilities

* **Real-time Data**: Access current information from various sources
* **Tool Integration**: Use external tools and services seamlessly
* **Contextual Understanding**: Better understand your environment and data
* **Automated Workflows**: Execute complex workflows across multiple systems

### Security and Privacy

* **Permission-based Access**: Only access what you explicitly allow
* **Local Processing**: Keep sensitive data local when possible
* **Audit Trails**: Track all MCP interactions for security monitoring
* **Encrypted Communication**: Secure communication between AIDE and MCP servers

### Flexibility and Extensibility

* **Custom Servers**: Create your own MCP servers for specific needs
* **Community Servers**: Use MCP servers created by the community
* **Standard Protocol**: Easy integration with any MCP-compliant service
* **Future-proof**: Add new capabilities as new MCP servers become available

## Getting Started

<Steps>
  <Step title="Understand MCPs">
    Learn about the Model Context Protocol and how it works
  </Step>

  <Step title="Choose MCP Servers">
    Select the MCP servers that provide the capabilities you need
  </Step>

  <Step title="Configure Connections">
    Set up secure connections to your chosen MCP servers
  </Step>

  <Step title="Start Using">
    Begin using enhanced AI capabilities with your connected MCP servers
  </Step>
</Steps>

<Tip>
  **Community Resources**: Explore the MCP community for additional servers and tools
</Tip>

## FAQ

<AccordionGroup>
  <Accordion title="What is the difference between MCP and regular connectors?">
    MCP is an open standard protocol that provides a standardized way to connect to external resources, while regular connectors are platform-specific integrations. MCP offers more flexibility and security.
  </Accordion>

  <Accordion title="Can I create my own MCP server?">
    Yes! You can create custom MCP servers to provide specific functionality or connect to your own data sources and tools.
  </Accordion>

  <Accordion title="How secure are MCP connections?">
    MCP connections are designed with security in mind, using permission-based access and encrypted communication. You control what data and tools each MCP server can access.
  </Accordion>

  <Accordion title="Do I need technical knowledge to use MCPs?">
    While some MCP servers may require technical setup, many are designed to be user-friendly and can be configured through simple interfaces.
  </Accordion>

  <Accordion title="Can I use MCPs with my existing data sources?">
    Yes! MCP servers exist for many common data sources, and you can create custom servers for your specific needs.
  </Accordion>

  <Accordion title="How do MCPs improve AI responses?">
    MCPs provide AI with access to real-time data, external tools, and current information, leading to more accurate, relevant, and up-to-date responses.
  </Accordion>
</AccordionGroup>

## Next Steps

<CardGroup cols={1}>
  <Card title="Adding MCPs" icon="plus-circle" href="/model-context-protocol/adding-mcps">
    Learn how to connect and configure MCP servers in AIDE
  </Card>
</CardGroup>
