Confluence MCP Server
Confluence MCP server providing API tools for Atlassian Confluence operations including page management, space handling, and content search with built-in rate limiting and error handling.
Overview
Confluence MCP Server is a Model Context Protocol (MCP) server implementation for Atlassian Confluence, designed to facilitate interaction with Confluence content through the MCP protocol, enabling AI agents to work seamlessly with Confluence.
To use the Confluence MCP Server, clone the repository, install the dependencies, configure the environment variables, and run the server locally or deploy it to Cloud Run.
- Search pages and spaces using Confluence Query Language (CQL) - List all available Confluence spaces - Create, read, update, and delete Confluence pages - Rich metadata support for Confluence resources - Flask-based server for easy deployment to Cloud Run - MCP tools for AI agent integration
- Automating content management in Confluence.
- Integrating AI agents for enhanced content interaction.
- Building applications that require dynamic access to Confluence data.
Add to your AI client
Use these steps to connect Confluence MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"confluence-mcp-server-pawankumar94": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-confluence-mcp-server-pawankumar94"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"confluence-mcp-server-pawankumar94": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-confluence-mcp-server-pawankumar94"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"confluence-mcp-server-pawankumar94": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-confluence-mcp-server-pawankumar94"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"confluence-mcp-server-pawankumar94": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-confluence-mcp-server-pawankumar94"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"confluence-mcp-server-pawankumar94": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-confluence-mcp-server-pawankumar94"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"confluence-mcp-server-pawankumar94": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-confluence-mcp-server-pawankumar94"
]
}
}
}FAQ
How do I get an access token for Confluence?
Log in to your Atlassian account, go to Account Settings > Security > Create and manage API tokens, and create a new API token.
Can I run this server locally?
Yes! You can run the server locally by executing the provided Python script after setting up the environment.
Is there support for error handling?
Yes, all tools include proper error handling and return appropriate error messages.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":3828,"uuid":"1ce811a2-abfa-487e-aa97-e70ab219dfa3","name":"confluence-mcp-server","title":"Confluence MCP Server","description":"Confluence MCP server providing API tools for Atlassian Confluence operations including page management, space handling, and content search with built-in rate limiting and error handling.","avatar_url":"https://avatars.githubusercontent.com/u/44362349?v=4","created_at":"$D2025-03-21T22:36:19.948Z","updated_at":"$D2025-03-21T22:39:13.104Z","status":"created","author_name":"pawankumar94","author_avatar_url":"https://avatars.githubusercontent.com/u/44362349?v=4","tags":"vertex,confluence-server,generativeai,gemini-pro,modelcontext","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/pawankumar94/confluence-mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"2\",\"license\":\"\",\"language\":\"Python\",\"is_official\":false,\"latest_commit_time\":\"2025-03-25 17:54:05\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]