spike-mcp

spike-mcp

Connects Claude to Jira and Confluence for researching, designing spike docs with Mermaid diagrams, writing Confluence pages, and creating Jira tickets.

Category
访问服务器

README

spike-mcp

PyPI Python

MCP server that connects Claude to Jira and Confluence. Engineers can research spikes, generate technical solutions with Mermaid architecture diagrams, write Confluence docs, and create Jira epic + story breakdowns through natural conversation — no Anthropic API key required.


Features

  • Research — search Confluence and Jira before generating anything
  • Design — produce Mermaid architecture/flow diagrams as part of every spike doc
  • Write — create or update Confluence pages (markdown + Mermaid → Confluence storage format)
  • Ticket — create Jira Epics, Stories with acceptance criteria, and Tasks; supports both next-gen and classic projects
  • Zero LLM cost — Claude itself provides all intelligence; no separate AI API key needed

Installation

pip install spike-mcp
# or
uv add spike-mcp

Setup

Step 1 — Create ~/.spike.toml

Create ~/.spike.toml in your home directory with your Atlassian details:

# macOS / Linux
touch ~/.spike.toml
[atlassian]
base_url = "https://yourorg.atlassian.net"
email    = "you@yourorg.com"

[confluence]
# If your Confluence is on a different domain than Jira, set this:
# base_url = "https://yourorg-docs.atlassian.net"
space_key      = "ENG"
parent_page_id = "123456"

[jira]
project_key        = "PLAT"
epic_issue_type    = "Epic"
story_issue_type   = "Story"
task_issue_type    = "Task"
default_label      = "spike"
story_points_field = "customfield_10016"
epic_link_field    = "customfield_10014"

[tickets]
story_point_scale = [1, 2, 3, 5, 8, 13]

Tip: Config is also discovered automatically in your project root or any parent directory up to the git root — useful when running spike-mcp from a specific repo. The search order is: current directory → git root walk-up → ~/.spike.toml.

Org-specific required fields

Some Jira projects enforce mandatory custom fields (e.g. Account, Tier, Work type). Add them under [jira.required_fields] and they will be merged into every ticket created:

[jira.required_fields]
customfield_11139 = 15                  # plain integer (check your field type)
customfield_11518 = { id = "12203" }    # single select
customfield_11664 = [{ id = "13089" }]  # multi-select (array)

To find the correct field IDs and allowed values for your project, call the Jira create-meta API:

GET /rest/api/3/issue/createmeta?projectKeys=PROJ&issuetypeNames=Epic&expand=projects.issuetypes.fields

Step 2 — Set your API token

Generate an Atlassian API token at https://id.atlassian.com/manage-profile/security/api-tokens and export it:

export ATLASSIAN_API_TOKEN="your-token-here"

Never put the token in .spike.toml — it is read exclusively from the environment.


Connect to Claude

spike-mcp works with both Claude Desktop (GUI app) and Claude Code (CLI). Follow the guide for whichever you use — or both.


Option A — Claude Desktop

Step 1 — Find the config file

Platform Path
macOS ~/Library/Application Support/Claude/claude_desktop_config.json
Windows %APPDATA%\Claude\claude_desktop_config.json

Step 2 — Add spike-mcp to mcpServers

{
  "mcpServers": {
    "spike-mcp": {
      "command": "spike-mcp",
      "env": {
        "ATLASSIAN_API_TOKEN": "your-token-here"
      }
    }
  }
}

macOS/Homebrew tip: If spike-mcp is not on your PATH, use the full binary path:

"command": "/opt/homebrew/bin/spike-mcp"

Run which spike-mcp in your terminal to find the path.

Step 3 — Restart Claude Desktop

Quit and reopen the app. A hammer icon (🔨) in the toolbar confirms the tools are active.


Option B — Claude Code (CLI)

Step 1 — Add spike-mcp globally

Run this once so the server is available in every project:

claude mcp add spike-mcp spike-mcp -s user -e ATLASSIAN_API_TOKEN="your-token-here"

macOS/Homebrew tip: Use the full path if spike-mcp is not on your PATH:

claude mcp add spike-mcp /opt/homebrew/bin/spike-mcp -s user -e ATLASSIAN_API_TOKEN="your-token-here"

Step 2 — Verify the connection

claude mcp list

You should see:

spike-mcp: /opt/homebrew/bin/spike-mcp  - ✓ Connected

Step 3 — Start a new Claude Code session

MCP servers are loaded at session start. Open a fresh session in any directory and spike-mcp tools will be available automatically.


Example conversations

Start a spike session by invoking the workflow prompt at the top of your conversation:

/mcp__spike-mcp__spike_workflow

Then talk naturally:

  • "I need to spike on replacing our job queue with Temporal. Research what we have, design a solution with a diagram, write a spike doc in Confluence under the Platform space, then create an epic and stories in the PLAT project."
  • "Search Confluence for our auth service architecture and summarise what you find."
  • "Break down the spike doc you just wrote into Jira tickets — 1 epic, stories with acceptance criteria, fibonacci points."
  • "What Jira tickets are open in PLAT related to observability?"

Tools

Tool Inputs Description
search_confluence query, space_key?, limit? CQL full-text search across Confluence
get_confluence_page page_id Fetch full page content by ID
search_jira query, project_key?, limit? JQL full-text search across Jira
write_spike_doc title, body_markdown, space_key?, parent_page_id? Create a Confluence page (markdown + Mermaid → storage format)
create_epic summary, description, project_key?, label? Create a Jira Epic
create_story epic_key, summary, description, acceptance_criteria, story_points?, project_key?, label? Create a Jira Story linked to an Epic
create_task epic_key, summary, description, project_key?, label? Create a Jira Task linked to an Epic
get_project_config Show current config targets (API token redacted)

Configuration reference

All fields in .spike.toml:

Field Required Description
atlassian.base_url Yes Your Atlassian Cloud domain, e.g. https://myorg.atlassian.net
atlassian.email Yes Your Atlassian account email
confluence.base_url No Override if Confluence is on a different domain than Jira
confluence.space_key No Confluence space key for new spike docs, e.g. ENG
confluence.parent_page_id No Page ID to nest new docs under
jira.project_key No Jira project key, e.g. PLAT
jira.epic_issue_type No Issue type name for epics (default: Epic)
jira.story_issue_type No Issue type name for stories (default: Story)
jira.task_issue_type No Issue type name for tasks (default: Task)
jira.default_label No Label applied to all created tickets (default: spike)
jira.story_points_field No Custom field ID for story points; varies per instance
jira.epic_link_field No Custom field ID for epic link; classic projects only
jira.required_fields No Org-specific mandatory fields merged into every create call
tickets.story_point_scale No Fibonacci scale used when prompting for estimates

Contributing

git clone https://github.com/de-cryptor/spike-mcp
cd spike-mcp
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
pytest

License

MIT — see LICENSE.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选