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",
|
"command": "docker",
|
||||||
"args": ["run", "-i", "--rm", "-e", "DATABASE_URI", "crystaldba/postgres-mcp", "--access-mode=unrestricted"],
|
"args": ["run", "-i", "--rm", "-e", "DATABASE_URI", "crystaldba/postgres-mcp", "--access-mode=unrestricted"],
|
||||||
"env": { "DATABASE_URI": "${GENDESIGN_DB_URI}" }
|
"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}" },
|
"env": { "DATABASE_URI": "${GENDESIGN_DB_URI}" },
|
||||||
"alwaysLoad": true
|
"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"] },
|
"fetch": { "command": "uvx", "args": ["mcp-server-fetch"] },
|
||||||
"glitchtip": {
|
"glitchtip": {
|
||||||
"command": "npx",
|
"command": "npx",
|
||||||
|
|
|
||||||
|
|
@ -56,6 +56,7 @@ if (Test-Path $claudeJson) {
|
||||||
$ms = (Get-Content $claudeJson -Raw | ConvertFrom-Json).mcpServers
|
$ms = (Get-Content $claudeJson -Raw | ConvertFrom-Json).mcpServers
|
||||||
if ($ms.obsidian) { $env:OBSIDIAN_API_KEY = $ms.obsidian.env.OBSIDIAN_API_KEY }
|
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-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 }
|
if ($ms.glitchtip) { $env:GLITCHTIP_TOKEN = $ms.glitchtip.env.GLITCHTIP_TOKEN }
|
||||||
}
|
}
|
||||||
# fallback: obsidian-ключ может жить в project .mcp.json
|
# fallback: obsidian-ключ может жить в project .mcp.json
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue