loading…
Search for a command to run...
loading…
An MCP server implementation for interacting with self-hosted Confluence Data Center or Server instances via search, content retrieval, and optional write opera
An MCP server implementation for interacting with self-hosted Confluence Data Center or Server instances via search, content retrieval, and optional write operations. It features space auto-discovery, audit logging, and granular access control for secure enterprise collaboration.
In-house Confluence (Data Center/Server) MCP server implementation. Default mode is read-only, and write tools are controlled by policy.
confluence_list_spacesconfluence_search_cqlconfluence_get_contentconfluence_get_labelsconfluence_get_childrenconfluence_get_attachmentsconfluence_get_commentsconfluence_scan_contentconfluence_get_likes (experimental, off by default)confluence_create_page (write, off by default)confluence_update_page (write, off by default)confluence_add_label (write, off by default)confluence_add_comment (write, off by default).env.example to .envCONFLUENCE_BASE_URLCONFLUENCE_AUTH_MODE (pat or basic)CONFLUENCE_PAT or CONFLUENCE_USERNAME/CONFLUENCE_PASSWORDpython -m pip install -e .
confluence-mcp
Or:
python -m confluence_mcp.main
Use OpenCode local MCP config with a command array and environment object.
{
"mcp": {
"inhouse-confluence": {
"type": "local",
"command": [
"C:\\Users\\jae_chul.lee\\inhouse_confluence_mcp\\.venv\\Scripts\\python.exe",
"-m",
"confluence_mcp.main",
"--env-file",
"C:\\Users\\jae_chul.lee\\inhouse_confluence_mcp\\.env"
],
"environment": {
"PYTHONIOENCODING": "utf-8"
}
}
}
}
Notes:
Activate.ps1 in MCP commands.--env-file makes startup independent from cwd.CONFLUENCE_MCP_ENV_FILE in environment.On startup, the server looks for .env in this order:
--env-file pathCONFLUENCE_MCP_ENV_FILE.env, .env.local).venv layout)If no file is found, startup logs searched paths.
ALLOWED_SPACES is empty and AUTO_DISCOVER_SPACES=true, the server auto-loads available space keys on startup.DENIED_SPACES is optional. Use it only when you need an explicit sensitive-space blocklist.confluence-mcp-sync-spaces
logs/spaces_discovered.jsonWRITE_ENABLED=false initiallyALLOWED_SPACES firstDENIED_SPACES only for sensitive spacesEXPERIMENTAL_LIKES=false unless neededAUDIT_LOG_PATH (default: logs/audit.jsonl)python -m unittest discover -s tests -v
TOOL_PROBE_ON_STARTUP=true|false.SPACE_PROBE_ON_STARTUP=false.SPACE_PROBE_ON_STARTUP=false, user-declared ALLOWED_SPACES is trusted for policy checks./rest/api/space is blocked, confluence_list_spaces is hidden./rest/api/content/search is blocked, read/write content tools are hidden.Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"inhouse-confluence-mcp": {
"command": "npx",
"args": []
}
}
}