# MCP

## MCP (Model Context Protocol) Integration

QuickSilver supports integration as an MCP-compatible server, allowing real-time communication with any client that implements the MCP specification.

### Configuration

Add the following configuration to your MCP client settings:

```json
{
  "mcpServers": {
    "quicksilver-server": {
      "url": "https://api-quicksilver.iotex.ai/sse?authorization=your-api-key"
    }
  }
}
```

{% hint style="info" %}
Replace `your-api-key` with your actual QuickSilver API key.
{% endhint %}

## Features

* **Real-time Communication**

  Built on Server-Sent Events (SSE) for streaming responses and persistent connections
* **Protocol Compliance**

  Fully adheres to the MCP specification *(insert link if available)*
* **Secure Authentication**

  Authenticated via API key passed securely in the URL

### Usage

Once configured, your MCP-compatible client can:

* Establish and maintain a persistent connection with QuickSilver
* Receive streaming responses in real time
* Maintain conversation context across sessions
* React to live data updates from your agent

### 💡 Tips

* Replace your-api-key with your actual QuickSilver API key
* Ensure your MCP client supports SSE connections
* Connection lifecycle is automatically handled by the client
* Do not expose your API key publicly — keep it secure at all times


---

# 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.iotex.io/quicksilver/developers/other-methods/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.
