epik-gh
A GitHub MCP server that wraps the gh CLI to expose GitHub operations like issues, pull requests, branches, labels, repositories, CI actions, and Projects V2 as tools for MCP clients.
README
EpikMCP
EpikMCP is the single MCP for Epik. It exposes its functionality through two internal modules:
- plan — GitHub access via the
ghCLI. Read and write issues, relationships, projects, labels and repos, plus read-only access to pull requests and CI runs. - build — launch feature builds via Anthropic. Fires a saved Claude Code routine to start a remote feature build.
An MCP client (such as Claude) calls these tools directly. Tools are registered
under the mcp__epik-mcp__* prefix.
Module and tool layout
plan / GitHub (via gh)
All plan tools run through the gh CLI, so they operate with whatever GitHub
account gh auth login has authenticated.
- Issues (
issues)issue_list— list issues in a repositoryissue_get— get a single issueissue_create— create an issueissue_edit— edit an issueissue_close— close an issueissue_reopen— reopen an issueissue_comment— comment on an issue
- Relationships (
relationships)issue_set_blocked_by— mark an issue as blocked by anotherissue_remove_blocked_by— remove a blocked-by relationshipissue_list_relationships— list an issue's relationshipsissue_add_sub_issue— add a sub-issueissue_remove_sub_issue— remove a sub-issue
- Projects V2 (
projects)project_list_items— list project itemsproject_get_item— get a single project itemproject_set_status— set an item's statusproject_invalidate_cache— invalidate the cached project IDs
- Labels (
labels)label_list— list labelslabel_create— create a labellabel_delete— delete a label
- Repositories (
repos)repo_get— get repository metadatarepo_default_branch— get the default branch
- Pull requests (
prs, read-only)pr_list— list pull requestspr_get— get a single pull request
- CI / Actions runs (
runs, read-only)run_list— list workflow runsrun_get— get a single runrun_logs— fetch run logs
- Raw passthrough (
raw)gh_raw— run a rawghsubcommand
- Feature status (
feature_status)feature_status— aggregate the plan-side status of a feature
build / Anthropic
- Feature launch (
feature_launch)feature_launch— start a remote feature build
See Build module: feature_launch below for the
one-time routine setup and required environment variables.
Prerequisites
- Python 3.11+
uv(recommended) or pipghCLI installed and authenticated (gh auth login) for the plan module
Installation
Run directly with uvx
uvx --from git+https://github.com/wpm/EpikMCP.git epik-mcp
Install as a uv tool
uv tool install git+https://github.com/wpm/EpikMCP.git
Or clone and install locally:
git clone https://github.com/wpm/EpikMCP.git
cd EpikMCP
uv tool install .
With pip
pip install git+https://github.com/wpm/EpikMCP.git
Configuring as a CoWork / Claude MCP server
Add the following to your Claude MCP config (for example,
~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"epik-mcp": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/wpm/EpikMCP.git",
"epik-mcp"
],
"env": {
"EPIK_ROUTINE_ID": "<your-routine-id>",
"EPIK_ROUTINE_TOKEN": "<your-routine-token>"
}
}
}
}
If you installed the epik-mcp command as a uv tool instead, you can point the
config directly at the binary:
{
"mcpServers": {
"epik-mcp": {
"command": "/Users/YOUR_USERNAME/.local/bin/epik-mcp",
"env": {
"EPIK_ROUTINE_ID": "<your-routine-id>",
"EPIK_ROUTINE_TOKEN": "<your-routine-token>"
}
}
}
}
Confirm the binary path with:
which epik-mcp
The build-module env vars are only needed if you intend to use feature_launch.
Authentication
EpikMCP keeps the two modules' authentication separate:
-
plan module delegates all authentication to the
ghCLI. Before using the plan tools, make sure you are logged in:gh auth loginTo verify:
gh auth status -
build module uses the routine environment variables (
EPIK_ROUTINE_IDandEPIK_ROUTINE_TOKEN) described below. It does not use theghCLI.
Build module: feature_launch
The build module is the Anthropic-side half of Epik. It keeps its auth and state
separate from the gh CLI used by the plan module. The feature_launch
tool starts a remote feature build by firing a saved
Claude Code routine via the routines API.
When called with a feature issue number plus a base and target branch, it POSTs to the routine's fire endpoint and returns the URL of the cloud session it started.
One-time routine setup
- In the Claude Code web UI, create a routine (for example, a "feature runner") that builds a feature when given a feature command.
- Add an API trigger to the routine. Its prompt should be the feature-command
body (the instruction your build follows).
feature_launchsends the feature issue number and branches as the trigger'stext. - Enable "Allow unrestricted branch pushes" for the repository so the routine can push the build branch.
- Copy the routine's id and its API token — you'll set these as env vars.
Required environment variables
These are read on every call and must be set in the environment the MCP server runs in:
| Variable | Description |
|---|---|
EPIK_ROUTINE_ID |
The Claude Code routine id whose fire endpoint is called. |
EPIK_ROUTINE_TOKEN |
The routine API bearer token. |
If either is missing or empty, feature_launch raises a clear validation error
naming the missing variable. Non-2xx responses and connection failures also raise
clear errors.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。