← 返回案例库
CUSTOMER STORY · 多模型统一接入与成本控制

Jira 和 GitLab 的 MCP 太费 token?换成命令行技能

Replace token-heavy Jira and GitLab MCPs with CLI skills

Tools · 使用工具Claude Code
Source · 来源原作者 · Hacker News
Zaowuyun · 可参考能力Token Hub + 私有化部署
01

谁在用

Who

一位开发者。

02

遇到什么问题

Challenge

Jira 和 GitLab 的 MCP 消耗大量 token。

03

怎么用 AI 解决

Solution
  1. 改装 Atlassian 和 GitLab 的命令行工具。
  2. 让 Claude 递归运行每个命令的 --help,把所有可用操作存成独立 Markdown 文件。
  3. 做成两个轻量插件 acli-skills 和 glab-skills,智能体不必每次重新摸索命令。
04

结果如何

Results据原作者自述
  • 作者称插件实现了 MCP 的功能,token 消耗显著降低
  • 没有具体数字;两个仓库已开源;作者认为 MCP 仍适合快速原型和内部工具

以上内容均由原作者自行报告,未经独立核实,也不代表造物云产品的效果。

05

提示词

Prompt

参考提示词(由 agentusecases.ai 整理为模板,非原帖原文)

中文

我在用【Jira、GitLab 或其他】的命令行工具,想用轻量技能替代耗 token 的 MCP。对该命令及子命令运行 --help,写一个 Markdown 技能文件,列出我需要的常用操作,例如【创建工单、列出合并请求】。

ENGLISH

I use the [Jira, GitLab, or other] command line tool and want to replace its token-heavy MCP server with a lightweight skill. Run --help on the CLI and its subcommands, then write a Markdown skill file listing the common actions I need, such as [create ticket, list merge requests, comment], with exact example commands. Stop when the skill works on one real read-only task, and ask me before running any command that creates, changes or deletes anything.