atlassian-browser-mcp
Browser-backed MCP wrapper for mcp-atlassian with Playwright SSO auth. Enables AI tools to access Atlassian Server/Data Center instances behind corporate SSO (Okta, SAML, ADFS) where API tokens are not available
README
atlassian-browser-mcp
MCP server that wraps the upstream mcp-atlassian toolset with browser-cookie authentication via Playwright. Designed for Atlassian Server/Data Center instances behind corporate SSO (Okta, SAML, etc.) where API tokens are not available.
How it works
- On first use (or when the session expires), Playwright opens a real Chromium window for manual SSO/MFA
- After login, cookies are saved to a Playwright storage-state file
- All subsequent MCP tool calls use those cookies via a custom
requests.Sessionsubclass - If an API response looks like an SSO redirect, the browser reopens automatically
The server monkey-patches JiraClient and ConfluenceClient constructors in mcp-atlassian to inject the browser-backed session, giving full parity with the upstream tool surface (72 tools + 1 atlassian_login helper = 73 total).
Files
| File | Purpose |
|---|---|
atlassian_browser_mcp_full.py |
Entrypoint. Patches upstream clients, registers atlassian_login tool, runs the MCP server |
atlassian_browser_auth.py |
Shared auth: BrowserCookieSession, interactive_login(), SSO detection |
run-atlassian-browser-mcp.sh |
Launcher: creates venv, installs deps via uv, runs compatibility check, starts server |
pyproject.toml |
Dependency pins |
Usage
./run-atlassian-browser-mcp.sh
Or configure as an MCP server in your editor (Cursor, Claude Code, etc.) pointing to the launcher script.
Environment variables
| Variable | Default | Description |
|---|---|---|
JIRA_URL |
(required) | Jira base URL (e.g. https://jira.example.com) |
CONFLUENCE_URL |
(required) | Confluence base URL (e.g. https://confluence.example.com) |
ATLASSIAN_BROWSER_AUTH_ENABLED |
true |
Enable browser auth (set false to fall back to token auth) |
ATLASSIAN_BROWSER_PROFILE_DIR |
./.atlassian-browser-profile |
Persistent Chromium profile directory |
ATLASSIAN_STORAGE_STATE |
./.atlassian-browser-state.json |
Playwright storage-state file |
ATLASSIAN_LOGIN_TIMEOUT_SECONDS |
300 |
Seconds to wait for manual login |
ATLASSIAN_USERNAME |
(none) | Optional: prefill username on SSO page |
ATLASSIAN_SSO_MARKERS |
(auto) | Comma-separated URL/text markers for SSO redirect detection. Defaults cover Okta, ADFS, Azure AD, PingOne, Google SAML |
TOOLSETS |
all |
Which upstream toolsets to enable |
Requirements
- Python 3.12+
- uv (for dependency management)
- Chromium (installed automatically by Playwright)
- Network access to your Atlassian instance
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.