1. Conduid
  2. Security
  3. Codemind
MCP server · Security

Codemind

CodeMind is an AI agent memory system that maintains persistent, real-time context over complex codebases. By utilizing symbol graph storage, AST chunking, and intelligent file scanning, CodeMind enables LLMs to reason about relationships across large code structures without losing track of dependencies

Unclaimed MIT last commit 8 months ago ai-agentastcodebase-memorymcpmcp-serverpython
55Fair

Scored 11 days ago · breakdown

About Codemind

Codemind is an MCP server published by codemind-ai in the Security category: codeMind is an AI agent memory system that maintains persistent, real-time context over complex codebases. By utilizing symbol graph storage, AST chunking, and intelligent file scanning, CodeMind enables LLMs to reason about relationships across large code structures without losing track of dependencies.

Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/codemind-ai/codemind

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (10)

activate_skillManually switch between agentic personas (Security, UI, Docs).

Parameters not published.

audit_promptSpecialized analyzer for AI prompt security and leaks.

Parameters not published.

deep_security_scanConsolidated multi-layer analysis.

Parameters not published.

detect_intent🧠 Automatically identifies the best Skill for a given task.

Parameters not published.

guard_codeStatic analysis for vulnerabilities (including Prompt Injection).

Parameters not published.

list_skillsView all available modular personas and their capabilities.

Parameters not published.

run_workflow🚀 Execute complex multi-step actions (e.g., `/deploy`, `/audit-deep`).

Parameters not published.

scan_dependenciesSoftware Composition Analysis (SCA).

Parameters not published.

scan_iac_fileInfrastructure-as-Code auditing.

Parameters not published.

scan_secretsEntropy-based credential detection.

Parameters not published.

Ask AI

✦

Ask AI about Codemind

Powered by Claude · Grounded in docs

I know everything about Codemind. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 3 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • !Dependencies pinnedNo lockfile. Installs can pull different code over time.
  • !No dynamic code executionSource scan found eval or shell execution. Review how tool inputs reach it before granting credentials.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

README

CodeMind — AI Security Guardian


Technical Overview

CodeMind transforms your AI coding assistant (Cursor, Windsurf, Claude Desktop) into a full security platform for the modern web. Specialized for Next.js, React, and TypeScript, it provides real-time oversight of AI-generated code across five security dimensions.

Core Capabilities

Module Description
Modular Skills Plugin-based agentic personas (Security, UI, Docs) with specialized prompts.
Safety Lock Hard-coded protection against DROP, TRUNCATE, and unconditional DELETE.
Intent Discovery Automatic detection of the optimal skill/persona for any given task.
SAST Engine Detection of SQL injection, XSS, SSRF, and command injection patterns.
Prompt Security Specialized detection for prompt injection and leak vulnerabilities.
Secrets Detection Identification of hardcoded API keys and tokens with entropy analysis.
IaC Scanning Security auditing for Dockerfiles, GitHub Actions, and docker-compose.

Quick Start

1. Installation

Install the core engine from PyPI:

pip install codemind-mcp

2. MCP Configuration

Add CodeMind to your claude_desktop_config.json (or equivalent MCP client config):

{
  "mcpServers": {
    "codemind": {
      "command": "codemind",
      "args": ["serve"],
      "env": {
        "CONTEXT7_API_KEY": "your_optional_key_here"
      }
    }
  }
}

Usage

Simply include the trigger phrase in your chat prompt:

"Generate a login endpoint for FastAPI. use codemind"

Instant SaaS Protection

When you use the use codemind trigger, the Guardian automatically enforces essential protections for modern SaaS applications:

  • Rate Limiting: Automatic protection against DDoS and brute-force attacks.
  • Data Isolation: Enforcement of Row Level Security (RLS) to ensure users only access their own data.
  • Zod Validation: Strict server-side schema validation to prevent untrusted client data from reaching your database.
  • Next.js & React Hardening: Automated detection of unsafe dangerouslySetInnerHTML, exposed NEXT_PUBLIC_ secrets, and insecure localStorage patterns.
  • CSRF Protection: Auditing for missing security headers and insecure client-side data mutations.
  • Secure Default Props: Enforcement of TypeScript best practices to eliminate "undefined" security gaps.
  • Prompt Security: Hardened system prompts and injection-resistant templates for AI feature implementations.

Available Tools

CodeMind exposes 15 MCP tools for seamless automated workflows:

  • guard_code: Static analysis for vulnerabilities (including Prompt Injection).
  • detect_intent: 🧠 Automatically identifies the best Skill for a given task.
  • activate_skill: Manually switch between agentic personas (Security, UI, Docs).
  • run_workflow: 🚀 Execute complex multi-step actions (e.g., /deploy, /audit-deep).
  • list_skills: View all available modular personas and their capabilities.
  • audit_prompt: Specialized analyzer for AI prompt security and leaks.
  • scan_secrets: Entropy-based credential detection.
  • scan_dependencies: Software Composition Analysis (SCA).
  • scan_iac_file: Infrastructure-as-Code auditing.
  • deep_security_scan: Consolidated multi-layer analysis.

Strategic Roadmap

The transition from a hackathon project to a foundational security primitive.

Phase 1: Foundation (Vibeathon Momentum)

  • Initial MCP Server: Secure bridge between IDE and AI.
  • Core SAST Engine: 50+ deep-scan rules for modern web.
  • Secrets & SCA: Entropy-based scanning and dependency auditing.
  • Prompt Security: Industry-leading injection & jailbreak detection.
  • Vibeathon Grand Finale: Winning the vibeathon (goal!!)

Phase 2: Intelligence & Personas (Ahead of Schedule)

  • Modular Skill System: Plugin-based architecture for Security, UI, and Docs experts.
  • Intent Discovery: Real-time semantic task classification.
  • AI Slop Detection: Eliminating redundant commentary from AI responses.
  • Safety Lock: Hard-coded constraints for destructive database operations.
  • Semantic Analysis: AST-based auditing for Python & JavaScript.

Phase 3: Total Autonomy (The Scale Phase)

  • Self-Healing Code: Autonomous fix-verify loops for complex vulnerabilities.
  • Project-Wide Reasoning: Cross-file dependency analysis and taint-tracking.
  • CI/CD Native: Seamless integration with GitHub Actions as a first-class security citizen.
  • Local LLM Fine-tuning: Custom models optimized for security-first code generation.

Phase 4: Global Transformation (YC & Beyond)

  • Universal Security Primitive: The default security layer for all AI-driven development.
  • Real-time Runtime Protection: Monitoring AI-agent actions in production environments.
  • Enterprise Autonomous Guardian: Team-wide security analytics with zero data leak.
  • The AI-Sec Standard: Leading the certification for secure AI-assistants.

Privacy Policy

CodeMind is built on the principle of Local-First Security.

  • Your source code never leaves your machine.
  • All pattern matching and analysis are performed locally.
  • SCA requests to OSV.dev contain only package names and versions.
  • No telemetry or tracking scripts are included.

License

Distributed under the MIT License. See LICENSE for more information.

README fetched from the repository 3 days ago. The original is authoritative.

Questions

About Codemind

How do I install Codemind?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Codemind safe to use with an AI agent?

Its trust score is 55 out of 100 (fair). It passes 3 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Codemind still maintained?

The last commit was 8 months ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.