GitHub Copilot Setup¶
Connect GitHub Copilot in VS Code to Hydrata's MCP server.
MCP Support in Copilot
GitHub Copilot's MCP support requires VS Code 1.99+ and Copilot Chat extension. Check GitHub's MCP documentation for the latest status.
Prerequisites¶
- VS Code 1.99+ with GitHub Copilot Chat extension
- A Hydrata account with API token
Configuration¶
Add to your project's .vscode/settings.json:
{
"github.copilot.chat.mcpServers": {
"hydrata": {
"url": "https://hydrata.com/mcp/",
"headers": {
"Authorization": "Bearer YOUR_TOKEN_HERE"
}
}
}
}
Or add to your user settings for global access.
Verify Connection¶
- Open the Copilot Chat panel (
Ctrl+Shift+I) - Type: "List my Hydrata projects"
- Copilot should call the
list_projectstool
Usage¶
In Copilot Chat, ask about your flood models:
Copilot will use Hydrata's MCP tools to create the project and configure the scenario.
Tips¶
- Use
@workspacemention to give Copilot access to MCP tools - Don't commit
.vscode/settings.jsonwith your API token — use environment variables or.gitignore