New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

pi-confluence

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pi-confluence

Confluence integration for Pi Coding Agent — search, fetch, and save Confluence pages as Markdown with a TUI config editor

latest
Source
npmnpm
Version
1.1.0
Version published
Weekly downloads
2
-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

pi-confluence

Confluence integration for Pi Coding Agent — search, fetch, and save Confluence pages as Markdown files.

Installation

pi install npm:pi-confluence

Features

Tools

ToolDescription
confluence_searchSearch pages by text or CQL query
confluence_fetchFetch a page by ID and save as .md
confluence_spacesList available Confluence spaces

TUI Config Editor

Run /confluence-config inside Pi to interactively configure your credentials with a full TUI overlay — no need to hand-edit JSON files.

HTML → Markdown

Built-in converter handles Confluence-specific markup:

  • Structured macros (code blocks, info/note/warning panels)
  • Tables, lists, headings, links, images
  • Frontmatter with page metadata (ID, space, URL, author, timestamp)

Configuration

Credentials are loaded from (in priority order):

  • .pi/confluence.json (project-local)
  • ~/.pi/agent/confluence.json (global)
  • Environment variables: CONFLUENCE_BASE_URL, CONFLUENCE_EMAIL, CONFLUENCE_API_TOKEN

Config format

{
  "baseUrl": "https://your-domain.atlassian.net/wiki",
  "email": "you@company.com",
  "apiToken": "your-api-token",
  "outputDir": "./confluence-docs"
}

You can reference environment variables with the ENV: prefix:

{
  "baseUrl": "https://your-domain.atlassian.net/wiki",
  "email": "ENV:CONFLUENCE_EMAIL",
  "apiToken": "ENV:CONFLUENCE_API_TOKEN",
  "outputDir": "./confluence-docs"
}

Get your API token at: https://id.atlassian.com/manage-profile/security/api-tokens

Usage Examples

Once configured, the AI agent can use these tools naturally:

> Search our wiki for deployment guides
  → confluence_search query="deployment guide"

> Fetch the architecture overview page
  → confluence_fetch pageId="12345"

> Download the entire onboarding space
  → confluence_search query="type=page AND space=ONBOARD"
  → confluence_fetch pageId="..." includeChildren=true

License

MIT

Keywords

pi-package

FAQs

Package last updated on 24 Mar 2026

Related posts