Confluence API Docs MCP Server
Allows generating API documentation in Confluence from Swagger/OpenAPI specs and NestJS controllers, with automatic Postman collection generation.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Confluence API Docs MCP ServerCreate API documentation from http://petstore.swagger.io/v2/swagger.json in space DEV"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Confluence API Docs MCP Server
An MCP (Model Context Protocol) server that generates API documentation in Confluence from:
Swagger/OpenAPI specifications (JSON files or URLs)
NestJS controller files (TypeScript decorators)
Automatically generates Postman collections and embeds them in documentation pages.
Installation
npm install
npm run buildRelated MCP server: Confluence MCP Server
Configuration
Copy
.env.exampleto.envFill in your Confluence Cloud credentials:
CONFLUENCE_BASE_URL: Your Atlassian Cloud URL (e.g., https://mycompany.atlassian.net)CONFLUENCE_EMAIL: Your email addressCONFLUENCE_API_TOKEN: API token from https://id.atlassian.com/manage-profile/security/api-tokens
Add to
~/.claude.json:
{
"mcpServers": {
"confluence-api-docs": {
"command": "node",
"args": ["/home/harsh-vaghela/saleshandy/confluence-api-docs-mcp/dist/index.js"],
}
}
}Usage
Available Tools
Space Management:
list_spaces- List all Confluence spacessearch_pages- Search for existing pagesget_page- Get page contentdelete_page- Delete a page
Swagger/OpenAPI Documentation:
create_api_doc- Create API documentation from Swagger/OpenAPI spec (URL or file)update_api_doc- Update existing API documentation from specsync_swagger_to_confluence- Full sync with configurable grouping (tag, path, or single page)
NestJS Controller Documentation:
create_api_doc_from_controller- Create documentation from NestJS controller filesupdate_api_doc_from_controller- Update documentation from controller files
Note: All tools automatically generate Postman collections embedded in the documentation.
Examples
List available spaces:
Show me available Confluence spacesCreate API docs from Swagger:
Create API documentation in space DEV from http://localhost:3000/swagger.jsonCreate API docs from NestJS controller:
Create API documentation from src/controllers/dialer.controller.ts in space DEV with base URL https://api.example.comCreate docs from controller directory:
Create API documentation from src/controllers in space DEVUpdate API docs:
Update page 12345678 with latest API spec from /path/to/swagger.jsonUpdate from controller:
Update page 12345678 from src/controllers/dialer.controller.tsDevelopment
npm run dev # Run with ts-node
npm run build # Build to dist/
npm start # Run compiled version
npm run clean # Remove dist/Architecture
MCP Server
├── Parsers
│ ├── Swagger Parser Service
│ │ └── Parses OpenAPI specs from URLs or files
│ └── Controller Parser Service
│ └── Parses NestJS TypeScript controller files
├── Generators
│ ├── Doc Generator Service
│ │ └── Converts parsed specs to Confluence storage format
│ └── Postman Generator Service
│ └── Generates Postman Collection v2.1 JSON
├── Confluence Client Service
│ └── Handles Confluence REST API v2 calls
└── Tools
├── Space Management
├── Swagger-based Documentation
├── Controller-based Documentation
└── MaintenanceDual-Mode Pipeline
Both Swagger and Controller inputs converge to the same ParsedSwagger format, ensuring identical output documentation:
Swagger JSON/URL → Swagger Parser → ParsedSwagger ─┐
├→ Doc Generator → Confluence HTML + Postman JSON
NestJS Controller → Controller Parser → ParsedSwagger ┘Supported Swagger/OpenAPI Versions
OpenAPI 3.0.x
OpenAPI 3.1.x
Swagger 2.0
License
MIT
This server cannot be installed
Maintenance
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
- AlicenseAqualityDmaintenanceConverts REST API code (like NestJS controllers or FastAPI endpoints) to Postman collections and environments, helping developers automatically sync their API endpoints with Postman.29MIT
- Flicense-qualityDmaintenanceEnables AI models to interact with Confluence knowledge bases by searching, reading, and creating pages through the Confluence REST API. It provides a suite of tools for space management, document retrieval, and content creation, including a mock mode for local testing.
- FlicenseAqualityDmaintenanceEnables reading and analyzing Confluence documentation content through the Confluence REST API. Supports extracting and converting text, tables, code blocks, and images from Confluence pages for Q\&A and analysis.6
- AlicenseBqualityDmaintenanceAutomatically generates Postman collections from code directories by analyzing API endpoints and parameters, enabling easy testing, documentation, and sharing.143MIT
Related MCP Connectors
Generate AGENTS.md, AP2 compliance docs, checkout rules, debug playbook & MCP configs from any repo.
The document publishing layer for AI tools. Convert markdown to 6 destinations, 62 templates.
Software component catalog: search your org's services, docs, APIs, dependencies, and ownership.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/saleshandy/saleshandy-confluence-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server