Stillfrozen

Confluence MCP Server — Cursor

Community Stillfrozen
Updated

MCP server for Confluence Server/Data Center (PAT) — Cursor

title: "Confluence MCP Server — Cursor"tags:

  • проект/workspace
  • подпроект/tools
  • тип/guide
  • область/tech

Confluence MCP Server — Cursor

Локальный MCP-сервер для Cursor: агент ищет и читает страницы Confluence Server / Data Center по Personal Access Token.

Запись страниц не реализована. Облачный Confluence Cloud (другой URL и Basic-auth) этим коннектором не поддерживается.

Репозиторий: https://github.com/Stillfrozen/confluence-cursor-connector

Русская пошаговая установка: docs/INSTALL.ru.md

Что умеет

Tool Назначение
get-current-user Проверка авторизации: display name / username
list-spaces Пространства, доступные текущему пользователю
search-pages Поиск по CQL, например title~"паспорт" AND type=page
get-page Страница по page_id или по space_key + точному title. Тело — body.storage (HTML/storage)

Токен живёт только в ~/.cursor/mcp.json. В git он не попадает.

Быстрый старт

git clone https://github.com/Stillfrozen/confluence-cursor-connector.git
cd confluence-cursor-connector
npm install
npm run build

PAT: в Confluence откройте профиль → Settings → Personal Access Tokens → создайте токен.

В ~/.cursor/mcp.json:

{
  "mcpServers": {
    "confluence": {
      "command": "node",
      "args": ["/absolute/path/to/confluence-cursor-connector/dist/stdio-entry.js"],
      "env": {
        "CONFLUENCE_BASE_URL": "https://wiki.example.com",
        "CONFLUENCE_PAT": "your-personal-access-token"
      }
    }
  }
}

CONFLUENCE_BASE_URL — корень вики без хвоста /rest/api и без слэша в конце. Для совместимости принимается и имя переменной PAT.

Reload MCP: Cursor → Settings → MCP. Индикатор confluence должен стать зелёным.

Проверка в чате: «Покажи мои пространства в Confluence» или «Прочитай страницу 123456».

Опционально скопируйте skill:

mkdir -p ~/.cursor/skills/confluence
cp skills/confluence/SKILL.md ~/.cursor/skills/confluence/SKILL.md

Ограничения

  • Только чтение. Создать или править страницу через MCP нельзя.
  • API — Confluence Server / Data Center (/rest/api/..., Authorization: Bearer).
  • get-page отдаёт storage HTML, не Markdown. Агенту нужно вычищать макросы ac: самостоятельно.
  • CQL ограничен правами PAT: чужие пространства не видны.

Разработка

npm install
npm run build
npm run start:stdio

Smoke-тест живого инстанса (читает confluence.env из ~/.cursor/mcp.json):

node scripts/smoke-test.mjs

Лицензия

MIT

MCP Server · Populars

MCP Server · New

    leonardosepulvedat

    MCP n8n Server

    Complete n8n API integration for Claude Desktop and Cursor - 100 workflow templates with intelligent matching

    Community leonardosepulvedat
    maximhq

    Bifrost AI Gateway

    The Fastest LLM Gateway with built in OTel observability and MCP gateway

    Community maximhq
    crisnahine

    rails-ai-context

    45 MCP tools that give AI coding agents ground truth about your Rails app: schema, models, routes, controllers, views, jobs, conventions. Works with Claude Code, Cursor, GitHub Copilot, OpenCode and Codex CLI. MCP or CLI, in-Gemfile or standalone, and it still answers when the app can't boot.

    Community crisnahine
    VinvAI

    vinvai

    Vinv runs, tests, and finds issues in your services — with zero code changes.

    Community VinvAI
    api7

    AISIX AI Gateway

    An open source, Native AI Gateway and LLM proxy built in Rust

    Community api7