# Connect Artifact to GitHub Copilot

> Add Artifact to .vscode/mcp.json or VS Code MCP settings, save the Artifact block in .github/copilot-instructions.md, and run a test task in Copilot Chat.

Connect Artifact to VS Code Copilot Chat as an HTTP MCP server with Copilot instructions.

**Audience:** Teams using GitHub Copilot Chat in VS Code for consequential work.

**Canonical HTML:** https://artifactcomputing.com/integrations/github-copilot

## Public offer

Start a free Artifact workspace at https://app.artifactcomputing.com. Every workspace includes 100K governed tokens per month, unlimited teammates, and no seat fees. A card is required only after three agent sessions.

## Highlights

### Built for GitHub Copilot

VS Code’s servers shape keeps Artifact on Streamable HTTP with a Bearer header.

### Direction before the response

Artifact supplies the matching directive version at task time so the agent can revise before it answers.

### Evidence without transcripts

Receipts record directive versions, outcomes, latency, and token counts—not raw prompts or replies.

## Why teams connect Artifact to GitHub Copilot

GitHub Copilot stays the agent your team already uses. Artifact adds the missing layer: owned, scoped, versioned company direction before the response, then metadata that shows which version applied.

- VS Code’s servers shape keeps Artifact on Streamable HTTP with a Bearer header.
- Copilot instructions make the pre-response steering check explicit.
- Artifact records directive versions without storing raw prompts or replies.

## What is awesome about GitHub Copilot + Artifact

You stop pasting the same priorities into every GitHub Copilot chat. When the decision changes, you edit the directive once. The next GitHub Copilot run—and every other connected agent—uses the new version.

- Persistent instructions in .github/copilot-instructions.md or VS Code Copilot Chat instructions keep the steering check part of each task.
- Scope a directive to the company, a team, Just me, or named agent connections.
- The same profile can govern Claude, ChatGPT, Codex, Gemini, Grok, and Cursor together.

## What Artifact records

Artifact records directive versions, outcomes, latency, and token counts. It does not store raw prompts or replies.

- The directive version available for the task.
- Whether steering changed the agent response or raised a disagreement.
- Latency and governed-token metadata for operating and billing evidence.

## Connect in three steps

1. **Create a workspace and private agent token** — Open Artifact, create or join the workspace that owns the direction, and create a token for this connection. Keep the token private.
2. **Add Artifact to GitHub Copilot** — Use the configuration reference below at .vscode/mcp.json (workspace) or VS Code user MCP settings, replacing YOUR_ARTIFACT_TOKEN with the private token.
3. **Save the persistent instructions and verify** — Add the Artifact workflow to .github/copilot-instructions.md or VS Code Copilot Chat instructions, restart the client if needed, then run one test task and confirm the interaction appears in Artifact.

## Frequently asked questions

### Does Artifact store GitHub Copilot prompts or replies?

No. Artifact records directive versions, outcomes, latency, and token counts, and does not retain raw prompt or reply content.

### Can I scope directives to only GitHub Copilot?

Yes. A directive can apply company-wide, to one team, or to a specific tool or agent connection.

### How do I verify the GitHub Copilot connection?

Run the verification task after setup, then confirm that the interaction appears in Artifact with the applied directive and outcome metadata.

## Related

- [Browse agent integrations](https://artifactcomputing.com/integrations)
- [AI agent steering for engineering teams](https://artifactcomputing.com/use-cases/engineering)
- [Apply company direction before an AI agent responds](https://artifactcomputing.com/ai-agent-governance)

Markdown mirror: https://artifactcomputing.com/integrations/github-copilot.md
