confluence-http-api-mcp
Read-only MCP server for self-hosted Confluence that lets AI agents search pages, fetch content, and navigate page trees via the REST API.
README
confluence-http-api-mcp
Read-only MCP server for self-hosted Confluence (Server / Data Center) over the REST API.
Primary use case: let an AI agent read project documentation — search pages, fetch content, navigate page trees.
Requirements
- Node.js 18+
- Confluence base URL and a Personal Access Token with read access to the relevant spaces
Configuration
| Variable | Required | Description |
|---|---|---|
CONFLUENCE_URL |
Yes | Base URL, e.g. https://wiki.it-aces.com |
CONFLUENCE_TOKEN |
Yes | PAT sent as Authorization: Bearer … |
Alias: CONFLUENCE_PAT.
Tools (read-only)
| Tool | Purpose |
|---|---|
confluence_search |
CQL search (space=GAR AND type=page, text ~ "API") |
confluence_get_page |
Page by content id + plain-text body |
confluence_get_page_by_title |
Page by space key + exact title |
confluence_list_spaces |
Discover spaces |
confluence_get_page_children |
Child pages (doc tree / TOC) |
Page bodies are returned as plain text (HTML/storage markup stripped) for easier agent consumption.
Install
From source (GitLab / GitHub)
git clone git@gitlab.greenworm.ru:ai/confluence-http-api-mcp.git
cd confluence-http-api-mcp
npm install
Публичное зеркало: https://github.com/rkorablin/confluence-http-api-mcp.
From npm
npm install confluence-http-api-mcp
Or globally (for npx / CLI usage):
npm install -g confluence-http-api-mcp
Usage
Standalone (stdio)
export CONFLUENCE_URL="https://wiki.it-aces.com"
export CONFLUENCE_TOKEN="..."
node server.mjs
Cursor / MCP host
Add the server to your MCP config (for example .cursor/mcp.json → mcpServers).
Option 1: Local clone
"confluence": {
"command": "node",
"args": ["/absolute/path/to/confluence-http-api-mcp/server.mjs"],
"env": {
"CONFLUENCE_URL": "https://wiki.it-aces.com",
"CONFLUENCE_TOKEN": "..."
}
}
Option 2: npm / npx
If installed globally:
"confluence": {
"command": "confluence-http-api-mcp",
"env": {
"CONFLUENCE_URL": "https://wiki.it-aces.com",
"CONFLUENCE_TOKEN": "..."
}
}
Or via npx (рекомендуется для автоподтягивания новых версий):
"confluence": {
"command": "npx",
"args": ["--yes", "--prefer-online", "confluence-http-api-mcp@latest"],
"env": {
"CONFLUENCE_URL": "https://wiki.it-aces.com",
"CONFLUENCE_TOKEN": "..."
}
}
Or via wrapper + secrets file (see ~/.config/ai-mcp pattern used for GitLab/YouTrack).
Typical agent workflow
confluence_list_spaces— find space key (e.g.GAR)confluence_searchwithspace=GAR AND title ~ "Architecture"confluence_get_page— read full page textconfluence_get_page_children— walk documentation hierarchy
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.