# Installation & setup (Patchworks MCP - hosted)

## Introduction

To get the hosted MCP server up and running, the following steps are required:

1. [Generate an MCP key](/product-documentation/developer-hub/patchworks-mcp/patchworks-mcp-hosted/installation-and-setup-patchworks-mcp-hosted/generating-a-patchworks-mcp-key.md)
2. [Deploy the default MCP server](/product-documentation/developer-hub/patchworks-mcp/patchworks-mcp-hosted/installation-and-setup-patchworks-mcp-hosted/deploying-a-hosted-patchworks-mcp-server-for-the-first-time.md)
3. [Connect to an AI assistant](/product-documentation/developer-hub/patchworks-mcp/patchworks-mcp-hosted/installation-and-setup-patchworks-mcp-hosted/connecting-to-an-ai-assistant.md)

Follow the guides in this section to step through the process.


---

# 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://doc.wearepatchworks.com/product-documentation/developer-hub/patchworks-mcp/patchworks-mcp-hosted/installation-and-setup-patchworks-mcp-hosted.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.
