# MCP Framework

Model Context Protocol (MCP) enables you to bring your own integrations to DarcyIQ, offering flexibility at both organizational and user levels.

## Integration Levels

| Level                  | Features                                                                                            | Benefits                                                                                                    |
| ---------------------- | --------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
| **Organizational MCP** | <p>- Standardized integration deployment<br>- Centralized management<br>- Company-wide policies</p> | <p>- Consistent AI experience<br>- Simplified compliance<br>- Shared resources<br>- Central control</p>     |
| **User MCP**           | <p>- Personal integration selection<br>- Custom integrations</p>                                    | <p>- Workflow flexibility<br>- Task optimization<br>- Experimentation freedom<br>- Personal preferences</p> |

## Setup Process

| Step                      | Actions                                                                                | Requirements                                                    |
| ------------------------- | -------------------------------------------------------------------------------------- | --------------------------------------------------------------- |
| **1. Server Setup**       | <p>- Configure MCP server<br>- Set up authentication<br>- Deploy models</p>            | <p>- MCP-compliant server<br>- Authentication system</p>        |
| **2. DarcyIQ Connection** | <p>- Access integration settings<br>- Configure MCP details<br>- Test connectivity</p> | <p>- Admin access<br>- Server details<br>- Test credentials</p> |
| **3. Configuration**      | <p>- Set default models<br>- Configure routing<br>- Define fallbacks</p>               | <p>- Model preferences<br>- Routing rules<br>- Backup plans</p> |

## MCP Authentication

DarcyIQ accepts the following requirements for an MCP server:

* A remote SSE endpoint
* One of Four Authentication requirements
  * No Auth (not recommended)
  * Basic User Auth (username/password)
  * Bearer Token Auth (provide a single token for DarcyIQ to use)
  * API Key (Access key / Secret key configuration)
  * OAuth (coming soon)

{% hint style="info" %}
The Authentication you select much match the requirements of the MCP server you are connecting to.
{% endhint %}

## Learn More

For detailed technical specifications and implementation guides, visit:

* [MCP Protocol Specification](https://modelcontextprotocol.io)
* [Implementation Examples](https://modelcontextprotocol.io/examples)
* [Best Practices Guide](https://modelcontextprotocol.io/best-practices)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.darcyiq.com/integrations-and-configuration/mcp-studio/mcp.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
