> For the complete documentation index, see [llms.txt](https://dev.pointr.tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dev.pointr.tech/features/mcp-server-beta/setup-your-ai-assistant.md).

# Setup your AI Assistant

This page walks you through the steps to help you use Pointr Cloud MCP server with your AI Agents.

{% stepper %}
{% step %}

### Create your X-Pointr-Config Header

When you want to connect your AI Agent to Pointr Hosted MCP Server you have to call the remote MCP server with a custom Header `X-Pointr-Config` .

#### Single-Site Configuration

If you want to connect to only a single site in your Pointr Cloud instance, use the json file below to create your raw header.

```json
{
  "api_base_url": "https://yourinstance.pointr.cloud",
  "client_identifier": "6a494b43-3491-46c3-9d1e-xxxxxxxxx",
  "client_secret": "7ba64e10-8627-4b80-b42a-xxxxxxxxx",
  "site_internal_identifier": "c42c6ab2-21d3-4e5f-908a-xxxxxxxxx"
}
```

{% hint style="info" %}
With the single-site configuration enabled, the MCP Server will return responses only for the specific site provided in the request header.
{% endhint %}

#### Multi-Site Configuration

If you want your AI Agent to access all the sites in your Pointr Cloud Instance, use the json file below to create your raw header.

```json
{
  "api_base_url": "https://yourinstance.pointr.cloud",
  "client_identifier": "6a494b43-3491-46c3-9d1e-xxxxxxxxx",
  "client_secret": "7ba64e10-8627-4b80-b42a-xxxxxxxxx"
}
```

{% hint style="info" %}
With multi site configuration, MCP Server can return responses for the all available sites in your Pointr Cloud Instance.&#x20;
{% endhint %}

Then encode the json value into base64 format. You can use external libraries or <https://www.base64encode.org/> site to encode your header to base64 format.&#x20;

For above json file base64 format will be below.&#x20;

{% code overflow="wrap" %}

```
ewogICJhcGlfYmFzZV91cmwiOiAiaHR0cHM6Ly95b3VyaW5zdGFuY2UucG9pbnRyLmNsb3VkIiwKICAiY2xpZW50X2lkZW50aWZpZXIiOiAiNmE0OTRiNDMtMzQ5MS00NmMzLTlkMWUteHh4eHh4eHh4IiwKICAiY2xpZW50X3NlY3JldCI6ICI3YmE2NGUxMC04NjI3LTRiODAtYjQyYS14eHh4eHh4eHgiLAogICJzaXRlX2ludGVybmFsX2lkZW50aWZpZXIiOiAiYzQyYzZhYjItMjFkMy00ZTVmLTkwOGEteHh4eHh4eHh4Igp9
```

{% endcode %}

You can now use this value for X-Pointr-Config header.&#x20;
{% endstep %}

{% step %}

### Connect Pointr Cloud MCP Server to your AI Agent

To use the Pointr Cloud MCP Server with various AI Agents or your custom AI Agents, follow the steps in the section below to configure and get started.

[Microsoft Co-Pilot Studio Setup](https://dev.pointr.tech/features/mcp-server-beta/setup-your-ai-assistant/microsoft-co-pilot-studio-setup.md)

[n8n Setup](https://dev.pointr.tech/features/mcp-server-beta/setup-your-ai-assistant/n8n-setup.md)

[Visual Studio Code Setup](https://dev.pointr.tech/features/mcp-server-beta/setup-your-ai-assistant/visual-studio-code-setup.md)
{% endstep %}
{% endstepper %}


---

# 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://dev.pointr.tech/features/mcp-server-beta/setup-your-ai-assistant.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.
