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

Devin for Terminal can automatically import rules and configuration from other AI coding tools installed in your project. This happens when configuration files from Cursor, Windsurf, or Claude Code are detected in your workspace.

---

## How It Works

When you start a session, Devin for Terminal checks for configuration files from supported tools and imports what it finds.

### Cursor

| What's imported | Source files |
|----------------|-------------|
| Rules | `.cursorrules`, `.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` |
| Skills | `.windsurf/skills/` (project), `~/.codeium/windsurf/skills/` (global) |
| Workflows | `.windsurf/workflows/*.md` |
| MCP servers | `~/.codeium/windsurf/mcp_config.json` |

### 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` |

If any are found and not explicitly disabled, a notice appears:

```
Loading configuration from Windsurf. Docs: https://cli.devin.ai/docs/... (shows 4 more times)
```

After 5 displays, the import is automatically enabled in your user config (`~/.config/cognition/config.json`) and the notice stops appearing.

---

## Disabling Configuration Import

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

<Tabs>
  <Tab title="User config">
    ```json
    // ~/.config/cognition/config.json
    {
      "read_config_from": {
        "cursor": false,
        "windsurf": false,
        "claude": false
      }
    }
    ```
  </Tab>
  <Tab title="Project config">
    ```json
    // .cognition/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 |
|--------|------|---------|-------------|
| `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 |

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

---

## Auto-Suppression

If you don't explicitly configure `read_config_from`, Devin for Terminal shows a notice each session that configuration is being imported. After 5 sessions, the import is automatically written to your user config as enabled, and the notice stops. This keeps your workflow uninterrupted while giving you a chance to opt out.
