Atlassian Confluence MCP by usefulapi
Search and read spaces, pages and comments; create and update pages, add comments in Confluence.
Sollte ich dies verwenden
Qualität und Sicherheit
Befunde (2)
- LOWin confluence_list_page_inline_comments
- LOWin confluence_list_page_attachments
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"confluence": {
"url": "https://confluence.usefulapi.io/mcp"
}
}
}Remote-Endpunkte
https://confluence.usefulapi.io/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (13)
🟢confluence_get_current_user
Return the signed-in Confluence user (accountId, displayName, email when visible). Confluence: GET /wiki/rest/api/user/current.
Eingabe-Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢confluence_list_spaces(keys, type, status, cursor, limit)
List the spaces the signed-in user can see. Filter by space keys, type (global, collaboration, knowledge_base, personal) or status (current, archived, trashed). Confluence: GET /spaces.
Eingabe-Schema
{
"type": "object",
"properties": {
"keys": {
"description": "Space keys, for example [\"ENG\",\"OPS\"].",
"maxItems": 50,
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"type": {
"description": "Space type. Default: all types.",
"type": "string",
"enum": [
"global",
"collaboration",
"knowledge_base",
"personal",
"system",
"onboarding",
"xflow_sample_space"
]
},
"status": {
"description": "Space status. Default: current.",
"type": "string",
"enum": [
"current",
"archived",
"trashed"
]
},
"cursor": {
"description": "cursor from the previous page's _links.next.",
"type": "string",
"minLength": 1
},
"limit": {
"description": "Results per page (1-250).",
"type": "integer",
"minimum": 1,
"maximum": 250
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢confluence_get_space(spaceId)
Return one space by id (key, name, type, status, homepage id). Confluence: GET /spaces/{id}.
Eingabe-Schema
{
"type": "object",
"properties": {
"spaceId": {
"type": "string",
"minLength": 1,
"description": "Space id (numeric), from confluence_list_spaces."
}
},
"required": [
"spaceId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢confluence_list_pages(spaceId, title, status, cursor, limit)
List pages, optionally in one space, with a title match and a status (current, archived, deleted, trashed). Confluence: GET /pages.
Eingabe-Schema
{
"type": "object",
"properties": {
"spaceId": {
"description": "Only pages in this space id.",
"type": "string",
"minLength": 1
},
"title": {
"description": "Only pages with exactly this title.",
"type": "string",
"minLength": 1
},
"status": {
"description": "Page status. Default: current.",
"type": "string",
"enum": [
"current",
"archived",
"deleted",
"trashed"
]
},
"cursor": {
"description": "cursor from the previous page's _links.next.",
"type": "string",
"minLength": 1
},
"limit": {
"description": "Results per page (1-250).",
"type": "integer",
"minimum": 1,
"maximum": 250
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢confluence_get_page(pageId, bodyFormat, version)
Return one page: title, space, status, version number and, when bodyFormat is set, the body. Confluence: GET /pages/{id}.
Eingabe-Schema
{
"type": "object",
"properties": {
"pageId": {
"type": "string",
"minLength": 1,
"description": "Page id (numeric), from confluence_list_pages or confluence_search_content."
},
"bodyFormat": {
"description": "Body representation to return. Default: none (no body).",
"type": "string",
"enum": [
"storage",
"atlas_doc_format",
"view"
]
},
"version": {
"description": "A past version number to read. Default: the current version.",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
}
},
"required": [
"pageId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢confluence_get_page_versions(pageId, bodyFormat, cursor, limit)
List the saved versions of one page (number, author, time, message). Confluence: GET /pages/{id}/versions.
Eingabe-Schema
{
"type": "object",
"properties": {
"pageId": {
"type": "string",
"minLength": 1,
"description": "Page id (numeric), from confluence_list_pages or confluence_search_content."
},
"bodyFormat": {
"description": "Body representation to return. Default: none (no body).",
"type": "string",
"enum": [
"storage",
"atlas_doc_format",
"view"
]
},
"cursor": {
"description": "cursor from the previous page's _links.next.",
"type": "string",
"minLength": 1
},
"limit": {
"description": "Results per page (1-250).",
"type": "integer",
"minimum": 1,
"maximum": 250
}
},
"required": [
"pageId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢confluence_list_page_comments(pageId, bodyFormat, cursor, limit)
List the footer comments on one page. Confluence: GET /pages/{id}/footer-comments.
Eingabe-Schema
{
"type": "object",
"properties": {
"pageId": {
"type": "string",
"minLength": 1,
"description": "Page id (numeric), from confluence_list_pages or confluence_search_content."
},
"bodyFormat": {
"description": "Body representation to return. Default: none (no body).",
"type": "string",
"enum": [
"storage",
"atlas_doc_format",
"view"
]
},
"cursor": {
"description": "cursor from the previous page's _links.next.",
"type": "string",
"minLength": 1
},
"limit": {
"description": "Results per page (1-250).",
"type": "integer",
"minimum": 1,
"maximum": 250
}
},
"required": [
"pageId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢confluence_list_page_inline_comments(pageId, bodyFormat, cursor, limit)
List the inline comments (anchored to text) on one page. Confluence: GET /pages/{id}/inline-comments.
Eingabe-Schema
{
"type": "object",
"properties": {
"pageId": {
"type": "string",
"minLength": 1,
"description": "Page id (numeric), from confluence_list_pages or confluence_search_content."
},
"bodyFormat": {
"description": "Body representation to return. Default: none (no body).",
"type": "string",
"enum": [
"storage",
"atlas_doc_format",
"view"
]
},
"cursor": {
"description": "cursor from the previous page's _links.next.",
"type": "string",
"minLength": 1
},
"limit": {
"description": "Results per page (1-250).",
"type": "integer",
"minimum": 1,
"maximum": 250
}
},
"required": [
"pageId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢confluence_list_page_attachments(pageId, filename, mediaType, cursor, limit)
List the attachments of one page (file name, media type, size, download link). Confluence: GET /pages/{id}/attachments.
Eingabe-Schema
{
"type": "object",
"properties": {
"pageId": {
"type": "string",
"minLength": 1,
"description": "Page id (numeric), from confluence_list_pages or confluence_search_content."
},
"filename": {
"description": "Only attachments with this file name.",
"type": "string",
"minLength": 1
},
"mediaType": {
"description": "Only attachments with this media type, for example application/pdf.",
"type": "string",
"minLength": 1
},
"cursor": {
"description": "cursor from the previous page's _links.next.",
"type": "string",
"minLength": 1
},
"limit": {
"description": "Results per page (1-250).",
"type": "integer",
"minimum": 1,
"maximum": 250
}
},
"required": [
"pageId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢confluence_search_content(cql, start, limit)
Search pages, blog posts and comments with CQL (for example "space = ENG AND type = page AND text ~ 'release'"). Returns results and paging links. Confluence: GET /wiki/rest/api/search.
Eingabe-Schema
{
"type": "object",
"properties": {
"cql": {
"type": "string",
"minLength": 1,
"description": "CQL query, for example \"type = page AND title ~ 'roadmap'\"."
},
"start": {
"description": "Index of the first result (default 0).",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"limit": {
"description": "Results per page (1-100).",
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"required": [
"cql"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴confluence_create_page(spaceId, title, bodyStorage, parentId, status)
Create a page in a space, optionally under a parent page. bodyStorage is the storage-format HTML body. Status current publishes it; draft keeps it private. Confluence: POST /pages.
Eingabe-Schema
{
"type": "object",
"properties": {
"spaceId": {
"type": "string",
"minLength": 1,
"description": "Space id (numeric), from confluence_list_spaces."
},
"title": {
"type": "string",
"minLength": 1,
"description": "Page title."
},
"bodyStorage": {
"type": "string",
"minLength": 1,
"description": "Page or comment body in Confluence storage format, for example \"<p>Hello</p>\"."
},
"parentId": {
"description": "Parent page id. Default: the space homepage.",
"type": "string",
"minLength": 1
},
"status": {
"description": "current (default) publishes the page; draft keeps it unpublished.",
"type": "string",
"enum": [
"current",
"draft"
]
}
},
"required": [
"spaceId",
"title",
"bodyStorage"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴confluence_update_page(pageId, title, bodyStorage, versionMessage)
Change a page's title and/or body. Reads the current version, then saves version+1 with the given changes and an optional version message. Other fields stay as they are. Confluence: GET /pages/{id}, then PUT /pages/{id}.
Eingabe-Schema
{
"type": "object",
"properties": {
"pageId": {
"type": "string",
"minLength": 1,
"description": "Page id (numeric), from confluence_list_pages or confluence_search_content."
},
"title": {
"description": "New title. Default: keep the current title.",
"type": "string",
"minLength": 1
},
"bodyStorage": {
"description": "New body in storage format. Default: keep the current body.",
"type": "string",
"minLength": 1
},
"versionMessage": {
"description": "Short note saved with the new version.",
"type": "string",
"minLength": 1,
"maxLength": 500
}
},
"required": [
"pageId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴confluence_add_comment(pageId, parentCommentId, bodyStorage)
Add a footer comment to a page, or a reply when parentCommentId is set (then pageId is not sent). bodyStorage is the storage-format body. Confluence: POST /footer-comments.
Eingabe-Schema
{
"type": "object",
"properties": {
"pageId": {
"description": "Page id for a top-level comment. Leave empty for a reply.",
"type": "string",
"minLength": 1
},
"parentCommentId": {
"description": "Parent comment id, for a reply.",
"type": "string",
"minLength": 1
},
"bodyStorage": {
"type": "string",
"minLength": 1,
"description": "Page or comment body in Confluence storage format, for example \"<p>Hello</p>\"."
}
},
"required": [
"bodyStorage"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Community
Nachweis