Skip to content

Commit 04a48dd

Browse files
committed
chore(plugin): declare CORTEX_RUNTIME in mcp env schema
Glama's inspector reads plugin.json's env block to know what variables the server accepts. Declaring CORTEX_RUNTIME (empty default) surfaces it in Glama's Try-in-Browser UI so a user can select cowork mode and boot Cortex without a Postgres instance. No runtime behaviour change on its own — the var is already honoured by memory_config._detect_runtime(). This only makes it discoverable to Glama's sandbox UI. Paired with the memory_store auto-fallback (commit B following) for the case where the sandbox sets no env at all.
1 parent e358ec5 commit 04a48dd

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.claude-plugin/plugin.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
"command": "uvx",
1616
"args": ["--python", "3.13", "--from", "neuro-cortex-memory[postgresql]", "neuro-cortex-memory"],
1717
"env": {
18-
"DATABASE_URL": "postgresql://localhost:5432/cortex"
18+
"DATABASE_URL": "postgresql://localhost:5432/cortex",
19+
"CORTEX_RUNTIME": ""
1920
}
2021
}
2122
},

0 commit comments

Comments
 (0)