awe docs

For developers

Attach other AI apps to awe

awe can act as an MCP server for the other AI apps on your computer. Attach Claude Desktop, Claude Code, Cursor, VS Code or any other MCP client, and that app can read your awe memory, load your skills and call the tools awe has connected. This page is for people who use those apps and want them to share one memory.

This is the opposite direction from mcp-server-installation.md, which adds MCP servers for awe to use.

Attach a client

Run these from your awe folder.

./awe-core mcp install
./awe-core mcp install cursor
./awe-core mcp install claude-desktop --profile memory --vault family
./awe-core mcp list
  • mcp install with no client name shows which clients awe can see on this computer.
  • mcp install <client> writes an entry named awe into that client’s MCP config.
  • mcp list shows which clients are detected and which are attached.

Restart the client afterwards so it reads the new config.

install merges into the existing config. Other MCP servers and settings in the file are kept, and the old file is copied to .awe/backups/ first. Running it again updates the entry in place. If the config is not valid JSON, awe refuses to write and tells you to fix or move the file.

Clients awe knows

Client id Config file it writes
claude-desktop ~/Library/Application Support/Claude/claude_desktop_config.json
cursor ~/.cursor/mcp.json
claude-code .mcp.json in the current project folder
vscode .vscode/mcp.json in the current project folder
dsh $DSH_HOME/cordis.patch.yml (default ~/.dsh), for the DeepSeek harness

claude-code and vscode are per project: run the command from the project folder you want attached.

Any other client

./awe-core mcp install --print
./awe-core mcp install --print --http --client-id zed --label Zed

--print writes nothing. It prints a ready-to-paste config for both transports: copy the one your client takes. Give each pasted client its own --client-id. Without one they all register as custom, and attaching a second one replaces the first one’s key.

Remove a client

./awe-core mcp uninstall cursor

This removes the awe entry from that client’s config and leaves everything else in the file alone.

Two transports

stdio (default) Loopback HTTP
Who starts awe The client starts awe-core mcp-server itself You start one server; clients connect by URL
Address and auth None http://127.0.0.1:8787/mcp, bearer token
Processes One awe process per client One awe process for all clients
Use it when You have one or two clients Several clients are open at once

Both transports serve the same tools.

stdio

This is what mcp install writes by default. There is nothing to start.

{
  "mcpServers": {
    "awe": {
      "command": "/path/to/awe/awe-core",
      "args": ["mcp-server", "--client-id", "cursor"]
    }
  }
}

A profile other than full, or a vault other than portable, is added to args as --profile and --vault.

Loopback HTTP

Start the server yourself, then attach clients with --http:

./awe-core mcp-server --http
./awe-core mcp-server --http --port 9000 --profile dev
./awe-core mcp install cursor --http

Nothing starts this server for you: ./start-awe.sh does not. Keep it running in a terminal for as long as the clients need it.

The address is always 127.0.0.1. There is no setting that exposes it to your network. Every request to /mcp needs a bearer token. mcp install --http writes the entry for you:

{
  "url": "http://127.0.0.1:8787/mcp",
  "headers": { "Authorization": "Bearer <token>" }
}

GET /health on the same port needs no token.

One token per client, and revoking

Attaching a client over HTTP creates a token for that client alone, stored with the profile and vault it was attached under. awe keeps only a hash of the token. The token itself lives in the client’s config.

./awe-core mcp clients
./awe-core mcp revoke cursor
./awe-core mcp audit
./awe-core mcp audit --client cursor --denied
  • mcp clients lists registered HTTP clients: profile, vault, rate limit, last seen and whether each is revoked.
  • mcp revoke <client> cuts off one client. The others keep working. A revoked client stays in the list, marked revoked, and gets a 401.
  • mcp audit shows what attached clients did. It records which tool was called and whether a profile refused it. It never records the arguments. Rows are kept for 30 days. --summary prints counts per client.

Running mcp install <client> --http again gives that client a new token and clears a revocation.

In the console, Settings → Clients shows the same list with a Revoke button per client and the recent activity.

The file .awe/console.token also works as a bearer token on this port. It is the owner’s key and carries the profile and vault the server was started with.

Rate limit

Each HTTP client may make 120 tool calls per minute by default. A client that goes over gets a 429. Change it per client when you attach:

./awe-core mcp install cursor --http --rate-limit 30

0 means no limit. The limit applies to HTTP clients only.

Profiles: what a client may reach

A profile only takes tools away. No profile gives a client more than you have yourself.

Profile What the client gets Use it for
full (default) Every tool, including vc_server_tool, which can call any tool on any server awe has connected Your own editor
dev full without the tools that change things: shell, file writes, schedule changes, reminders, creating skills, registering or removing scripts, vc_remember A client you are still trying out
memory Read-only memory and skills: vc_memory_search, vc_memory_context, vc_brief, vc_entities_lookup, vc_load_skill, vc_list_skills Small models, or anything you do not fully trust
custom:a,b Exactly the tools you name Anything specific
./awe-core mcp install cursor --profile dev
./awe-core mcp-server --http --profile memory
./awe-core mcp-server --http --profile custom:vc_doc_list,vc_doc_read

A withheld tool is hidden from the client’s tool list and refused if the client calls it anyway. Under any profile except full, tool results are also trimmed to the standard MCP fields, so the extra context awe attaches to its own results (working folder, recent memory) does not reach the client.

The document tools (vc_doc_list, vc_doc_read) are not part of memory. Grant them by name with a custom: profile.

Letting a memory client save notes

vc_remember hands a note to awe’s capture step, where it is reviewed and ranked like any other captured fact. It is not a direct write into memory. The memory profile leaves it out unless you opt in:

./awe-core mcp-server --http --profile memory --allow-remember

Memory writes through the router

vc_server_tool refuses the memory server’s write tools (memory_store, memory_correct, memory_reject, memory_pin, memory_unpin), even under full. An attached client saves facts with vc_remember.

Vaults

A vault is a named slice of your memory. The memory tools show a client exactly one vault, chosen when the client is attached or when the server starts. The default is portable.

./awe-core mcp-server --http --profile memory --vault family
./awe-core mcp install claude-desktop --profile memory --vault family

The tools have no vault argument, so a client cannot ask for a different vault. Each HTTP client keeps its own vault, so one server can show Cursor portable and Claude Desktop family at the same time.

If the vault name does not exist (a typo, or a vault deleted later), the client reads nothing. mcp clients marks that row (missing!) and lists the vaults that do exist, and Settings → Clients shows it as missing. mcp install --vault <name> warns when the name does not resolve.

To see or create vaults:

./awe-core mem vault list
./awe-core mem vault create family --tags PREF,IDENTITY

Tools a client sees

All tool names start with vc_.

Tool What it does
vc_memory_search Ranked snippets from the client’s vault
vc_memory_context A ready-to-use block of memory about a topic
vc_entities_lookup What memory knows about named people, organisations or projects
vc_brief Your latest briefing: what you are working on and what needs attention
vc_remember Save a fact through the reviewed capture step
vc_doc_list, vc_doc_read List and read documents in your library (vault scoped)
vc_list_skills, vc_search_skills, vc_load_skill Find and load awe skills
vc_skills_create Create a skill with its own chat tab, see skill-console.md
vc_server_tool Call a named tool on any MCP server awe has connected
vc_server_status Status of the MCP servers awe has connected
vc_schedule_add, vc_schedule_list, vc_schedule_cancel, vc_schedule_pause, vc_schedule_resume Manage scheduled tasks
vc_remind Set a reminder that texts your phone at a time
vc_scripts_register, vc_scripts_list, vc_scripts_remove Register, list and remove scripts a skill or schedule can run, see scripts.md
vc_workspace_read_file, vc_workspace_list_dir Read files and folders in the awe folder
vc_workspace_write_file, vc_workspace_append_file, vc_workspace_run_command Write files and run shell commands in the awe folder
vc_intelligent_query, vc_system_analysis, vc_code_analysis, vc_error_debugging, vc_comprehensive_analysis Older analysis helpers that send one request to several connected servers. For a specific job, call the tool you want with vc_server_tool

To expose a single tool over stdio, add --tool to the args:

{ "command": "/path/to/awe/awe-core", "args": ["mcp-server", "--tool", "vc_memory_search"] }

Check that it works

./awe-core mcp list

Then, in the client, ask it to call vc_list_skills or vc_memory_search.

For HTTP you can check the endpoint directly:

curl -s http://127.0.0.1:8787/health
curl -s -X POST http://127.0.0.1:8787/mcp \
  -H "Authorization: Bearer $(cat .awe/console.token)" \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

A request without a token returns 401. That is the token check working.

Hosted assistants (claude.ai, ChatGPT)

Hosted assistants cannot attach this way. Their servers make the MCP call, and those servers cannot reach 127.0.0.1 on your computer. For web assistants, use the awe browser extension instead: see awe-extension.md.

Ports

Port What listens
8765 The console and the OpenAI-compatible API
8766 The core API
8787 MCP over loopback HTTP, only while mcp-server --http is running