Injectshield
Prompt-injection firewall for AI agents — scan untrusted text before LLM calls.
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.1.4
- Listing updated
- 5 days ago
About Injectshield
Injectshield is an open-source MCP server for ai models and llm tooling. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add injectshield --env INJECTSHIELD_API_KEY='<INJECTSHIELD_API_KEY>' -- npx -y @injectshield/mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"injectshield": {
"command": "npx",
"args": [
"-y",
"@injectshield/mcp"
],
"env": {
"INJECTSHIELD_API_KEY": "<INJECTSHIELD_API_KEY>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"injectshield": {
"command": "npx",
"args": [
"-y",
"@injectshield/mcp"
],
"env": {
"INJECTSHIELD_API_KEY": "<INJECTSHIELD_API_KEY>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"injectshield": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@injectshield/mcp"
],
"env": {
"INJECTSHIELD_API_KEY": "<INJECTSHIELD_API_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"injectshield": {
"command": "npx",
"args": [
"-y",
"@injectshield/mcp"
],
"env": {
"INJECTSHIELD_API_KEY": "<INJECTSHIELD_API_KEY>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"injectshield": {
"command": "npx",
"args": [
"-y",
"@injectshield/mcp"
],
"env": {
"INJECTSHIELD_API_KEY": "<INJECTSHIELD_API_KEY>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
INJECTSHIELD_API_KEYAPI key from https://injectshield.dev (free tier: 10K req/mo).RequiredINJECTSHIELD_API_BASEOverride the API base URL for self-hosted deployments.
Pricing
Open source
Prices change. Check injectshield.dev before you buy.
Injectshield FAQ
Is Injectshield free?
Yes. Injectshield is open source, so you can use and self-host it for free.
How do I add Injectshield to Claude Code?
Run this command in your terminal: claude mcp add injectshield --env INJECTSHIELD_API_KEY='<INJECTSHIELD_API_KEY>' -- npx -y @injectshield/mcp
What are the best alternatives to Injectshield?
The closest alternatives to Injectshield are Claude Code Ultimate Guide, signafAIde, Toolkien, Lugh and HypePaper.
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.
Alternatives to Injectshield

Claude Code Ultimate Guide
MCP serverMCP server for searching the Claude Code Ultimate Guide from any MCP client
Runs locally- Open source
- 6.5K GitHub stars
- AI models and LLM tooling

signafAIde
MCP serverLocal MCP server to set up, verify and check coverage of signed agent action records
Runs locally- 5 tools
- Freemium
- Security

Toolkien
MCP serverOne MCP gateway for all your MCP servers, with code mode, permissions and audit
Not checked yet- 3 tools
- Remote
- Open source
- AI models and LLM tooling
Lugh
MCP serverWrite, check and dry-run Lugh agent programs with policy, budgets and approvals
Runs locally- 5 tools
- Open source
- AI models and LLM tooling
HypePaper
MCP serverResearch papers, benchmarks, citations and topic experts for AI assistants
- 58 tools
- Remote
- Freemium
- AI models and LLM tooling

One compact entry point that finds, describes and runs hundreds of pay-per-call data tools
- 3 tools
- Remote
- Freemium
- Developer tools