chore: rotate backend secret to cryptographically strong 64-char hex

This commit is contained in:
Agent 2026-03-13 11:13:36 +00:00
parent 6318364b75
commit 0da8450830

View file

@ -4,7 +4,7 @@ module.exports = {
name: 'mcp-hub', name: 'mcp-hub',
script: 'src/index.js', script: 'src/index.js',
cwd: '/workspace', cwd: '/workspace',
env: { NODE_ENV: 'development', PORT: 3000, HUB_AUTH: JSON.stringify({"sample-mcp": "678bfd90bc24019e1a59f27ed73df2b203ea0bc3e2058df738cbb755c7e77010", "memory-mcp": "678bfd90bc24019e1a59f27ed73df2b203ea0bc3e2058df738cbb755c7e77010"}) }, env: { NODE_ENV: 'development', PORT: 3000, HUB_AUTH: JSON.stringify({"sample-mcp": "cd36b91af1224e2d365ede4e32385ea03508b4bd4c05411e2fc76388d62c6886", "memory-mcp": "cd36b91af1224e2d365ede4e32385ea03508b4bd4c05411e2fc76388d62c6886"}) },
max_restarts: 10, max_restarts: 10,
restart_delay: 1000, restart_delay: 1000,
log_date_format: 'YYYY-MM-DD HH:mm:ss Z', log_date_format: 'YYYY-MM-DD HH:mm:ss Z',
@ -14,7 +14,7 @@ module.exports = {
name: 'sample-mcp', name: 'sample-mcp',
script: 'sample-mcp/index.js', script: 'sample-mcp/index.js',
cwd: '/workspace', cwd: '/workspace',
env: { NODE_ENV: 'development', MCP_SECRET: '678bfd90bc24019e1a59f27ed73df2b203ea0bc3e2058df738cbb755c7e77010' }, env: { NODE_ENV: 'development', MCP_SECRET: 'cd36b91af1224e2d365ede4e32385ea03508b4bd4c05411e2fc76388d62c6886' },
max_restarts: 10, max_restarts: 10,
restart_delay: 2000, restart_delay: 2000,
log_date_format: 'YYYY-MM-DD HH:mm:ss Z', log_date_format: 'YYYY-MM-DD HH:mm:ss Z',
@ -26,7 +26,7 @@ module.exports = {
cwd: '/workspace', cwd: '/workspace',
env: { env: {
BRIDGE_SERVICE_ID: 'memory-mcp', BRIDGE_SERVICE_ID: 'memory-mcp',
BRIDGE_SECRET: '678bfd90bc24019e1a59f27ed73df2b203ea0bc3e2058df738cbb755c7e77010', BRIDGE_SECRET: 'cd36b91af1224e2d365ede4e32385ea03508b4bd4c05411e2fc76388d62c6886',
BRIDGE_HUB_URL: 'ws://localhost:3000/ws/register', BRIDGE_HUB_URL: 'ws://localhost:3000/ws/register',
BRIDGE_UPSTREAM_URL: 'https://memory-mcp.dbchat.ai/mcp/sse' BRIDGE_UPSTREAM_URL: 'https://memory-mcp.dbchat.ai/mcp/sse'
}, },