Search pages, read content, create and update wiki pages via Confluence Cloud REST API
65+ deploysYour AI agent gets 5 capabilities in one connection. Deploy once, use from any client.
GET endpoints
list_pages
List wiki pages with title, ID, version number, last-modified timestamp, and space key. Pass 'limit' (1-250, default 25), 'type' (page/blogpost), 'spaceKey' to filter by space, and 'expand' (body.storage, ancestors, children) for additional data.
https://{domain}.atlassian.net/wiki/rest/api/content?type=page&limit=25&expand=version
search_pages
Search pages using CQL syntax. Examples: 'text~"deployment"', 'label=api AND space=ENG', 'creator=currentUser() AND lastModified>now("-7d")'. Returns title, excerpt with highlights, space, and last-modified. Max 'limit' results (default 10).
https://{domain}.atlassian.net/wiki/rest/api/content/search?cql={cql_query}&limit=10
get_page
Get full page by ID. Returns storage-format HTML body, version number, version message, ancestors (breadcrumb), title, space key, and creation/modification timestamps. Expand 'body.view' for rendered HTML or 'body.export_view' for PDF-ready content.
https://{domain}.atlassian.net/wiki/rest/api/content/{page_id}?expand=body.storage,version
list_spaces
List spaces with key, name, type (global/personal), status (current/archived), description, and homepage ID. Filter by 'type' or 'status' query params. Paginate with 'start' and 'limit' (max 250). Use space key in other endpoints.
https://{domain}.atlassian.net/wiki/rest/api/space?limit=25
POST endpoints
create_page
Create a page in a space. Required: 'title', 'space.key', and 'body.storage.value' (XHTML). Optional: 'ancestors' [{id}] to nest under a parent page, 'metadata.labels' for tags. Returns new page ID, URL, and version info.
https://{domain}.atlassian.net/wiki/rest/api/content
Connect Confluence to Claude Code with one command:
claude mcp add confluence https://datafaucet.dev/api/mcp/t/confluence{notion_token}) with your real credentialsNeed API keys? Try our free sandbox templates first to see MCP in action with zero setup.
Replace these placeholders with your real values before deploying:
{confluence_credentials}Your value{content}Your value{cql_query}Your value{domain}Your domain name{page_id}Resource identifier{space_key}Your value{title}Your valuePreview:
GET https://{domain}.atlassian.net/wiki/rest/api/content?type=page&limit=25&expand=version Authorization: Basic {confluence_credentials}
claude mcp add confluence --url https://datafaucet.dev/api/mcp/t/confluence
Paste into your client's MCP configuration file · most users connect in under 60s
claude mcp add confluence --url https://datafaucet.dev/api/mcp/t/confluenceWhat your AI agent sees
I have access to 5 tools from Confluence: list_pages, search_pages, get_page, and 2 more.
“List wiki pages with title, ID, version number, last-modified timestamp, and space key. Pass 'limit' (1-250, default 25), 'type' (page/blogpost), 'spaceKey' to filter by space, and 'expand' (body.storage, ancestors, children) for additional data.”
Calling list_pages... Done. Here are the results.
Try these prompts
“List wiki pages with title, ID, version number, last-modified timestamp, and space key. Pass 'limit' (1-250, default 25), 'type' (page/blogpost), 'spaceKey' to filter by space, and 'expand' (body.storage, ancestors, children) for additional data”
Copy“Search pages using CQL syntax. Examples: 'text~"deployment"', 'label=api AND space=ENG', 'creator=currentUser() AND lastModified>now("-7d")'. Returns title, excerpt with highlights, space, and last-modified. Max 'limit' results (default 10)”
Copy“Get full page by ID. Returns storage-format HTML body, version number, version message, ancestors (breadcrumb), title, space key, and creation/modification timestamps. Expand 'body.view' for rendered HTML or 'body.export_view' for PDF-ready content”
CopyClick any prompt to copy, then paste into your AI client.