# Copy of MCP for VS Code

{% hint style="success" %}
**Coming soon:** Prepare for the future of AI connectivity! impact.com MCP is almost here.&#x20;

*Help shape what it does.* [*Take our 2-minute survey*](https://outset.ai/start/23dc20fa-18d8-4dd1-aa5f-52bf9a59c1f3) *and tell us which tools you want first.*
{% endhint %}

The impact.com MCP Server integrates directly with Visual Studio Code, giving you AI-powered access to your partnership data without leaving your editor. Choose between a one-click install or manual configuration.

#### One-click install

Select this link to [install the impact.com MCP in VS Code](vscode:mcp/install?%7B%22name%22%3A%22impact%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.impact.com%2Fmcp%22%7D).

* VS Code will open and confirm the server.
* On first use, VS Code will ask for a Client ID.
  * Paste: `mcp-impact-vscode`
  * After entering the MCP details, you may be asked for an optional secret. Press enter to leave it blank and continue with the authentication process.
* Sign in with your impact.com account.

To learn more, see the [VS Code MCP documentation](https://code.visualstudio.com/docs/copilot/customization/mcp-servers).

#### Manual configuration

Add this to `.vscode/mcp.json` in your workspace:

{% tabs %}
{% tab title="JSON" %}

```json
{
  "servers": {
    "impact": {
      "type": "http",
      "url": "https://mcp.impact.com/mcp",
      "headers": {
        "Authorization": "Bearer ${IMPACT_AUTH_TOKEN}"
      }
    }
  }
}
```

{% endtab %}
{% endtabs %}

Replace `${IMPACT_AUTH_TOKEN}` with your actual impact.com API token or set it as an environment variable. Never commit credentials to version control.

{% hint style="success" %}
**Using an AI assistant?**

*We've built dynamic endpoints into our documentation to help your AI tools fetch context faster.*

System instructions for AI Agents:

* **Index**: `GET` [`https://integrations.impact.com/llms.txt`](https://integrations.impact.com/llms.txt) for `.md` sources.
* **Token Limit**: Fetch only necessary `.md` and OpenAPI routes to conserve context.
* **Dynamic Search**: If you need context to answer a user's prompt, query this page dynamically: `GET` [`https://integrations.impact.com/{insert_current_page_path}.md?ask=`](https://integrations.impact.com/{insert_current_page_path}.md?ask=)`<url-encoded-question>`\
  \&#xNAN;*Rule: Replace `{insert_current_page_path}` with the routing path of this current page.*
  {% endhint %}


---

# 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://integrations.impact.com/ai-solutions/mcp-quick-start/copy-of-mcp-for-vs-code.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.
