This documentation contains examples and quick tips for configuring the mcp.openapi.com server within GitHub Copilot VS Code.
With the steps described below, you will be able to:
The goal is to provide you with a simple and clear setup so you can immediately take advantage of the LLM Copilot in combination with the APIs available on Openapi.
The official and detailed documentation is available at the following addresses, which we invite you to consult:
Before starting to configure Copilot, remember to:
For a quick test, you can run vscode from this directory (copilot-vscode):
Windows:
> code .
macOS/Linux:
$ code .
1. Locate the Configuration Directory
Navigate to the Copilot Chat configuration folder:
Windows:
%USERPROFILE%\.vscode\copilot-chat
macOS/Linux:
~/.vscode/copilot-chat
WARNING If the copilot-chat folder does not exist, create it manually
2. Create the Configuration File
Create the mcp.json file in the identified folder:
{
"inputs": [{
"type": "promptString",
"id": "OpenapiToken",
"description": "Insert a valid Openapi.com Token",
"password": true
}],
"servers": {
"openapi.com": {
"type": "http",
"url": "https://mcp.openapi.com/",
"headers": {
"Authorization": "Bearer ${input:OpenapiToken}"
}
}
}
}
3. Restart VS Code
This step is essential. Completely close Visual Studio Code and reopen it. This way, the Copilot Chat extension will load your new configuration file.
Once VS Code has restarted, the configuration will be active.
Make sure you have followed these steps:
For any issues, we are here contact us for support!
And now it’s your turn!
Would you like to tell us how you used MCP? Don’t hesitate to contact us!