GitHub Copilot
Connect GitHub Copilot’s VS Code agent mode to Trurlic so code generation follows your architectural decisions.
Prerequisites
Section titled “Prerequisites”- Trurlic installed and
.trurlic/initialized in your project - GitHub Copilot with agent mode enabled in VS Code
The fastest way:
trurlic install --ide copilotThis writes to your VS Code mcp.json (platform-specific path under Code/User/).
Manual setup
Section titled “Manual setup”Add to your VS Code MCP configuration (Code/User/mcp.json):
{ "servers": { "trurlic": { "command": "trurlic", "args": ["serve"] } }}Note: Copilot uses a "servers" key rather than "mcpServers".
Restart VS Code to pick up the configuration.
Agent instructions
Section titled “Agent instructions”Add Trurlic instructions to your project’s agent rules so Copilot queries the decision graph before generating code. See MCP Server for the recommended instruction block.
Verification
Section titled “Verification”- Open the project in VS Code with Copilot agent mode and Trurlic configured.
- Ask Copilot to implement a feature — it should query
get_contextand follow your recorded decisions. - Check
trurlic statusfor consistency.