Part of VISHKAR MCP Ecosystem← Back to Ecosystem Hub

Confluence MCP

Documentation Layer - Pages, Templates, Attachments & JIRA Integration

32 ToolsAuto spaceKeyImage Embeddingv2.0.0

Role in the Ecosystem

Confluence MCP is the Documentation Layer of the VISHKAR ecosystem. It provides comprehensive Confluence integration for creating, managing, and organizing documentation with seamless JIRA integration.

  • 32 tools for complete Confluence operations
  • Auto-fetch spaceKey from Project Registry
  • Image upload and embedding support
  • Templates, macros, and JIRA integration

Quick Example

# Create page (spaceKey auto-fetched!)
curl -X POST \
  https://confluence-mcp-six.vercel.app/api/mcp \
  -H "X-API-Key: pk_your_key" \
  -d '{
    "tool": "create_page",
    "arguments": {
      "title": "My Page",
      "content": "<p>Hello!</p>"
    }
  }'

Ecosystem Architecture

┌─────────────────────────────────────────────────────────────────┐
│                     VISHKAR AI Agent                             │
└──────────────────────────────┬──────────────────────────────────┘
                               │
            ┌──────────────────┴──────────────────┐
            ▼                                      ▼
┌───────────────────────┐              ┌───────────────────────┐
│   PROJECT REGISTRY    │              │  ENHANCED CONTEXT MCP │
│   (Entry Point)       │              │   (AI Intelligence)   │
└───────────────────────┘              └───────────────────────┘
            │
            │ Credentials & spaceKey
            ▼
┌───────────────────────┐    ┌───────────────────────┐
│      JIRA MCP         │◄──►│   CONFLUENCE MCP      │ ◄── YOU ARE HERE
│   (41 Tools)          │    │    (32 Tools)         │
└───────────────────────┘    └───────────────────────┘
                                       │
                                       │ Can link to JIRA issues
                                       │ Embed JIRA macros
                                       ▼
                             ┌───────────────────────┐
                             │  STORYCRAFTER MCP     │
                             │   (4 Tools)           │
                             └───────────────────────┘

Confluence MCP Provides:
• Page CRUD           → Create, read, update, delete pages
• Templates           → Reusable page templates
• Attachments         → Document and image management
• JIRA Integration    → Link pages to issues, embed JQL queries
• Macros              → Status, info, warning, code blocks

32 Tools by Category

Space Operations (3)

  • • get_spaces
  • • get_space
  • • get_space_permissions

Content & Search (3)

  • • get_content_by_id
  • • get_content_by_space_and_title
  • • search (CQL)

Page Management (5)

  • • create_page
  • • update_page
  • • get_page_children
  • • get_page_history
  • • add_page_labels

Documents (6)

  • • get_page_attachments
  • • upload_document
  • • update_document
  • • delete_document
  • • list_documents
  • • embed_existing_attachment

Image Upload (2)

  • • upload_and_embed_document
  • • upload_and_embed_attachment

Folders (3)

  • • create_folder
  • • get_folder_contents
  • • move_page_to_folder

Templates (4)

  • • create_page_template
  • • get_page_templates
  • • apply_page_template
  • • update_page_template

Labels (1)

  • • get_pages_by_label

Macros (3)

  • • insert_macro
  • • update_macro
  • • get_page_macros

JIRA Integration (2)

  • • link_page_to_jira_issue
  • • insert_jira_macro

Auto spaceKey Feature

When you register your project in Project Registry with a default Confluence space, you no longer need to pass spaceKey in every API call!

Before (Repetitive)

// Every call needs spaceKey
create_page({ spaceKey: "SA1", ... })
get_pages_by_label({ spaceKey: "SA1", ... })
create_folder({ spaceKey: "SA1", ... })

After (Clean)

// spaceKey auto-fetched from registry
create_page({ title: "My Page", ... })
get_pages_by_label({ label: "docs", ... })
create_folder({ title: "My Folder", ... })

Usage Examples

Create Page

POST /api/mcp
X-API-Key: pk_your_key

{
  "tool": "create_page",
  "arguments": {
    "title": "Sprint Retrospective",
    "content": "<h1>Sprint 5 Retro</h1><p>What went well...</p>"
  }
}

Upload and Embed Image

POST /api/mcp
{
  "tool": "upload_and_embed_document",
  "arguments": {
    "pageId": "264468459847682",
    "file": {
      "name": "architecture-diagram.png",
      "data": "base64_encoded_data...",
      "mimeType": "image/png"
    },
    "width": 800
  }
}

Insert JIRA Macro

POST /api/mcp
{
  "tool": "insert_jira_macro",
  "arguments": {
    "pageId": "264468459847682",
    "jqlQuery": "project = PROJ AND sprint in openSprints()"
  }
}

Related MCP Services