by Olson3R
A Model Context Protocol (MCP) server that provides secure access to Atlassian Confluence through its REST API.
To use this MCP server with Claude Code, add it to your MCP configuration file:
The easiest way to add this server is using the claude mcp add-json
command:
# First, build the server npm run build # Then add it using claude mcp add-json claude mcp add-json confluence
When prompted, paste the following JSON configuration:
*Configuration content*
Alternatively, you can manually edit your MCP configuration file (~/.config/claude-code/mcp_servers_config.json
):
*Configuration content*
For development or if you prefer running TypeScript directly:
*Configuration content*
ALLOWED_SPACES
should be a comma-separated list of space keys you want to allow access tonpm run build
if using Option 1Once configured, you can use commands like:
Install dependencies:
npm install
Configure environment:
cp .env.example .env # Edit .env with your Confluence credentials
Build and run:
npm run build npm start
Or for development:
npm run dev
Create a .env
file with your Confluence credentials:
CONFLUENCE_BASE_URL=https://your-domain.atlassian.net CONFLUENCE_USERNAME=your-email@domain.com CONFLUENCE_API_TOKEN=your-api-token ALLOWED_SPACES=SPACE1,SPACE2,SPACE3 DEBUG=false
# Type checking npm run typecheck # Linting npm run lint # Testing npm test # Build npm run build
No version information available
0 contributors