---
title: "Configuration Import"
description: "Control how Devin CLI imports settings from Cursor, Windsurf, Claude Code, OpenCode, VS Code, and Zed"
icon: "arrow-right-to-bracket"
---

Devin CLI can automatically import rules and configuration from other AI coding tools installed in your project. This happens when standard project rule files or configuration files from Cursor, Windsurf, Claude Code, OpenCode, VS Code, or Zed are detected in your workspace.

---

## How It Works

When you start a session, Devin CLI checks for standard project rule files and configuration files from supported tools, then imports what it finds.

### Standard project rules

| What's imported | Source files |
|----------------|-------------|
| Rules | `AGENTS.md`, `AGENTS.local.md`, `AGENT.md`, `.windsurfrules` |

### Cursor

| What's imported | Source files |
|----------------|-------------|
| Rules | `.cursor/rules/*.md`, `.cursor/rules/*.mdc` |
| MCP servers | `.cursor/mcp.json` |

### Windsurf

| What's imported | Source files |
|----------------|-------------|
| Rules | `.windsurf/rules/*.md`, `.windsurf/global_rules.md` (at workspace root and subdirectories) |
| Skills | `.windsurf/skills/` (project), `~/.codeium/<channel>/skills/` (global, channel-dependent) |
| Workflows | `.windsurf/workflows/*.md` |
| MCP servers | `~/.codeium/<channel>/mcp_config.json` (channel-dependent) |

<Note>
Devin CLI reads from the Windsurf config directory matching its own channel: stable reads from `~/.codeium/windsurf/`, next reads from `~/.codeium/windsurf-next/`, insiders reads from `~/.codeium/windsurf-insiders/`. `.windsurf/rules/` directories can exist at multiple levels in your project. Rules at the workspace root are loaded at session start. Rules in subdirectories are discovered lazily when the agent accesses files in that directory.
</Note>

### Claude Code

| What's imported | Source files |
|----------------|-------------|
| Rules | `CLAUDE.md`, `~/.claude/CLAUDE.md` |
| Skills | `.claude/skills/**/SKILL.md` |
| Commands (as skills) | `.claude/commands/**/*.md` |
| MCP servers | `.mcp.json`, `.claude/settings.json`, `.claude/settings.local.json`, `~/.claude.json`, `~/.claude/settings.json`, `~/.claude/settings.local.json`, `~/.claude/mcp_servers.json` |

### OpenCode

| What's imported | Source files |
|----------------|-------------|
| MCP servers | `opencode.json` (project), `~/.config/opencode/opencode.json` (global) |

<Note>
OpenCode uses a different MCP schema from the standard format. Commands can be arrays or strings, environment variables use the `"environment"` key, and servers use an `"enabled"` flag (inverted from the standard `"disabled"` flag). These are automatically converted during import.
</Note>

### VS Code

| What's imported | Source files |
|----------------|-------------|
| MCP servers | `.vscode/mcp.json` (project only) |

<Note>
VS Code uses a `"servers"` key instead of the standard `"mcpServers"` key.
</Note>

### Zed

| What's imported | Source files |
|----------------|-------------|
| MCP servers | `.zed/settings.json` (project), `~/.config/zed/settings.json` (global) |

<Note>
Zed uses a `"context_servers"` key in its settings file.
</Note>

---

## Disabling Configuration Import

To stop importing from a specific tool, set it to `false` in your config:

<Tabs>
  <Tab title="User config">
    ```json
    // ~/.config/devin/config.json
    // (on Windows: %APPDATA%\devin\config.json)
    {
      "read_config_from": {
        "agents_standard": false,
        "cursor": false,
        "windsurf": false,
        "claude": false,
        "opencode": false,
        "vscode": false,
        "zed": false
      }
    }
    ```
  </Tab>
  <Tab title="Project config">
    ```json
    // .devin/config.json
    {
      "read_config_from": {
        "windsurf": false
      }
    }
    ```
  </Tab>
</Tabs>

You can disable imports selectively — for example, import from Cursor but not Windsurf:

```json
{
  "read_config_from": {
    "cursor": true,
    "windsurf": false
  }
}
```

---

## Options

| Option | Type | Default | Description |
|--------|------|---------|-------------|
| `agents_standard` | boolean | `true` | Import standard project rules from `AGENTS.md`, `AGENTS.local.md`, `AGENT.md`, and `.windsurfrules` |
| `cursor` | boolean | `true` | Import rules and MCP servers from Cursor config files |
| `windsurf` | boolean | `true` | Import rules, skills, workflows, and MCP servers from Windsurf |
| `claude` | boolean | `true` | Import rules, skills, commands, and MCP servers from Claude Code |
| `opencode` | boolean | `true` | Import MCP servers from OpenCode config files |
| `vscode` | boolean | `true` | Import MCP servers from VS Code config files |
| `zed` | boolean | `true` | Import MCP servers from Zed settings files |

Setting a value to `true` (or leaving it unset) enables import. Setting it to `false` disables import for that tool.

---

## Default Behavior

If you don't explicitly configure `read_config_from`, all imports are enabled by default. Set any option to `false` to disable imports from that tool.
