> For the complete documentation index, see [llms.txt](https://docs.darcyiq.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.darcyiq.com/build/mcp-studio/mcp.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.darcyiq.com/build/mcp-studio/mcp.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
