Add MCP server for AI assistant integration with Confluence #73
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds Model Context Protocol (MCP) server to expose Confluence API to AI assistants (Claude Desktop, M365 Copilot, etc.).
Implementation
New Project:
Dapplo.Confluence.McpServerClausetype for CQL query constructionMCP Tools Exposed (6)
confluence_search- CQL-based content search with paginationconfluence_get_page- Retrieve by ID or title+spaceKeyconfluence_create_page- Create with optional parent hierarchyconfluence_update_page- Version-controlled updatesconfluence_list_spaces- List accessible spacesconfluence_get_user_info- Current user infoConfiguration
appsettings.jsonor environment variables (CONFLUENCE_*prefix).gitignorerules for secret managementIntegration Examples
Claude Desktop:
{ "mcpServers": { "confluence": { "command": "dotnet", "args": ["run", "--project", "/path/to/Dapplo.Confluence.McpServer/..."], "env": { "CONFLUENCE_ConfluenceUrl": "https://company.atlassian.net", "CONFLUENCE_BearerToken": "..." } } } }M365 Copilot:
See
QUICKSTART.mdfor setup andREADME.mdfor detailed integration patterns.Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.