CognitionAgent integration

Connect Artifact to Windsurf

Connect Artifact to Windsurf over MCP and apply company direction through Cascade or Devin rules.

Short answer

Add Artifact to ~/.config/devin/mcp_config.json with a Bearer token, save the always-on Artifact rule in Cascade or Devin rules, and run a test task to confirm the tools are active.

For: Engineering teams using Windsurf (Devin Desktop and Cascade) across one or more repositories.

Configure Artifact for Windsurf

Built for Windsurf

HTTP MCP with a Bearer header matches other editor agents.

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 Windsurf

Windsurf 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.

  • HTTP MCP with a Bearer header matches other editor agents.
  • Cascade or Devin rules keep the steering check active on every task.
  • The same directive can govern Windsurf alongside Cursor, Claude, and Codex.

What is awesome about Windsurf + Artifact

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

  • Persistent instructions in Windsurf → Cascade rules, Devin rules, or AGENTS.md 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.
Configuration reference

MCP configuration

~/.config/devin/mcp_config.json (legacy: ~/.codeium/windsurf/mcp_config.json)

{
  "mcpServers": {
    "artifact": {
      "type": "http",
      "url": "https://app.artifactcomputing.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_ARTIFACT_TOKEN"
      }
    }
  }
}

Replace the placeholder with a private token created inside your Artifact workspace. Do not publish or share the token.

Frequently asked questions

Does Artifact store Windsurf 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 Windsurf?

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

How do I verify the Windsurf connection?

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

Get started

Configure Artifact for Windsurf

Connect Windsurf over MCP so current company direction reaches the agent before it responds. Raw prompts and replies are not stored.

Configure Artifact for Windsurf