Dev.to
6/16/2026

# Building a Confluence MCP Server for Claude Code: From Setup to Skills
Short summary
A step-by-step guide to building an MCP server connecting Claude Code to Confluence for automated page publishing, content syncing, and image uploads from your terminal. Covers MCP architecture, credential management with Zod validation, Axios HTTP client setup, and server registration with Claude Code. Includes complete project structure with code examples and tool definitions for connection testing, page management, publishing, and workflow automation.
- •Build an MCP server to integrate Confluence directly into Claude Code
- •Learn three-layer architecture: server registration, tool definitions, and REST API calls
- •Use Zod for environment validation and Axios for secure Confluence API access
Generated with AI, which can make mistakes.
Is this a good recommendation for you?


