Overview
Replace Jira and GitLab MCP servers in Claude Code with small project skills that tell Claude which command-line tool commands to run, after first checking how much context the servers really use.
Problem or Objective
More in Coding and Code Review
AI Agents and Models
Tools and Integrations
- Tools
- Claude Code · Jira · GitLab
- Prerequisites
- Claude Code with a supported account (check which plan you need) and command-line tools for your Jira and GitLab instances, installed and signed in with your own accounts.
How It Works
First check whether the MCP servers are a real cost in your setup: Claude Code's tool search, on by default, loads only tool names at session start, so compare context use with the servers connected and disconnected before changing anything. If you go ahead, install and sign in to the command-line tools you already use for Jira and GitLab, and note the handful of commands you need (list my issues, view one issue, list open merge requests, view a pipeline). For each task create a skill folder under .claude/skills/ with a SKILL.md: a description saying when to use it, and instructions listing the exact commands, the flags to use and how to summarise the output. Pre-approve only read-only commands in allowed-tools, so any command that creates, edits or transitions an issue or merge request still asks for your permission. Try each skill with /skill-name, then remove the MCP servers you no longer need with claude mcp remove and commit the skills so your team gets them.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up Claude Code.
- Connect the toolsConnect the tools this workflow relies on: Claude Code, Jira, GitLab.
- Check the prerequisitesClaude Code with a supported account (check which plan you need) and command-line tools for your Jira and GitLab instances, installed and signed in with your own accounts.
- Gather your detailsCollect what the prompt asks for: MCP servers to replace, Command-line tools and how they are invoked, Tasks you need, Kind of value Claude may fill in.
- Run the starter promptPaste the starter prompt below into Claude Code and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at code.claude.com before you rely on it.
Practical Starter Prompt: Turn my Jira and GitLab commands into skills
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
Create project skills in .claude/skills/ that replace my [MCP servers to replace] MCP servers. Use these command-line tools: [Command-line tools and how they are invoked]. Make one skill per task: [Tasks you need]. Each SKILL.md needs a clear description and the exact commands with fixed flags; only values like [Kind of value Claude may fill in] come from me. Pre-approve read-only commands in allowed-tools and nothing else, so any command that changes an issue or merge request asks me first. Show me each SKILL.md before you save it, and do not remove any MCP server until I say so.Measure context use before and after. Review each SKILL.md, keep write commands out of allowed-tools so they need your approval, and remove MCP servers only after the skills work.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. The skills page supports writing SKILL.md files that Claude uses when relevant, and says a skill's body loads only when it is used. The MCP page says tool search already keeps MCP context usage low by deferring tool definitions, so any saving depends on your configuration and should be measured, not assumed.
Limitations and Considerations
Keep write actions behind a permission prompt: pre-approve only commands that read. The command-line tools carry your own Jira and GitLab credentials, so their actions are yours; check their documentation for how they store tokens. Write the commands in the skill with fixed flags and let Claude fill only values such as an issue key, and review any command before approving it. Where tool search is off or unsupported, MCP tools load upfront and the trade-off differs. Results depend on your setup and were not independently reproduced by Top 200 Repos.
GitHub Repositories
AI Agent Repository
Source code of the agent that does the work.
Official Website
The official site of the main tool or project in this use case.
Visit Website (opens in a new tab)code.claude.com
Related Videos
About anthropics/claude-code
The SECRET Claude Code Upgrade That Has Everyone Going Nuts (Full Guide) (opens in a new tab)
The title names the project, the description links the project website.
Watch on YouTube (opens in a new tab)About anthropics/claude-code
The only Claude Code guide you'll ever need (Opus 4.5) (opens in a new tab)
The title names the project, the description links the project website.
Watch on YouTube (opens in a new tab)Independent creators. Listing a video implies no endorsement, sponsorship or partnership.
Sources
- Extend Claude with skills - Claude Code Docs (opens in a new tab)
Project documentation · code.claude.com · Undated · Source checked 27 Nov 2026, 05:34 UTC
What this source supports
- Create a SKILL.md file with instructions, and Claude adds it to its toolkit.
- Unlike CLAUDE.md content, a skill’s body loads only when it’s used, so long reference material costs almost nothing until you need it.
- Connect Claude Code to tools via MCP - Claude Code Docs (opens in a new tab)
Project documentation · code.claude.com · Undated · Source checked 25 Nov 2026, 12:10 UTC
What this source supports
- Tool search keeps MCP context usage low by deferring tool definitions until Claude needs them.
- Only tool names and server instructions load at session start, so adding more MCP servers has minimal impact on your context window.

