Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 29, 2026

Adds Model Context Protocol (MCP) server to expose Confluence API to AI assistants (Claude Desktop, M365 Copilot, etc.).

Implementation

New Project: Dapplo.Confluence.McpServer

  • .NET 10.0 console app for cross-platform support
  • JSON-RPC 2.0 over stdio implementing MCP protocol spec
  • Reflection-based access to internal Clause type for CQL query construction

MCP Tools Exposed (6)

  • confluence_search - CQL-based content search with pagination
  • confluence_get_page - Retrieve by ID or title+spaceKey
  • confluence_create_page - Create with optional parent hierarchy
  • confluence_update_page - Version-controlled updates
  • confluence_list_spaces - List accessible spaces
  • confluence_get_user_info - Current user info

Configuration

  • Bearer token (recommended) or basic auth
  • appsettings.json or environment variables (CONFLUENCE_* prefix)
  • .gitignore rules for secret management

Integration 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:

  • Teams AI Library bridge (current)
  • Power Platform custom connector wrapper
  • Direct plugin support (future)

See QUICKSTART.md for setup and README.md for detailed integration patterns.

Original prompt

This section details on the original issue you should resolve

<issue_title>Add MCP server</issue_title>
<issue_description>Add a new project to the solution, which provides an MCP server for the Confluence functionality.
Use .NET 10 so it could be used on any system supported by this, make it scalable and use standard practises.

Include instructions on how this could be integrated to M365 copilot.</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Co-authored-by: Lakritzator <708125+Lakritzator@users.noreply.github.com>
Copilot AI and others added 2 commits January 29, 2026 14:19
Co-authored-by: Lakritzator <708125+Lakritzator@users.noreply.github.com>
Co-authored-by: Lakritzator <708125+Lakritzator@users.noreply.github.com>
Copilot AI changed the title [WIP] Add MCP server for Confluence functionality Add MCP server for AI assistant integration with Confluence Jan 29, 2026
Copilot AI requested a review from Lakritzator January 29, 2026 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add MCP server

3 participants