Compare commits
1 commit
main
...
chore/anal
| Author | SHA1 | Date | |
|---|---|---|---|
| 2e5db73ef7 |
3 changed files with 14 additions and 0 deletions
|
|
@ -17,6 +17,12 @@
|
|||
"command": "docker",
|
||||
"args": ["run", "-i", "--rm", "-e", "DATABASE_URI", "crystaldba/postgres-mcp", "--access-mode=unrestricted"],
|
||||
"env": { "DATABASE_URI": "${GENDESIGN_DB_URI}" }
|
||||
},
|
||||
"postgres-tradein": {
|
||||
"type": "stdio",
|
||||
"command": "docker",
|
||||
"args": ["run", "-i", "--rm", "-e", "DATABASE_URI", "crystaldba/postgres-mcp", "--access-mode=unrestricted"],
|
||||
"env": { "DATABASE_URI": "${TRADEIN_DB_URI}" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -19,6 +19,13 @@
|
|||
"env": { "DATABASE_URI": "${GENDESIGN_DB_URI}" },
|
||||
"alwaysLoad": true
|
||||
},
|
||||
"postgres-tradein": {
|
||||
"type": "stdio",
|
||||
"command": "docker",
|
||||
"args": ["run", "-i", "--rm", "-e", "DATABASE_URI", "crystaldba/postgres-mcp", "--access-mode=unrestricted"],
|
||||
"env": { "DATABASE_URI": "${TRADEIN_DB_URI}" },
|
||||
"alwaysLoad": true
|
||||
},
|
||||
"fetch": { "command": "uvx", "args": ["mcp-server-fetch"] },
|
||||
"glitchtip": {
|
||||
"command": "npx",
|
||||
|
|
|
|||
|
|
@ -56,6 +56,7 @@ if (Test-Path $claudeJson) {
|
|||
$ms = (Get-Content $claudeJson -Raw | ConvertFrom-Json).mcpServers
|
||||
if ($ms.obsidian) { $env:OBSIDIAN_API_KEY = $ms.obsidian.env.OBSIDIAN_API_KEY }
|
||||
if ($ms.'postgres-gendesign') { $env:GENDESIGN_DB_URI = $ms.'postgres-gendesign'.env.DATABASE_URI }
|
||||
if ($ms.'postgres-tradein') { $env:TRADEIN_DB_URI = $ms.'postgres-tradein'.env.DATABASE_URI }
|
||||
if ($ms.glitchtip) { $env:GLITCHTIP_TOKEN = $ms.glitchtip.env.GLITCHTIP_TOKEN }
|
||||
}
|
||||
# fallback: obsidian-ключ может жить в project .mcp.json
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue