Skip to main content

Model Context Protocol (MCP) Server for AI Data Privacy: LLM prompt firewall, audit logs, and 27 tools for Claude, Cursor, and Windsurf.

Project description

โšก AgenticStore MCP Server: LLM Prompt Firewall & AI Security Toolkit

Open-Source Model Context Protocol (MCP) Server for Data Privacy, Prompt Recording, Audit Logs, and 27+ Agent Tools for Claude, Cursor, and Windsurf.

License: MIT Python 3.12+ MCP Compatible PyPI

๐Ÿš€ Quick Start โ€ข ๐Ÿ›ก๏ธ Prompt Firewall โ€ข ๐Ÿ—‚๏ธ Full Tool Directory โ€ข ๐ŸŒ Web Search โ€ข ๐Ÿ”Œ Client Setup โ€ข ๐Ÿ–ฅ๏ธ GUI Webapp


๐Ÿ”’ Why You Need This: Enterprise-Grade AI Security Meets Autonomous Agents

You are building the future using autonomous AI coding assistants and agents like Claude Code, Cursor, and Windsurf. Giving them access to the web, your codebase, and persistent memory is a superpower, but passing sensitive enterprise data directly to remote LLM APIs presents a massive security risk. You need comprehensive AI Data Loss Prevention (DLP) and AI security. You demand clear audit traces for AI usage and strict prompt recording to ensure compliance and prevent critical data leaks.

AgenticStore MCP Server solves both halves of the equation.

First, it acts as an LLM Prompt Firewall, establishing a secure local proxy to intercept, scan, and sanitize any prompts leaving your system to guard against prompt injection and data leaks. Secure your agentic workflows with structured prompt recording and generate clear audit traces for AI usage. Flag leaked secrets, PII, and API keys, and use local LLM models (like Ollama) to sanitize your data before it reaches the cloud.

Second, it provides a robust, production-ready Model Context Protocol (MCP) Toolkit, arming your AI assistants with 27 specific tools ranging from self-hosted SearXNG web search to deep persistent semantic memory.

Configure your MCP server tools manually or effortlessly through a beautiful local GUI. Zero subscriptions. Zero vendor lock-in.

๐ŸŽฅ Prompt Firewall Demo

Your browser does not support the video tag. Take a look at the Prompt Firewall Demo video here.
(If the video above doesn't load, click here to watch the demo)



๐ŸŽฅ Watch the GUI Demo in Action (MCP Tools)
Your browser does not support the video tag. Take a look at the AgenticStore MCP GUI Demo video here.
(If the video above doesn't load, click here to watch the demo)




๐Ÿ—๏ธ How It Works

AgenticStore Architecture

๐Ÿ”ฅ Why Choose AgenticStore MCP?

Feature AgenticStore MCP Server Standard MCP Servers
AI Security & Prompt Firewall ๐Ÿ›ก๏ธ Yes (Proxy & Rule-based DLP) โŒ No
Audit Traces & Logs ๐Ÿ“ Yes (Prompt recording & compliance) โŒ No
Local LLM Prompt Sanitization ๐Ÿฆ™ Yes (Ollama integration) โŒ No
Persistent Agent Memory ๐Ÿง  Yes (survives restarts & sessions) โŒ No
Agentic Web Search ๐ŸŒ Self-hosted SearXNG โŒ Usually No
Capabilities ๐Ÿ› ๏ธ 27+ specialized tools โ›๏ธ 1 to 5 basic tools
Configuration ๐Ÿ–ฅ๏ธ Web GUI Dashboard OR โš™๏ธ Manual โš™๏ธ Manual JSON setup
Privacy ๐Ÿ”’ 100% Local Execution ๐Ÿ”’ Varies
  • ๐Ÿ›ก๏ธ LLM Prompt Firewall: Intercept, sanitize, and perform prompt recording for all data leaving your system, ensuring robust AI security.
  • ๐Ÿ”’ 100% Privacy-First: Everything runs locally. Generate reliable audit traces for AI usage while your code and data never leave your machine unaudited.
  • ๐Ÿ’ธ Truly Free: No accounts, no paywalls, no subscriptions.
  • ๐Ÿง  Persistent Agent Memory: Let your AI remember facts and contexts across sessions seamlessly.
  • โšก Plug & Play: Installs instantly via uvx or pip. MCP configuration supports both manual JSON and GUI workflows.

๐Ÿ“‹ Table of Contents


๐Ÿ›ก๏ธ LLM Prompt Firewall & Sanitization

The Prompt Firewall gives you complete control over what natural language data and code leaves your computer when using cloud-based AI coding assistants, delivering enterprise-grade AI security.

[!NOTE] The Firewall feature is currently tested and stable on macOS. Support for Linux and Windows is coming soon!

Key Features:

  • Proxy Interception: Set up a local proxy to monitor all LLM traffic.
  • Audit Traces for AI Usage: Automatically generate prompt recording logs. Get clear warnings at each prompt level showing exactly what was changed or redacted.
  • 1-Click UI Setup: Install certificate -> start proxy. The magic starts immediately. (Note: Firewall setup is only made available on the UI to ensure smooth installation and operation).
  • Local LLM Integration (Optional): Connect your local Ollama instance. Download open-source models to run completely local, pre-flight prompt sanitization, scanning your code to make it better and safer before sending it to a remote API.
  • Rule-Based Sanitization: Easily define regex or grammar rules to block PII, AWS keys, database strings, or proprietary logic.

To enable the firewall and begin collecting audit traces for AI usage, start the GUI Webapp and navigate to the Firewall tab to install the certificate and start the proxy.


๐Ÿงฐ What's Inside the Toolkit (27 MCP Tools)

Equip your AI client with these 4 powerhouse modules containing 27 specific MCP tools:

Module Purpose Key Capabilities Tools
๐Ÿ’ป DevSecOps & Code Analysis Codebase mastery & safety Static analysis, OSV CVE scans, Git commit summaries 11
๐ŸŒ Web Crawling & Search Internet access for Agents Private web search (SearXNG) and deep web crawling 2
๐Ÿง  Persistent Agent Memory Agent context persistence Save/read facts, session checkpoints, changelog generation 12
๐Ÿ”ง Meta-Tools & Config Configuration & discovery Tool discovery, runtime config management 2

๐Ÿš€ Quick Start Guide (Fastest Way to Install)

Pick the setup that best fits your workflow. MCP supports both manual configuration and GUI-based management setup. Don't know which to pick? Start with V0.

V0 โ€” Python / uvx (Fastest start, no Docker needed)

1๏ธโƒฃ Install via PyPI

pip install agentic-store-mcp --upgrade

(Or use uvx agentic-store-mcp if you have Astral's toolchain).

2๏ธโƒฃ Run the MCP server

agentic-store-mcp

3๏ธโƒฃ (Optional) Check your installation

agentic-store-mcp --version

4๏ธโƒฃ Configure your AI Client
See the Connect to Your AI Client section to link it manually, or use the UI!

๐Ÿ’ก Pro-Tip (Web Search): Want web search? Check out our Copy-Paste Config below. See Web Search Setup.

V1 โ€” From GitHub Source (Latest Features)

1๏ธโƒฃ Install directly from the repository

pip install git+https://github.com/agenticstore/agentic-store-mcp.git

(Or using uv: uvx --from git+https://github.com/agenticstore/agentic-store-mcp.git agentic-store-mcp)

2๏ธโƒฃ Run the MCP server

agentic-store-mcp

3๏ธโƒฃ Configure your AI Client
See the Connect to Your AI Client section to link it!

V2 โ€” MCP Hub UI (Manage everything visually)

Forget manual JSON editing! Use our local web UI to:

  • ๐Ÿ›ก๏ธ Firewall: Setup certificates and monitor all intercepted LLM prompts and audit logs for comprehensive prompt recording.
  • ๐Ÿ”‘ Connectors: Enter remote API keys securely (stored in OS keyring).
  • ๐Ÿ› ๏ธ Tools: Toggle which of the 27 tools to expose to the AI.
  • ๐Ÿ’ป Clients: Auto-generate configuration for Claude, Cursor, and Windsurf.
  • ๐Ÿง  Memory: Manage persistent agent states, checkpoints, and logs.

Start the Hub via Python:

# Ensure it is installed via pip
pip install agentic-store-mcp --upgrade

# Launch the visual web controller
agentic-store-webapp 

Access it at: http://localhost:8765


๐Ÿ”Œ Connect to Your AI Client

Because AgenticStore MCP supports both manual configuration and management via the GUI, you can manually add the configuration snippet to your respective client's config file if you prefer. Remember to restart the client after saving!

Client Config File Path
Claude Desktop (Mac) ~/Library/Application Support/Claude/claude_desktop_config.json
Claude Desktop (Win) %APPDATA%\Claude\claude_desktop_config.json
Cursor ~/.cursor/mcp.json
Windsurf ~/.codeium/windsurf/mcp_config.json
VS Code Appends to your VS Code settings.json under MCP extension config

Standard Copy-Paste Config

Basic Setup:

{
  "mcpServers": {
    "agentic-store-mcp": {
      "command": "agentic-store-mcp",
      "args": []
    }
  }
}

With Web Search (SearXNG) enabled:

{
  "mcpServers": {
    "agentic-store-mcp": {
      "command": "agentic-store-mcp",
      "args": [],
      "env": {
        "SEARXNG_URL": "http://localhost:8080"
      }
    }
  }
}

๐Ÿ—‚ Tool Directory โ€” All 27 Tools

๐Ÿ’ป Code Tools & Integrations (11 tools)

Codebase Analysis

Analyze, search, and navigate your codebase flawlessly.

Tool Capability
python_lint_checker Runs static analysis on Python files (finds bugs, unused imports, complexity). No external deps.
search_code Blazing-fast full-text search across local codebases with regex & file-type filtering.
get_file Read files from defined paths, including specific line-range slicing.
analyze_commits Contextualize agents with recent repo history (diff stats, authors, messages).

GitHub Integration

(Requires a GitHub Personal Access Token. Set via GITHUB_TOKEN or MCP Hub).

Tool Capability
get_repo_info Fetch metadata: stars, forks, primary language, open issues.
manage_issue Create, comment on, close, or list issues in accessible repositories.
create_pr Automatically open new internal Pull Requests with title & body definitions.

Security & Auditing

Agent-driven DevSecOps.

Tool Capability
repo_scanner Detects leaked secrets (API keys), PII, and validates .gitignore.
dependency_audit Scans requirements.txt, package.json, etc. against the OSV CVE database.
code_scanning_alerts Fetches active CodeQL/Security alerts from GitHub.
dependabot_alerts Fetches Dependabot vulnerability alerts from GitHub.
๐ŸŒ Data & Search (2 tools)
Tool Capability
agentic_web_crawl Extract clean markdown text, headings, and metadata from any URL. Handles redirects beautifully.
agentic_web_search Conduct live web searches via self-hosted SearXNG. Returns structured snippets.
๐Ÿง  Memory & Agent Orchestration (12 tools)

Persistent memory lets AI agents hand off work across sessions and restarts. 100% locally stored.

Storage Primitives

Tool Capability
memory_write Store a key-value fact in local JSON. Survives restarts.
memory_read Retrieve specific (or all) stored facts.
memory_search Fuzzy full-text search across all stored facts.
memory_log Append timestamped entries to an immutable session JSONL log (decision trails).
memory_checkpoint Save a complete snapshot: state, decisions, next steps, and client context.
memory_restore Load a named checkpoint back into the active agent context.

Productivity Layer

Tool Capability
spinup_memory Initialize a new project context (stub files for plans, milestones, learnings).
restore_session One-call holistic session restore (loads latest checkpoint, plans, logs, and facts).
update_plan Create or update the active plan.md for task tracking.
update_milestones Append or patch individual milestone progress via regex.
update_learnings Log technical discoveries into a growing context directory.
update_change_log Append semantic release notes to CHANGELOG.md automatically.
๐Ÿ”ง Toolkit Meta-Tools (2 tools)
Tool Capability
tool_search List all available toolkit tools, requirements, and descriptions.
configure Dynamically override runtime configurations and module states.

๐Ÿ”Ž Enabling Web Search

To give your agent internet access, agentic_web_search uses a private SearXNG instance.

If you'd like to use a remote API or host your own container, simply append its URL.

Pass the environment variable to your AI Client:

{
  "mcpServers": {
    "agentic-store-mcp": {
      "command": "agentic-store-mcp",
      "args": [],
      "env": {
        "SEARXNG_URL": "http://localhost:8080"
      }
    }
  }
}

๐ŸŽ› Overriding Configs & Advanced Usage

Overriding configs is related to your MCP setup. MCP supports both manual and GUI setup, so you can filter exactly what tools get loaded via environment variables if integrating deeply without the web GUI.

# Debug: List what would be loaded and exit
agentic-store-mcp --list

Note: The LLM Prompt Firewall is exclusively configured via the UI. The firewall is only made available on the UI to ensure smooth setup, robust proxy interception, and seamless prompt recording out of the box.


๐Ÿ› ๏ธ Troubleshooting

Internet Disruption After Proxy Use When dealing with the LLM Prompt Firewall proxy, if the server is terminated abruptly, there could be an internet disruption on your machine due to residual system proxy settings.

If you lose internet connection after a crash, run this command in your terminal to restore your proxy to default:

networksetup -setsecurewebproxystate "Wi-Fi" off

๐Ÿค Contributing & Community

Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you'd like to contribute code or improvements, please fork the repository and create a Pull Request.

โญ If this toolkit saved you 10 hours of configuration, please give us a star to help others find it!


๐Ÿ“œ License & Support

This project is licensed under the MIT License โ€” free to use, modify, and distribute. See LICENSE for details.


โญ Manage Everything Easier via the Webapp: agentic-store-webapp


Built with โค๏ธ by AgenticStore.dev โ€” Open-source AI tooling for everyone.


๐Ÿท๏ธ Core Technologies & Ecosystem

AgenticStore is built for the Model Context Protocol (MCP Server) ecosystem to provide robust LLM Security, a Prompt Firewall, and proactive AI Data Privacy. It supports comprehensive Data Loss Prevention (DLP) through Prompt Sanitization, Prompt Recording, and Audit Traces for AI Usage. Designed for Autonomous Agents and AI Coding Assistants like Claude Code, Cursor IDE, and Windsurf, it leverages Persistent Agent Memory, AI DevSecOps, Web Search via SearXNG, and Local LLM capabilities with Ollama Integration for reliable AI Auditing.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agentic_store_mcp-1.0.tar.gz (132.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agentic_store_mcp-1.0-py3-none-any.whl (173.0 kB view details)

Uploaded Python 3

File details

Details for the file agentic_store_mcp-1.0.tar.gz.

File metadata

  • Download URL: agentic_store_mcp-1.0.tar.gz
  • Upload date:
  • Size: 132.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for agentic_store_mcp-1.0.tar.gz
Algorithm Hash digest
SHA256 56cd26dcfc25228092b0d70aafba9af611ce36135df8dc0b034daa4b961e15fa
MD5 0bd10588ec682423c924f3076c2904fb
BLAKE2b-256 f86f7c2dfd108e9949a4f399197edb398b35177bb763cade9dd2a3e4f0012dc1

See more details on using hashes here.

File details

Details for the file agentic_store_mcp-1.0-py3-none-any.whl.

File metadata

  • Download URL: agentic_store_mcp-1.0-py3-none-any.whl
  • Upload date:
  • Size: 173.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for agentic_store_mcp-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a856d17e38eec8440d645ab38540d72068f4ea62901f035a89fdd4c99f26dcaa
MD5 84eb8c6932b2f969d204e80e5e436cda
BLAKE2b-256 a89d7cb044fb39754980a3ef2c9e9e8dfbe548b7984cd9fc78b11419cf11f637

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page