confluence-cloud-mcp
confluence-cloud-mcp copied to clipboard
CONFLUENCE_DOMAIN variable error
I have this error
file:///P:/Claude/confluence-cloud-mcp/build/index.js:19
throw new Error(Missing required environment variable: ${envVar});
^
Error: Missing required environment variable: CONFLUENCE_DOMAIN at file:///P:/Claude/confluence-cloud-mcp/build/index.js:19:15 at ModuleJob.run (node:internal/modules/esm/module_job:234:25) at async ModuleLoader.import (node:internal/modules/esm/loader:473:24) at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:123:5)
Node.js v20.17.0
Hi @marte1309 , if you're using the README instructions for MCP integration there are typos for the env variables, the correct spelling should look something like this:
{
"mcpServers": {
"confluence": {
"command": "node",
"args": ["path/to/build/index.js"],
"env": {
"CONFLUENCE_DOMAIN”: "your-domain.atlassian.net",
"CONFLUENCE_EMAIL”: "[email protected]",
"CONFLUENCE_API_TOKEN": "your-api-token"
}
}
}
}