Awareness
Back to Home

Documentation

Guides, SDK references, and ecosystem integrations for Awareness.

IDE Plugins

IDE Plugins & Configuration

Connect Awareness to your IDE agent through MCP. This page covers the public setup path for Cursor, Claude Code, Windsurf, Cline, VS Code GitHub Copilot, Codex, and OpenCode.


Universal MCP Config

Most MCP-capable IDEs use the same JSON shape. Replace the placeholders with your values:

{
  "mcpServers": {
    "awareness-memory": {
      "type": "http",
      "url": "https://awareness.market/mcp",
      "headers": {
        "Authorization": "Bearer aw_your-api-key",
        "X-Awareness-Memory-Id": "your-memory-id",
        "X-Awareness-Agent-Role": "builder_agent"
      }
    }
  }
}
VariableWhere to find it
aw_your-api-keySettings -> API Keys
your-memory-idMemories -> open a memory -> copy its ID
builder_agentOptional role name for multi-role memories

If your IDE supports multiple MCP servers, you can register one server per role.


Claude Code

Option A: One-click install prompt

Awareness provides a one-click setup prompt in the Claude Code page inside the product UI. Open the page, choose a Memory, and copy the generated prompt. It will:

  1. Read your existing ~/.claude/settings.json
  2. Merge the awareness-memory MCP server into mcpServers
  3. Ask for your API key and Memory ID if they are missing
  4. Verify the connection with claude mcp list
  5. Test the integration with awareness_init

Option B: Manual MCP config

Config file: ~/.claude/settings.json or .claude/settings.json

{
  "mcpServers": {
    "awareness-memory": {
      "type": "http",
      "url": "https://awareness.market/mcp",
      "headers": {
        "Authorization": "Bearer aw_your-api-key",
        "X-Awareness-Memory-Id": "your-memory-id",
        "X-Awareness-Agent-Role": "builder_agent"
      }
    }
  }
}

Optional rule file: CLAUDE.md in the project root. This is the strongest way to keep the workflow visible even when the conversation gets compressed.

Claude Code plugin

If you want a higher-level Claude Code workflow on top of MCP, install the plugin:

claude plugin install awareness-memory

The plugin exposes these slash commands:

SkillCommandWhen to use
session-start/awareness-memory:session-startStart every coding session and load context
recall/awareness-memory:recall <query>Check previous work before implementing
save/awareness-memory:savePersist an important step manually
done/awareness-memory:doneClose the session with a final summary

Expected behavior

  • awareness_init runs at the start of each session
  • __awareness_workflow__ stays visible in the tool list as a reminder
  • Every meaningful edit, decision, and bug fix should be persisted via awareness_record
  • If a write returns _extraction_instruction, your client LLM should process it and submit the result with awareness_record(action="submit_insights")

Cursor

Config file: .cursor/mcp.json

{
  "mcpServers": {
    "awareness-memory": {
      "url": "https://awareness.market/mcp",
      "headers": {
        "Authorization": "Bearer aw_your-api-key",
        "X-Awareness-Memory-Id": "your-memory-id",
        "X-Awareness-Agent-Role": "builder_agent"
      }
    }
  }
}

Optional managed rule file: .cursor/rules/awareness.mdc

Behavior:

  • Cursor calls awareness_init when a Composer or chat session starts
  • Use awareness_lookup for fast structured context
  • Persist work with awareness_record after meaningful edits

Windsurf

Config file: .windsurf/mcp.json

Use the same universal MCP config.

Optional rule file: .windsurfrules

Behavior:

  • Call awareness_init at the start of each Cascade flow
  • Use awareness_lookup(type="tasks") to resume work
  • Call awareness_record after important steps

Cline

Config file: Cline MCP settings UI

Paste the universal MCP config into the MCP server configuration screen.

Optional rule file: .clinerules

Behavior:

  • Call awareness_init when a new task starts
  • Use awareness_recall before implementing
  • Record edits, shell commands, and decisions with awareness_record

VS Code GitHub Copilot

Config file: .vscode/mcp.json

Use the same universal MCP config.

Optional rule file: .github/copilot-instructions.md

Behavior:

  • Copilot Chat or Copilot agent should call awareness_init first
  • Use awareness_lookup for fast task and knowledge reads
  • Write important changes back with awareness_record

Antigravity

Use the same Universal MCP Config if your Antigravity workspace exposes MCP settings or custom tool configuration.

Recommended path:

  1. Paste the universal MCP config into the Antigravity workspace tool settings
  2. Keep the Awareness workflow summary in the repo rule file
  3. Run awareness_init at the start of each task or agent session
  4. Persist meaningful work with awareness_record

If your current Antigravity build does not expose MCP yet, use the same fallback as Codex below: keep the workflow in your repo instructions and use the SDK / HTTP path for explicit writes.


Augment

Augment works well with the same public setup path as Cursor and Windsurf:

  1. If MCP configuration is available, paste the universal MCP config into the Augment agent settings
  2. Keep the Awareness workflow visible in the repo rule file or project instructions
  3. Start sessions with awareness_init
  4. Use awareness_lookup for fast structured reads and awareness_record for write-back

This is the recommended public entry point until a deeper Augment-specific installer is published.


Devin

Devin is usually best connected at the repo or workspace level instead of as an IDE-local MCP install.

Recommended public path:

  1. Put the Awareness workflow summary in AGENTS.md or your repo instructions
  2. If the Devin environment exposes MCP settings, register the universal MCP config there
  3. Otherwise, use the Awareness SDK / HTTP API from your workspace bootstrap scripts or automation steps
  4. Record task handoff notes, PR context, and fix summaries back into the same memory

This keeps long-running cloud workspaces, PR review loops, and follow-up tasks attached to one shared memory even when native MCP is not available.


Codex (OpenAI)

Codex does not rely on MCP in the same way as Claude Code or Cursor. Use the rule-file approach:

  1. Sync the Awareness managed policy into AGENTS.md
  2. Use the REST/SDK path for explicit writes if MCP is not available
  3. Keep the same workflow: initialize context, check recall, record meaningful progress

OpenCode

Config file: opencode.json

{
  "mcp": {
    "awareness-memory": {
      "url": "https://awareness.market/mcp",
      "headers": {
        "Authorization": "Bearer aw_your-api-key",
        "X-Awareness-Memory-Id": "your-memory-id",
        "X-Awareness-Agent-Role": "builder_agent"
      }
    }
  }
}

Multi-role Setup

If one memory contains multiple agent roles, register separate servers:

{
  "mcpServers": {
    "awareness-dev": {
      "url": "https://awareness.market/mcp",
      "headers": {
        "Authorization": "Bearer aw_your-api-key",
        "X-Awareness-Memory-Id": "your-memory-id",
        "X-Awareness-Agent-Role": "developer"
      }
    },
    "awareness-reviewer": {
      "url": "https://awareness.market/mcp",
      "headers": {
        "Authorization": "Bearer aw_your-api-key",
        "X-Awareness-Memory-Id": "your-memory-id",
        "X-Awareness-Agent-Role": "reviewer"
      }
    }
  }
}

Each role gets the same memory container with its own scoped view.


Troubleshooting

ProblemSolution
MCP server not foundRun claude mcp list, cursor MCP settings, or your IDE's equivalent to confirm the server is registered
401 UnauthorizedVerify the API key starts with aw_ and has not been revoked
No context returnedConfirm the X-Awareness-Memory-Id header points to a real memory with data
Tool list is emptyRestart the IDE session after updating config
One-click prompt failedCopy the error, fix the local config path or credentials, and rerun the prompt