jailbreak-mcp
Break free of your MCP Client constraints đŠč
Install / Use
claude mcp add kranners -- npx -y github:kranners/jailbreak-mcpIf the server publishes to npm under a different name, use that package instead â check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
AI & Machine LearningSupported Platforms
Tags
Our assessment of jailbreak-mcp
jailbreak-mcp scores 72/100 on our quality scale, 880th of 965 AI & Machine Learning skills we index.
Its MCP Server is 6.4 KB long, well organised into 10 sections with 5 code examples: a thorough specification that gives an agent plenty to work with.
It has 10 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated about 8 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
- Our last check on 2026-09-29 found the source still online.
- It is released under GPL-3.0, a copyleft license: you can use it, but modified versions you distribute must carry the same license.
- Its trust signals score 86/100, with 2 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit â read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-09-24. Automated pattern scan on 2026-09-24. It catches known dangerous patterns, not every risk â read a skill before letting an agent act on it.
jailbreak-mcp compared with similar skills
All 4 of these similar skills score higher than jailbreak-mcp; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| jailbreak-mcp (this skill)by kranners | 72 | 10 | 8mo ago | MCP Server |
| claude-memby thedotmack | 100 | 113.5k | today | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 109.2k | today | CLAUDE.md |
| Understand-Anythingby Egonex-AI | 100 | 90.9k | 10d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 78.9k | today | CLAUDE.md |
Frequently asked questions
- How do I install jailbreak-mcp?
- Run
claude mcp add kranners -- npx -y github:kranners/jailbreak-mcp. The install tabs above show the steps for each supported agent. - Which AI agents does jailbreak-mcp work with?
- It is written for Claude Code, Claude Desktop and Cursor, as a MCP Server file. Other agents that read the same format can often use it too.
- Is jailbreak-mcp safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is GPL-3.0-licensed and scores 86/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is jailbreak-mcp still maintained?
- The repository was last updated about 8 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
Skill content
View source on GitHubjailbreak-mcp
[!IMPORTANT] This tool existed to fill a few functional gaps in existing MCP clients like Cursor or Claude Desktop, and is now antiquated as these tools implement it themselves.
The idea was to create a middleware MCP server & client which could whitelist or blacklist unwanted tools to save on context window, and to expose resources & prompts as tools.
A MCP server wrapper for using the entire Model Context Protocol without tool limits, missing concepts, or context overload.
Why does this exist?
MCP servers could be âš amazing âš but using them comes with a few caveats.
Your client is probably missing most of the actual protocol. There are many capabilities listed in the MCP:
- Tools, which are like functions.
- Resources, which are like values.
- Prompts, which are prompts.
As of writing, almost no MCP client (Cursor, Claude Desktop, Cherry Studio) implements all of them. If you are a Cursor user, you can only use tools.
See the Model Context Protocol documentation to see what your MCP client of choice is lacking.
Admittedly this isn't the biggest deal - most servers just use tools anyway. This may become a bigger deal in future if more servers start to implement more of the protocol.
[!WARNING] This bit isn't done yet! It's currently tools only.
Jailbreak-MCP remedies this by exposing configured resources and prompts as tools, so even the most restrictive implementations are fully usable.
MCP servers fill the context window
The more tools you have configured, the more your MCP servers are taking up of the all-important context window of your agent.
If you wanted to use tools or information from multiple MCP servers at once, your context window becomes very small very fast.
To remedy this, some clients have implemented warnings about having too many tools configured at once. Cursor has implemented a hard restriction of 40 tools, but hides which tools are disabled at any given moment.
Some servers expose many tools at the same time. The GitHub MCP server alone fills the entire Cursor tool cap.
The best thing you can do currently is manually enable and disable which MCP servers you want to have turned on at any given moment.
JailbreakMCP fixes this by providing configurable "modes" which expose only the exact tools and resources you need to do a given task, and tools to switch between modes on the fly.
Installation
Example installation will be assuming you're using Cursor.
- Start by making a backup of your current
mcp.jsonfile.
[!TIP] The default location is
~/.cursor/jailbreak.mcp.json. To rename your existing Cursor config:mv ~/.cursor/mcp.json ~/.cursor/jailbreak.mcp.json
- Create a new
mcp.jsonfile where the old one was, with these contents:
{
"mcpServers": {
"jailbreak": {
"command": "npx",
"args": [
"jailbreak-mcp@latest",
"/optional/path/to/jailbreak.mcp.json",
],
"env": {
"CONFIG_PATH": "/optional/path/to/jailbreak.mcp.json"
}
}
}
}
The server will prefer arguments over environment variables over
~/.cursor/jailbreak.mcp.json.
- From here, you need to configure a
defaultmode.
{
"mcpServers": {
...
},
"modes": {
"default": {
"everything": {
"tools": [
"echo",
"add",
"longRunningOperation"
],
"prompts": [
"simple_prompt",
"complex_prompt",
"resource_prompt"
],
"resources": [
"test://static/resource/1",
"test://static/resource/2"
]
},
"time": true
}
}
}
Configuration
Modes
Each mode is a whitelist of available servers, and any particular tools/prompts/capabilities to allow.
Modes are key/value pairs under the modes key in the config.
{
"mcpServers": {
...
},
"modes": {
"default": {
...
},
"anotherModeName": {
...
}
}
}
Under each mode are keys of the names of the servers to allow (the same name as
defined under mcpServers).
To allow everything for a given server, set its value to true.
{
"modes": {
"admin": {
"email": true,
"slack": true,
"time": true,
}
}
}
To be more specific, specify which tools, prompts, and resources you want as a list of names or resource URIs.
{
"modes": {
"admin": {
"time": true,
"email": {
"tools": [
"read_email",
"send_email",
"list_inbox"
]
},
"slack": {
"tools": [
"slack_list_channels",
"slack_get_channel_history",
"slack_get_thread_replies",
"slack_get_users",
"slack_get_user_profile"
]
},
"everything": {
"tools": [
"echo",
"add",
"longRunningOperation"
],
"prompts": [
"simple_prompt",
"complex_prompt",
"resource_prompt"
],
"resources": [
"test://static/resource/1",
"test://static/resource/2"
]
},
}
}
}
TODO
Need to:
- [x] Read in the config file (mcp.json), can take in an argument or a env var
- [x] Validate it's in the correct format (zod schema)
Startup
- [x] Load a new client for each MCP entry
- [x] List all tools
- [x] Add all those to a register
- [ ]
create-jailbreakpackage fornpm init jailbreaksetup
Runtime
- [x] Expose that list via the tools endpoint
- [x] Take in commands
- [x] Forward them through to the respective MCP server
- [x] Forward the results back
Support
- [ ] Update transport command to support Nix, fnm, etc
- [x] Update connections to pass through MCP host environment (is this needed?)
- [ ] Update tools to support dynamic tools, eg changing
Spice
- [x] CI & releases
- [ ] Support SSE servers
- [x] Also load all prompts & resources
- [x] Optionally exclude or prefer tools
- [ ] Expose all of the other things as well
- [ ] Instructions, dynamic?
- [ ] Templatable help message?
Related Skills
claude-mem
113.5kPersistent Context Across Sessions for Every Agent â Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Agent-Reach
109.2kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu â one CLI, zero API fees.
Understand-Anything
90.9kGraphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
headroom
78.9kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit â see the Safety scan above for what the skill file itself contains.
