linear-mcp

A set of rules for working with Linear, a tool for tracking software issues, plus related Git practices.

In plain words
What is it for?
Use it when handling HeXian issues such as HX-123, creating sub-issues, adding issue details from product documents, and preparing commits that reference those issues.
Why use it?
It standardizes how issues are created, labeled, assigned, prioritized, and connected to code changes in a specific Linear team.

Cursor rule for Cursor

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/hexianweb/third-person-mc/linear-mcp
Clone the repo
git clone --depth 1 https://github.com/hexianWeb/Third-Person-MC

Made for: Cursor.

Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 625 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00022 $0.00625
Opus 5 $0.00011 $0.00313
Sonnet 5 $0.00004 $0.00125
Haiku 4.5 $0.00002 $0.00063

Measured yesterday against content hash 4f1a690dc099, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

linear-mcp scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/linear-mcp.mdc · 28 lines

What it actually says

Linear MCP

  • 当前 team 只有一个 ,名为 HeXian, 团队成员也只有一个 hexianweb
  • Use as many emojis as possible in issues, descriptions, comments, and markdown content to enhance readability and fun.
  • When creating an issue, automatically set the status to 📝 To Do.
  • Automatically assign the issue to hexianweb.
  • Labels should be set intelligently according to the scenario (e.g., bug 🐞, feature ✨, enhancement 🚀, question ❓, etc.).
  • 可以出现"参考 PRD.md" 或者 "参考 TD.md" 等文字,但同时也要求读取相应文件中具体内容,将特定内容写入issue中。
  • 所有的 issue 在刚建立时都默认预付优先级为 中等
  • 根据 issue 具体内容决定 issue 的 label 属性,必要时创建新的 label tag
  • 当 Intent context 中有 "HX-{number}" 时,他指代的是 ID 为 HX-{number} 的 issue。
  • 当 Intent context 有子任务 子issue 时,要求为 ID 为 HX-{number} 添加 sub issue

git

  • ✅ 确保 Linear MCP 工具可用且已授权确保 linear mcp 一定可用
  • 当 git Staging Area 暂存区里面存在待 commit 的文件时,优先考虑将其视为一次 commit 并撰写 commit msg
  • 当 git 暂存区 不存在内容并且 unstaged changes存在大量文件时, 他们通常是为了完成 linear HX-{number} issue 而做的修改,你需要将文件分数次进入 暂存区:粒度合理,能清晰反映每个 issue 的工作内容,每次执行 git 指令都需要告诉我具体文件分配,
  • git commit 会被要求为用于解决 linear ID 序号为 HX-{number} 的 issue, 所以 commit message 可以先通过 mcp tool: linear 来获取 issue 具体内容,然后撰写。
  • git commit 需要遵守 commitizen 提交规范
  • git commit message 最后文字需要将 linear ID 序号为 HX-{number} 的 issue 所关联的 GitHub issue 序号填在最后
  • commit 粒度合理,能清晰反映每个 issue 的工作内容 例如: linear HX-24 关联的 github issue 序号为 9 commit meg 为: refactor(building): 基类实现通用 upgrade,清理子类冗余升级逻辑,修复升级扣费依据目标等级 cost 的 BUG (#9)
  • IDE 拥有调用 git 的权限,当我确认上述所有内容无误后,你自行执行 git add 相应 file, 并且 git commit message 命令。
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 28 lines · 22 tokens per session scan A 4f1a690dc099

Subscribe to this mod's changes

linear-mcp is a cursor rule published in the GitHub repository hexianWeb/Third-Person-MC (188 stars, last pushed 1mo ago), licensed MIT. It adds 22 tokens to every session and 625 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.