Skip to main content
Glama
Stillfrozen

Confluence MCP Server — Cursor

by Stillfrozen

title: "Confluence MCP Server — Cursor" tags:

  • 项目/workspace

  • 子项目/tools

  • 类型/guide

  • 领域/tech


Confluence MCP Server — Cursor

用于 Cursor 的本地 MCP 服务器:代理通过 Personal Access Token 搜索和读取 Confluence Server / Data Center 页面。

页面写入未实现。此连接器不支持云版 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。

Related MCP server: Confluence Node MCP Server

快速开始

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 — wiki 根路径,不带 /rest/api 后缀,末尾也不带斜杠。为兼容起见,也接受变量名 PAT

重新加载 MCP:Cursor → Settings → MCPconfluence 指示器应变为绿色。

在聊天中验证:「显示我在 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

对真实实例进行冒烟测试(从 ~/.cursor/mcp.json 读取 confluence.env):

node scripts/smoke-test.mjs

许可证

MIT

A
license - permissive license
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Connect to Atlassian Jira, Confluence, and Compass to search, create, and manage your work.

  • Search and reason over your Obsidian-style Markdown vault, right from ChatGPT.

  • Securely search and manage workspace context files for AI agents and teams.

View all MCP Connectors

Latest Blog Posts

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/Stillfrozen/confluence-cursor-connector'

If you have feedback or need assistance with the MCP directory API, please join our Discord server