confluence-mcp
Provides tools for interacting with Confluence, enabling page lookup, CQL search, page creation/update, comments, and space discovery.
Click on "Install 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., "@confluence-mcpsearch for pages about API authentication in the DevOps space"
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.
confluence-mcp
A local MCP server for Confluence (Data Center/Server compatible) with token-based auth.
This server exposes a compact set of tools for page lookup, CQL search, page creation/updates, comments, and space discovery.
What this server provides
confluence_get_page— get a page by ID, or by spaceKey + titleconfluence_search— search content with CQLconfluence_create_page— create a pageconfluence_update_page— update a page's title/body (auto-increments version)confluence_add_comment— add a comment to a pageconfluence_list_spaces— list spaces (useful to discover space keys)
Related MCP server: inhouse_confluence_mcp
Requirements
Node.js
>=20Confluence account with API access
Space/page permissions matching your actions (create, update, comment, etc.)
Configuration
Set environment variables (for example in .env):
# Required
CONFLUENCE_BASE_URL=https://your-confluence-host
# Optional (defaults shown)
CONFLUENCE_AUTH_TYPE=bearer
CONFLUENCE_DEFAULT_SPACE_KEY=
# For bearer auth (Data Center/Server personal access token)
CONFLUENCE_PAT=
# For basic auth (Confluence Cloud email + API token)
CONFLUENCE_EMAIL=
CONFLUENCE_API_TOKEN=Auth modes
CONFLUENCE_AUTH_TYPE=bearer(default)Requires
CONFLUENCE_PAT(Data Center/Server personal access token)
CONFLUENCE_AUTH_TYPE=basicRequires
CONFLUENCE_EMAIL+CONFLUENCE_API_TOKEN
Page and comment bodies use Confluence storage format (XHTML-based), for example <p>Hello world</p>.
Install and run
npm install
npm run build
npm startDevelopment mode:
npm run devSmoke test:
npm run test:confluenceMCP client config example
{
"mcpServers": {
"confluence": {
"command": "node",
"args": ["/absolute/path/to/confluence-mcp/dist/index.js"],
"env": {
"CONFLUENCE_BASE_URL": "https://confluence.your-company.local",
"CONFLUENCE_AUTH_TYPE": "bearer",
"CONFLUENCE_PAT": "your-personal-access-token",
"CONFLUENCE_DEFAULT_SPACE_KEY": "YOUR_SPACE_KEY"
}
}
}
}Tool inputs
confluence_get_page
By ID:
{ "pageId": "123456" }By space + title:
{ "spaceKey": "YOUR_SPACE_KEY", "title": "Sprint Planning Notes" }confluence_search
Input:
{
"cql": "space = YOUR_SPACE_KEY AND type = page ORDER BY lastmodified DESC",
"start": 0,
"limit": 20
}confluence_create_page
Required fields:
titlebody(storage format)
Optional fields:
spaceKey(falls back toCONFLUENCE_DEFAULT_SPACE_KEY)parentId(create as a child page)
Example input:
{
"title": "[MCP] Example page",
"body": "<p>Created from confluence-mcp</p>",
"parentId": "123456"
}confluence_update_page
Provide at least one of title or body. The current version is fetched automatically and incremented.
{
"pageId": "123456",
"body": "<p>Updated content</p>"
}confluence_add_comment
Input:
{
"pageId": "123456",
"comment": "<p>Investigation started</p>"
}confluence_list_spaces
Input:
{ "limit": 25 }Troubleshooting
Update fails with version conflict (409)
Another edit happened concurrently. Re-fetch the page (
confluence_get_page) and retry.
Create page fails with space permission errors (403)
These are Confluence permission-scheme restrictions for your user/token, not MCP runtime errors.
CQL search returns no results
Confirm the space key casing and that
type = page(ortype = comment, etc.) matches what you expect.
Available Tools
6 toolsconfluence_add_commentC
Add a comment to a Confluence page.
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | ||
| comment | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It only says 'Add a comment to a Confluence page,' with no mention of side effects, required permissions, error handling, or whether the comment is appended or replaces existing comments. As a mutation tool, this lack of detail is a significant gap.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence with no unnecessary words. It is perfectly concise and front-loaded, stating the core action immediately. Every word earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a mutation tool with no annotations, no output schema, and zero parameter descriptions, the description is too minimal. It lacks information about return values, error conditions, authentication requirements, and how this action fits with sibling tools. The tool is likely simple, but the description does not provide enough context for reliable invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 0% description coverage, and the description does not mention either parameter (pageId or comment). It adds no meaning beyond the parameter names, which are already self-explanatory. The description does not compensate for the schema's lack of semantic detail.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action: add a comment to a Confluence page. It names the specific verb and resource, making the purpose obvious. However, it does not explicitly distinguish from sibling tools like create_page or update_page, although the verb 'add' and object 'comment' are specific enough for basic selection.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description offers no guidance on when to use this tool versus alternatives. There is no mention of prerequisites, context, or exclusions. The tool's purpose is implied by its name, but explicit usage instructions are absent.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
confluence_create_pageC
Create a Confluence page.
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| title | Yes | ||
| parentId | No | ||
| spaceKey | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden, but it only restates the basic create action. It does not disclose behavioral traits such as space/parent requirements, validation rules, side effects, or return behavior, which is insufficient for a mutation tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single short sentence, which is concise, but it essentially restates the tool name. It is under-specified rather than usefully concise, providing minimal value beyond the name itself.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description is far too sparse for a tool with 4 parameters, no annotations, and no output schema. It doesn't explain required fields, how pages are nested, what spaceKey and parentId mean, or what happens on success/failure, making it incomplete for correct invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema contains four properties with no descriptions, and the tool description does not mention any of them. With 0% schema description coverage, the description fails to compensate, leaving the agent to guess what body, title, parentId, and spaceKey mean.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses the specific verb 'Create' and the resource 'a Confluence page,' clearly distinguishing it from siblings like get, search, update, add_comment, and list_spaces. It directly states the action, so purpose is clear.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool versus alternatives. There is no mention of context, prerequisites, exclusions, or situations where a different tool would be more appropriate.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
confluence_get_pageA
Get a Confluence page by ID, or by spaceKey + title.
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| pageId | No | ||
| spaceKey | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden. 'Get' implies a read-only operation, which is transparent. However, it does not disclose error behavior, return format, or precedence rules when multiple parameters are provided. This is minimal but adequate for a simple read tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The entire description is one concise sentence that states the purpose and the two modes of lookup without any filler. Every word earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a get-by-identifier tool, the description is reasonably complete, but the combination of three optional parameters with no required fields and no output schema creates ambiguity about precedence and combined usage. The description does not address these edge cases, leaving minor but important gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 0%, so the description must compensate. It adds meaning by indicating that 'spaceKey + title' are paired together as an alternative to 'pageId'. However, it fails to clarify whether parameters are mutually exclusive, what happens if both are given, or whether spaceKey alone is valid. Some semantics added, but incomplete.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'Get' and the resource 'Confluence page', and specifies two lookup methods: by ID or by spaceKey + title. This distinguishes it sharply from siblings like search, create, update, and comment, which have different actions.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides clear context: use this tool when you have a page ID or a spaceKey/title pair. It does not explicitly mention alternatives or when not to use it (e.g., use search when you lack identifiers), but the context is sufficiently clear. Missing explicit exclusions prevents a 5.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
confluence_list_spacesA
List Confluence spaces (useful to discover valid space keys).
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| start | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden of disclosing behavior. It explicitly indicates a read operation ('List') and suggests a practical use case, but it fails to mention pagination behavior, return format, or whether results are limited to keys only. This is moderate transparency, lacking depth.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, compact sentence that front-loads the core action ('List Confluence spaces') and adds a useful parenthetical note. Every word earns its place; there is no filler or redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple list tool, the description is adequate but sparse. It doesn't describe the output schema or pagination details, which are not covered elsewhere. However, given the simplicity of the tool and the presence of limit/start parameters in the schema, a 3 is fair—it meets the minimum but leaves gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema provides no descriptions for the parameters, and the description does not mention 'limit' or 'start' at all. While the names are somewhat self-explanatory, the description adds zero semantic value beyond the schema, which is a significant gap given the 0% schema description coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states a specific action ('List') and resource ('Confluence spaces'), making the tool's purpose immediately obvious. The parenthetical 'useful to discover valid space keys' adds practical context and distinguishes this from sibling tools like page retrieval or search.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The phrase 'useful to discover valid space keys' provides clear context for when to use this tool (e.g., before other operations requiring space keys). However, it does not explicitly contrast with alternatives or state exclusions, so it falls short of a 5.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
confluence_searchC
Search Confluence content with CQL.
| Name | Required | Description | Default |
|---|---|---|---|
| cql | Yes | ||
| limit | No | ||
| start | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are present, so the description carries the full burden of behavioral disclosure. It only states the basic search action and mentions CQL, but does not disclose what the response looks like, how pagination works, or any required permissions. The description adds no meaningful behavioral context beyond the function itself.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single short sentence, but this brevity results from under-specification rather than effective conciseness. It omits crucial details that would require additional sentences to explain. The structure does not front-load information beyond the bare minimum.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the lack of annotations and output schema, the description is profoundly incomplete. It does not explain how to compose CQL, what the returned data structure is, or how limit and start affect results. An agent would be unable to use this tool reliably without guessing or seeking external documentation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, and the description does not explain any parameters. It refers to CQL but fails to clarify the roles of cql, limit, and start. The agent is left with only schema type constraints, which are insufficient for understanding how to build queries or interpret pagination parameters.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's function: 'Search Confluence content with CQL.' This identifies the verb ('search'), the resource ('Confluence content'), and the method ('CQL'), effectively distinguishing it from sibling tools like confluence_get_page and confluence_create_page.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It does not mention that this should be used for general search queries instead of specific page retrieval, nor does it reference any sibling tools or conditions. Usage context is only implied by the tool's name.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
confluence_update_pageA
Update a Confluence page's title and/or body. Automatically increments the page version.
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| title | No | ||
| pageId | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description discloses an important side-effect: automatic version increment. However, with no annotations, it does not mention required permissions, behavior if the page does not exist, or whether the body is fully replaced. This leaves several behavioral aspects unexplained.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two concise sentences, front-loaded with the action, and includes the useful versioning side-effect without any waste. Every word contributes to understanding.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple update tool, the description covers the core purpose and a key side-effect, but lacks details about permissions, error handling, and return value. With no output schema or annotations, these omissions mean the description is adequate but not fully complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description adds meaning to the title and body parameters by saying 'title and/or body', indicating they are the updatable fields. However, it does not explain the pageId parameter or provide format constraints (e.g., body markup), and with 0% schema coverage, the description only partially compensates for the lack of parameter documentation.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action (update), the resource (Confluence page), and the specific fields affected (title and/or body). This distinguishes it from sibling tools like create_page, get_page, and search by specifying the exact mutation scope.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The verb 'update' implies this tool is for modifying existing pages, which differentiates it from create_page, but the description does not explicitly state when to use it versus alternatives or provide exclusions. There is no guidance about prerequisites like the page needing to exist.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
6 tool updates
v0.1.0- First observed
confluence_add_comment - First observed
confluence_create_page - First observed
confluence_get_page - First observed
confluence_list_spaces - First observed
confluence_search - First observed
confluence_update_page
TDQS
Each tool has a clear, distinct purpose: retrieving, searching, creating, updating, commenting, and listing spaces. There is no overlap or ambiguity between them.
Most tools follow the verb_noun pattern (get_page, create_page, update_page, add_comment, list_spaces), but 'search' lacks a noun complement, creating a minor inconsistency.
With 6 tools, the server is well-scoped for Confluence operations without being bloated or sparse. Each tool covers an essential action.
The set covers core page lifecycle (create, read, update) and adds useful search, comment, and space discovery capabilities. However, there is no delete page operation, a notable gap in CRUD completeness.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Confluence MCP — wraps the Confluence Cloud REST API v2 (OAuth)
Connect to Atlassian Jira, Confluence, and Compass to search, create, and manage your work.
Read and write Mission Control state via MCP — projects, tasks, subtasks, templates, status updates.
- OneOAuthai.withone
Search, document and execute authenticated API calls across 700+ apps via one MCP server
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables integration with Atlassian Confluence to browse spaces, search content using CQL, and manage pages directly from MCP-compatible applications. It automatically converts Confluence storage formats into markdown for seamless interaction with AI-driven editors and tools.982MIT
- FlicenseNot gradedqualityDmaintenanceAn 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.-
- AlicenseAqualityDmaintenanceMCP server for Confluence Cloud/Server/Data Center, enabling page search, CQL queries, page CRUD, attachment upload, and user identity lookup.234684MIT
- AlicenseNot gradedqualityCmaintenanceMCP server for searching and retrieving pages from Atlassian Confluence.541MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/YOSSTM/confluence-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server