Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CONFLUENCE_PATYesPersonal Access Token for Confluence
CONFLUENCE_BASE_URLYesConfluence Server address (without trailing slash)
CONFLUENCE_VERIFY_SSLNoSet to false for self-signed certificates in internal networkstrue

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_confluence_pageA

获取 Confluence 页面的完整内容,转换为 Markdown 格式。

支持的 URL 格式:

  • https://confluence.example.com/pages/viewpage.action?pageId=12345

  • https://confluence.example.com/display/SPACE/Page+Title

  • https://confluence.example.com/spaces/SPACE/pages/12345/Page+Title

返回的 Markdown 保留了文档结构(标题、表格、代码块、列表等)。 拿到内容后,你可以根据内容回答用户的问题,如果内容中找不到答案就回复不知道。

Args: url: Confluence 页面的完整 URL

get_page_structureA

获取 Confluence 页面的结构概览,包括目录大纲、是否包含表格/代码/图片等信息。 适合在获取完整内容前,先了解页面结构。

Args: url: Confluence 页面的完整 URL

search_in_pageA

在 Confluence 页面中搜索与问题相关的内容片段。

使用 BM25 关键词检索(不依赖 embedding 模型),将文档切分为段落/表格/代码块, 然后找出与问题最相关的片段返回。适合在长文档中精准定位信息。

对于较短的文档(<5000字),建议直接使用 get_confluence_page 获取全文。 对于较长的文档,使用此工具可以更精准地找到相关内容。

Args: url: Confluence 页面的完整 URL question: 用户的问题或搜索关键词 top_k: 返回最相关的片段数量,默认5个

get_page_imagesA

Download images from a Confluence page and return them for visual analysis.

The LLM can directly see and describe the image content (diagrams, screenshots, architecture charts, etc.).

Use this when:

  • The user asks about diagrams or screenshots in the page

  • You need to understand visual content (flowcharts, architecture, UI)

  • The text content alone is insufficient to answer the question

Each image is returned along with its filename, alt text, and the heading section it belongs to, so you can correlate images with document structure.

Args: url: Full Confluence page URL max_images: Maximum number of images to download (default 10)

get_child_pagesB

获取 Confluence 页面的子页面列表。 适合浏览文档树结构,找到需要的子页面。

Args: url: Confluence 父页面的完整 URL

get_page_attachmentsC

获取 Confluence 页面的附件列表(图片、文档等)。

Args: url: Confluence 页面的完整 URL

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/OnClickListener2048/confluence-mcp'

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