An MCP (Model Context Protocol) server for exploring Atlassian resources like Confluence pages and Jira tickets.
bun installCreate a .env file or set the following environment variables:
ATLASSIAN_BASE_URL=https://your-domain.atlassian.net
ATLASSIAN_EMAIL=your-email@example.com
ATLASSIAN_API_TOKEN=your-api-tokenTo generate an API token:
- Go to https://id.atlassian.com/manage-profile/security/api-tokens
- Click "Create API token"
- Give it a name and copy the token
bun run buildbun run startOr with bun:
bun run index.tsAdd this to your Cursor MCP settings (~/.cursor/mcp.json):
{
"mcpServers": {
"atlassian": {
"command": "bun",
"args": ["run", "/path/to/atlassian-mcp/index.ts"],
"env": {
"ATLASSIAN_BASE_URL": "https://your-domain.atlassian.net",
"ATLASSIAN_EMAIL": "your-email@example.com",
"ATLASSIAN_API_TOKEN": "your-api-token"
}
}
}
}Retrieve a Confluence page by its ID.
Parameters:
pageId(required): The ID of the Confluence page to retrievebodyFormat(optional): The format for the page body. Options:storage,atlas_doc_format,view,export_view. Default:storage
Example usage:
Get the Confluence page with ID 12345
Search for Confluence pages using CQL (Confluence Query Language).
Parameters:
query(required): CQL query stringlimit(optional): Maximum number of results (default: 25)
Example CQL queries:
type=page AND space=MYSPACE- All pages in a spacetype=page AND text~"search term"- Pages containing texttype=page AND title~"Meeting Notes"- Pages with title containing textcreator=currentUser() AND created>=2024-01-01- Pages created by you this year
bun run devThis will recompile TypeScript files on changes.