inhouse_confluence_mcp
Provides tools for interacting with Confluence (Data Center/Server) instances, enabling capabilities such as searching content via CQL, managing pages, listing spaces, and retrieving attachments, comments, and labels.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@inhouse_confluence_mcpsearch for documentation about our internal API architecture"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
inhouse_confluence_mcp
In-house Confluence (Data Center/Server) MCP server implementation. Default mode is read-only, and write tools are controlled by policy.
Tools
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)
Related MCP server: Atlassian MCP Server
Quick Start
Copy
.env.exampleto.envSet required values:
CONFLUENCE_BASE_URLCONFLUENCE_AUTH_MODE(patorbasic)CONFLUENCE_PATorCONFLUENCE_USERNAME/CONFLUENCE_PASSWORD
Install and run:
python -m pip install -e .
confluence-mcpOr:
python -m confluence_mcp.mainOpenCode Registration
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:
Do not rely on
Activate.ps1in MCP commands.Prefer direct venv python path.
--env-filemakes startup independent fromcwd.Optional override: set
CONFLUENCE_MCP_ENV_FILEinenvironment.
.env Loading Rules
On startup, the server looks for .env in this order:
--env-filepathCONFLUENCE_MCP_ENV_FILECurrent working directory (
.env,.env.local)Python executable neighborhood (useful for
.venvlayout)Project/module directory
If no file is found, startup logs searched paths.
Space Auto-Discovery
If
ALLOWED_SPACESis empty andAUTO_DISCOVER_SPACES=true, the server auto-loads available space keys on startup.DENIED_SPACESis optional. Use it only when you need an explicit sensitive-space blocklist.To generate a ready-to-copy env line manually:
confluence-mcp-sync-spacesOutput file:
logs/spaces_discovered.json
Recommended Settings
Keep
WRITE_ENABLED=falseinitiallyConfigure
ALLOWED_SPACESfirstAdd
DENIED_SPACESonly for sensitive spacesKeep
EXPERIMENTAL_LIKES=falseunless needed
Logs
Audit log path:
AUDIT_LOG_PATH(default:logs/audit.jsonl)Fields: timestamp, tool, status, latencyMs, traceId, error
Tests
python -m unittest discover -s tests -vTool Probe on Startup
By default, the server probes API permissions at startup and exposes only reachable tools.
Toggle all probes with
TOOL_PROBE_ON_STARTUP=true|false.Disable only space probe with
SPACE_PROBE_ON_STARTUP=false.When
SPACE_PROBE_ON_STARTUP=false, user-declaredALLOWED_SPACESis trusted for policy checks.If
/rest/api/spaceis blocked,confluence_list_spacesis hidden.If
/rest/api/content/searchis blocked, read/write content tools are hidden.
This server cannot be deployed
Maintenance
Related MCP Connectors
An MCP server that provides read access to your cloud storage providers, bank accounts and more.
A MCP server built for developers enabling Git based project management with project and personal…
MCP server for the HubSpot Integrations Center HubDB: search and retrieve integration data.
MCP server for mandates, delegation, policy-gated execution, credential grants, and audit.
Related MCP Servers
- FlicenseCqualityDmaintenanceAn MCP server that enables searching and retrieving content from Confluence documentation systems, providing capabilities for both document searches and full page content retrieval.21-
- AlicenseNot gradedqualityDmaintenanceA read-only MCP server that enables querying and searching Atlassian Confluence pages and Jira issues through their REST APIs. Supports retrieving content by ID or URL, searching using CQL/JQL, and listing spaces and projects.1MIT
- AlicenseAqualityDmaintenanceMCP server for Confluence Cloud/Server/Data Center, enabling page search, CQL queries, page CRUD, attachment upload, and user identity lookup.232014MIT
- AlicenseNot gradedqualityCmaintenanceMCP server for searching and retrieving pages from Atlassian Confluence.191MIT