Provimedia MCP 标志

Provimedia MCP

社区
provimedia

Chainguard MCP with Long Term Memory and Different Task Modes.

发布者provimedia
代码仓库provimedia-mcp
语言Python
复刻数
10
星标数
52
可用工具
0
传输类型stdio
链接
  • 将工具接入 AI 工作流

    Provimedia MCP 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 52 个星标和 10 个复刻。

Chainguard - MCP Server for Claude Code

License: Polyform Noncommercial Python 3.9+ MCP

Chainguard is a Model Context Protocol (MCP) server that enhances Claude Code with task tracking, syntax validation, long-term memory, and intelligent context management.

Features

Core Features

  • Task Scope Management - Define task boundaries, acceptance criteria, and track progress
  • Automatic Syntax Validation - PHP, JavaScript, JSON, Python, TypeScript validation on file changes
  • PHPStan Integration (v6.3) - Static analysis catches runtime errors BEFORE execution (null access, type errors)
  • Smart Context Tracking - Canary-based context refresh ensures Claude never loses important instructions
  • HTTP Endpoint Testing - Test endpoints with session support and automatic auth detection

Long-Term Memory (v5.1+, rewritten in v6.6)

  • Semantic Code Search - Natural language queries like "Where is authentication handled?"
  • Lightweight Vector Store - fastembed (ONNX Runtime) + numpy + sqlite3, ~500 MB RAM (replaced ChromaDB)
  • Multilingual Embeddings - paraphrase-multilingual-MiniLM-L12-v2 supports 50+ languages including German
  • 6 Knowledge Collections - code_structure, functions, database_schema, architecture, learnings, code_summaries
  • RAG Pipeline - Hybrid retrieval with semantic similarity (60%), keyword matching (25%), and recency scoring (15%)
  • Automatic Context Injection - UserPromptSubmit hook injects relevant memory context before every LLM call
  • Auto-Refresh Stale Memory (v6.8) - Detects memory older than 30 days at set_scope and incrementally re-indexes changed files
  • Project Isolation - Security-validated isolation prevents cross-project access
  • Export/Import - Portable JSON/JSONL export with optional gzip compression

Note: Long-Term Memory is now enabled by default (MEMORY_ENABLED=True) since v6.6 reduced RAM usage from ~3.8 GB to ~500 MB.

TOON Encoder (v6.0)

  • Token-Oriented Object Notation - Compact data format for 30-60% token savings
  • Optimized for Arrays - Best for lists of files, tables, history entries
  • Automatic Formatting - Tools like chainguard_projects, chainguard_history use TOON by default

Hallucination Prevention (v6.1+)

  • Symbol Validation - Detects hallucinated function/method calls with confidence scoring
  • PHP Builtins Database - 11,000+ PHP functions/classes/methods from JetBrains phpstorm-stubs (v6.3.1)
  • Slopsquatting Detection - Catches typosquatted package names (e.g., requets instead of requests)
  • 7-Language Support - PHP, JavaScript, TypeScript, Python, C#, Go, Rust
  • Package Registry Validation - Checks imports against composer.json, package.json, requirements.txt
  • Adaptive Mode - Auto-adjusts sensitivity based on false positive rate
ModeBehavior
OFFDisable validation
WARNShow warnings only (default)
STRICTBlock high-confidence issues
ADAPTIVEAuto-adjust based on FP rate

Deep Logic Summaries (v5.4)

  • Code Understanding - Extracts human-readable summaries of what code actually does
  • Purpose Inference - Recognizes patterns from docstrings, comments, and naming conventions
  • Multi-Language Support - Python, PHP, JavaScript, TypeScript

Architecture Analysis (v5.3+)

  • Pattern Detection - MVC, MVVM, Clean Architecture, Hexagonal, Layered, API-first
  • Framework Recognition - Laravel, Django, React, Vue, Angular, FastAPI, and more
  • AST Analysis - Tree-sitter based code parsing with regex fallback

PRD Auto-Detection (v6.7)

  • Automatic PRD Discovery - Detects PRD/requirements documents at set_scope
  • 16 Filename Patterns - PRD.md, REQUIREMENTS.md, SPEC.md, SPECIFICATION.md, and more
  • 7 Search Directories - Root, docs/, doc/, .claude/, requirements/, specs/, .github/
  • Workflow Reminders - Reminds to check PRDs before implementation and update them at finish

Kanban System (v6.5)

  • Persistent Task Management - Track complex, multi-day projects with a visual board
  • Smart Kanban Suggestion - Automatically recommends Kanban for ≥5 criteria or complexity keywords
  • 7 Column Presets - default, programming, content, devops, research, agile, simple
  • Custom Columns - Define task-specific columns via LLM prompt injection
  • Dependency Tracking - Cards can depend on other cards, blocked cards are highlighted
  • Linked Detail Files - Each card can have a linked markdown file with detailed instructions
  • Archive System - Completed cards can be archived for history
  • Graphical Board View - ASCII art visualization with progress bar

Task Modes

ModeUse Case
programmingCode, bugs, features (default)
contentBooks, articles, documentation
devopsServer admin, CLI tools, WordPress
researchAnalysis, information gathering
genericMinimal tracking

Feature Flags

Configure in ~/.chainguard/chainguard/config.py:

FlagDefaultDescription
TOON_ENABLEDTrueTOON format for array outputs (30-60% token savings)
MEMORY_ENABLEDTrueLong-Term Memory (fastembed + numpy + sqlite3, ~500 MB RAM)
AUTO_REFRESH_STALE_MEMORYTrueAuto-refresh memory older than 30 days at set_scope
XML_RESPONSES_ENABLEDFalseStructured XML responses
PHPSTAN_ENABLEDTruePHPStan static analysis for PHP files
PHPSTAN_LEVEL8Analysis level 0-9 (5+ catches null errors, 8 recommended)

Installation

Quick Install (Recommended)

bash
curl -fsSL https://raw.githubusercontent.com/provimedia/chainguard/main/installer/install.sh | bash

The installer creates a Python virtual environment at ~/.chainguard/venv/ and installs all dependencies into it (PEP 668 compliant).

Manual Installation

  1. Clone the repository:
bash
git clone https://github.com/provimedia/chainguard.git
cd chainguard
  1. Run the installer:
bash
./installer/install.sh
  1. Restart Claude Code

Updating Dependencies

bash
~/.chainguard/venv/bin/pip install --upgrade fastembed numpy mcp aiofiles aiohttp aiomysql pyyaml

Requirements

  • Python 3.9+
  • Claude Code CLI
  • fastembed and numpy for Long-Term Memory (installed automatically via venv)
  • Optional: phpstan for PHP static analysis (catches runtime errors before execution)

Usage

Basic Workflow

python
# 1. Start a task (REQUIRED)
chainguard_set_scope(
    description="Implement user login",
    mode="programming",
    acceptance_criteria=["Login works", "Tests pass"]
)

# 2. Track changes (auto-validates syntax)
chainguard_track(file="src/AuthController.php", ctx="🔗")

# 3. Check status
chainguard_status(ctx="🔗")

# 4. Complete task
chainguard_finish(confirmed=True)

Long-Term Memory

python
# Initialize memory (once per project, auto-refreshes stale data on set_scope)
chainguard_memory_init()

# Semantic search (supports 50+ languages)
chainguard_memory_query(query="Where is authentication handled?")
chainguard_memory_query(query="Wo wird Validierung gemacht?")

# Filter by type: all, code, functions, database, architecture
chainguard_memory_query(query="user table", filter_type="database")

# Generate deep logic summaries
chainguard_memory_summarize()                    # All new files
chainguard_memory_summarize(file="src/auth.py")  # Specific file

# Add learnings for future sessions
chainguard_memory_update(action="add_learning", learning="Auth uses JWT with 24h expiry")

# Check memory health
chainguard_memory_status()

# Export/Import for backup or transfer
chainguard_memory_export(format="json", compress=True)
chainguard_memory_import(file="path/to/export.json")

Database Schema Inspection

python
# Connect to database
chainguard_db_connect(
    host="localhost",
    user="root",
    password="...",
    database="myapp"
)

# Get schema (prevents SQL field name guessing)
chainguard_db_schema()

Memory System Deep Dive

RAG Pipeline

When a query is made via chainguard_memory_query, the following pipeline runs:

Query → Keyword Extraction → Keyword Expansion → Embedding (384-dim)
  → Vector Search (6 collections) → Scoring → Deduplication → Formatting
  1. Keyword Extraction - Extracts up to 10 keywords, removes English + German stop words
  2. Keyword Expansion - Expands with 30 synonym groups (e.g., login → auth, authentication, signin, session, jwt, token)
  3. Embedding - Converts to 384-dimensional vector via fastembed (ONNX Runtime)
  4. Vector Search - Queries all 6 collections using cosine distance
  5. Scoring - Calculates weighted relevance score:
    • Semantic similarity: 60%
    • Keyword match: 25%
    • Recency bonus: 15% (last 24h: 1.0, last week: 0.8, last month: 0.5)
    • Task-type bonus: 0-20% (e.g., database tasks boost table/migration results)
    • Source-type weight: test files 0.7x, config 0.8x, migrations 0.85x
  6. Deduplication - Keeps only the best result per file path
  7. Collection Balancing - Respects per-collection limits (code_structure: 4, functions: 3, architecture: 2, etc.)
  8. Filtering - Only results with score > 0.4 are returned
  9. Caching - Results cached for 5 minutes (TTLLRUCache, max 100 entries)

Collections

CollectionContentLimit
code_structureFile paths, classes, imports4
code_summariesDeep logic summaries of what code does3
functionsFunction/method signatures and purposes3
architectureDetected patterns (MVC, layered, etc.)2
learningsDeveloper insights stored via memory_update2
database_schemaTable structures, columns, relationships2

Automatic Context Injection

The chainguard_memory_inject.py hook runs on every UserPromptSubmit event:

  • Extracts keywords from the user's prompt (max 10)
  • Queries memory using fast keyword-based LIKE queries against sqlite3 (avoids fastembed cold-start)
  • Returns relevant code locations, functions, and structure grouped by type
  • 3-second timeout to prevent hanging Claude Code
  • File-based cache with 5-minute TTL for repeated queries
  • Prompts shorter than 20 characters are skipped

Multilingual Support

Model: paraphrase-multilingual-MiniLM-L12-v2 (384 dimensions)

Supports 50+ languages including German, English, Spanish, French, Italian, Dutch, Portuguese, Polish, Russian, Chinese, Japanese, Korean, and more. Both queries and indexed content can be in any supported language.

Stop words are filtered for both English and German (100+ words).

Auto-Refresh (v6.8)

When chainguard_set_scope() is called:

  1. Checks if memory is older than 30 days (STALE_MEMORY_THRESHOLD_DAYS)
  2. Finds changed files via git log (fast) or mtime fallback (capped at 1000 files)
  3. Re-indexes up to 30 changed files incrementally (STALE_MEMORY_MAX_FILES)
  4. Only saves metadata when all files succeed (error protection)

Vector Store Architecture

The lightweight vector store (vectorstore.py) replaces ChromaDB:

  • Storage: Single vectors.sqlite3 file per project (~3 MB for 1700 docs)
  • Vectors in RAM: All vectors loaded as numpy arrays for fast cosine similarity
  • Thread safety: Thread-local sqlite3 connections, WAL mode for concurrent reads
  • ChromaDB-compatible API: Drop-in replacement (add, upsert, query, get, delete, count)
  • WHERE filters: Supports $eq and $ne operators on metadata

Export & Import

python
# Export memory (JSON or JSONL, optional gzip compression)
chainguard_memory_export(format="json", compress=True, include_embeddings=False)

# Import memory (merge or replace)
chainguard_memory_import(file="path/to/export.json", merge=True, skip_existing=True)

# List available exports
chainguard_list_exports()
  • Max 10,000 documents per export file
  • Formats: JSON (single file) or JSONL (streaming, better for large datasets)
  • Merge mode: Combine with existing data or clear and replace
  • Exports stored in ~/.chainguard/exports/

Memory Configuration

All constants in ~/.chainguard/chainguard/config.py:

ConstantDefaultDescription
MEMORY_ENABLEDTrueEnable/disable memory system
AUTO_REFRESH_STALE_MEMORYTrueAuto-refresh at set_scope
STALE_MEMORY_THRESHOLD_DAYS30Days before memory is considered stale
STALE_MEMORY_MAX_FILES30Max files per auto-refresh
MTIME_FALLBACK_MAX_FILES1000Cap for mtime-based file scanning
SCORING_WEIGHTSsemantic: 0.6, keyword: 0.25, recency: 0.15Relevance scoring weights
SOURCE_TYPE_WEIGHTStest: 0.7, config: 0.8, migration: 0.85Source penalty multipliers
COLLECTION_LIMITSper-collection max resultsBalances results across collections

Available Tools

Core Tools

ToolDescription
chainguard_set_scopeDefine task scope and criteria
chainguard_trackTrack file changes with syntax validation
chainguard_statusUltra-compact status line
chainguard_finishComplete task with validation

Memory Tools

ToolDescription
chainguard_memory_initInitialize project memory (indexes code, functions, summaries)
chainguard_memory_querySemantic code search (multilingual, 50+ languages)
chainguard_memory_summarizeGenerate deep logic summaries for code files
chainguard_memory_updateRe-index file, add learning, or cleanup stale entries
chainguard_memory_statusShow memory statistics (docs, storage size, staleness)
chainguard_memory_exportExport memory to portable JSON/JSONL file
chainguard_memory_importImport memory from exported file
chainguard_list_exportsList available memory export files

Analysis Tools

ToolDescription
chainguard_analyzePre-flight code analysis
chainguard_analyze_codeAST-based code analysis
chainguard_detect_architectureDetect architecture patterns

Hallucination Prevention Tools

ToolDescription
chainguard_symbol_modeSet symbol validation mode (OFF/WARN/STRICT/ADAPTIVE)
chainguard_validate_symbolsValidate function/method calls against codebase
chainguard_validate_packagesValidate imports against project dependencies

Database Tools

ToolDescription
chainguard_db_connectConnect to database
chainguard_db_schemaGet database schema
chainguard_db_tableGet table details

HTTP Testing Tools

ToolDescription
chainguard_set_base_urlSet base URL for tests
chainguard_test_endpointTest HTTP endpoint
chainguard_loginLogin and store session

Kanban Tools

ToolDescription
chainguard_kanban_initInitialize board with preset or custom columns
chainguard_kanbanShow compact board view
chainguard_kanban_showFull graphical board view
chainguard_kanban_addAdd card with priority, tags, detail
chainguard_kanban_moveMove card to column
chainguard_kanban_detailGet card details
chainguard_kanban_updateUpdate card properties
chainguard_kanban_deleteDelete card
chainguard_kanban_archiveArchive completed card
chainguard_kanban_historyShow archived cards

Architecture

~/.chainguard/
├── venv/                 # Python virtual environment (v6.6+)
├── chainguard/           # MCP Server Package (34 modules)
│   ├── handlers.py       # Tool handlers (224 KB)
│   ├── tools.py          # Tool definitions
│   ├── models.py         # Data models
│   ├── config.py         # Configuration & feature flags
│   ├── kanban.py         # Kanban System (v6.5)
│   ├── memory.py         # Long-Term Memory
│   ├── vectorstore.py    # Lightweight vector store (sqlite3 + numpy)
│   ├── embeddings.py     # fastembed integration
│   ├── code_summarizer.py # Deep Logic Extraction
│   ├── ast_analyzer.py   # AST Analysis
│   ├── architecture.py   # Pattern Detection
│   ├── symbol_validator.py # Hallucination Prevention
│   ├── symbol_patterns.py  # Language-specific patterns
│   ├── package_validator.py # Slopsquatting Detection
│   ├── db_inspector.py   # Database inspector (MySQL/PG/SQLite)
│   ├── db_credentials.py # Persistent DB credentials
│   ├── http_session.py   # HTTP session management
│   ├── test_runner.py    # Test execution runner
│   ├── history.py        # Error/change history
│   ├── memory_export.py  # Memory import/export
│   ├── toon.py           # TOON encoder
│   └── ...
├── chainguard_mcp.py     # MCP Entry Point
├── hooks/                # Claude Code Hooks
│   ├── chainguard_enforcer.py      # PreToolUse: Block Edit/Write violations
│   ├── chainguard_memory_inject.py # UserPromptSubmit: Memory context injection
│   └── chainguard_scope_reminder.py # UserPromptSubmit: Scope reminder (v6.1)
├── projects/             # Project State Storage
├── memory/               # sqlite3 Vector Storage
└── templates/            # CLAUDE.md Templates

Hooks

Chainguard uses Claude Code hooks for automatic enforcement:

HookTypePurpose
chainguard_scope_reminder.pyUserPromptSubmitReminds to set scope before starting work
chainguard_enforcer.pyPreToolUseBlocks Edit/Write on rule violations
chainguard_memory_inject.pyUserPromptSubmitInjects relevant memory context

Documentation

Development

Running Tests

bash
cd src/mcp-server
python3 -m pytest tests/ -v

Test Coverage

ModuleTests
Core (cache, models, handlers)88
Validators48
Analyzers46
Memory System103
Memory Integration (PRD, refresh)24+
Vector Store (sqlite3 + numpy)50+
Code Summarizer45
TOON Encoder63
Hallucination Prevention71
Symbol Validation47
DB Credentials30
Kanban System50
Total1300+

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the Polyform Noncommercial License 1.0.0.

You may:

  • Use this software for any noncommercial purpose
  • Modify and create derivative works
  • Share and distribute the software

You may not:

  • Sell this software or use it for commercial purposes
  • Only Provimedia GmbH is authorized to sell this software

See the LICENSE file for full details.

Third-Party Licenses

This project includes data derived from the following open source projects:

ComponentLicenseCopyright
JetBrains phpstorm-stubsApache-2.0© 2010-2024 JetBrains s.r.o.

The PHP builtins database (data/php_builtins.json) is generated from phpstorm-stubs and used for hallucination prevention in symbol validation.

Credits

Created and maintained by Provimedia GmbH

Changelog

v6.8.1

  • Partial-Refresh Timestamp Protection - Only saves memory metadata when all files succeed (errors==0)
  • PRD File Caching - PRD files detected at set_scope are cached in ProjectState.prd_files
  • mtime Fallback Limit - Caps os.walk() to 1000 files for monorepo protection

v6.8.0

  • Auto-Refresh Stale Memory - Detects memory older than 30 days at set_scope and incrementally re-indexes changed files
    • Git log-based discovery (fast path) with mtime-based fallback
    • New config: AUTO_REFRESH_STALE_MEMORY, STALE_MEMORY_THRESHOLD_DAYS, STALE_MEMORY_MAX_FILES
  • New ProjectMemory.get_metadata() method for reading metadata.json

v6.7.0

  • PRD Auto-Detection - Automatically detects PRD/requirements documents at set_scope
    • 16 filename patterns: PRD.md, REQUIREMENTS.md, SPEC.md, SPECIFICATION.md, etc.
    • Searches 7 directories: root, docs/, doc/, .claude/, requirements/, specs/, .github/
    • Workflow reminders at set_scope (check PRD) and finish (update PRD if >=3 files changed)

v6.6.0

  • Memory System Overhaul - Replaced ChromaDB + sentence-transformers with fastembed + numpy + sqlite3
    • RAM usage reduced from ~3.8 GB to ~500 MB (7.6x reduction)
    • New vectorstore.py module: lightweight vector store with sqlite3 backend + RAM vectors
    • New embeddings.py module: fastembed (ONNX Runtime) integration
    • Drop-in replacement maintains ChromaDB Collection API
    • MEMORY_ENABLED now defaults to True
  • Multilingual Embeddings - Switched from all-MiniLM-L6-v2 (English-only) to paraphrase-multilingual-MiniLM-L12-v2 (50+ languages)
    • Same 384 dimensions, no storage migration needed
    • Auto-force re-init on model change
  • Python venv Installation - Replaced pip install --user with dedicated venv at ~/.chainguard/venv/
    • Fixes PEP 668 compatibility on modern macOS/Linux
    • Updated installer, verifier, and uninstaller
  • Context Injection Quality - Source-type weighting (test files 0.7x), per-file deduplication, lower relevance threshold (0.5 -> 0.4)

v6.5.0

  • Kanban System - Persistent task management for complex, multi-day projects
    • New kanban.py module with KanbanCard, KanbanBoard, KanbanManager classes
    • 10 new tools for full Kanban workflow
    • 7 column presets: default, programming, content, devops, research, agile, simple
    • Custom columns via LLM prompt injection in tool description
    • YAML persistence in .claude/kanban.yaml
    • Linked markdown files for card details in .claude/cards/
    • Archive system for completed cards
    • Graphical board view with progress bar and blocked card highlighting
    • Dependency tracking between cards
    • 50 new unit tests
  • Smart Kanban Suggestion - Automatically recommends Kanban when ≥5 acceptance criteria or complexity keywords detected ("mehrtägig", "komplex", "pipeline", etc.)

v6.4.6

  • String-Content Stripping for False Positive Prevention - Prevents hallucination warnings for text inside strings
    • HTML placeholders: placeholder="Max Mustermann (optional)" no longer triggers warnings
    • SQL in strings: "SELECT * FROM table_name WHERE..." no longer detects table names as calls
    • Preserves interpolated strings (f-strings, $-strings, template literals) since they contain real code
    • 9 new tests for string-content false positive prevention

v6.4.5

  • Symbol-Warnings Block Finish - chainguard_finish() is blocked when symbol warnings exist (unless force=True)
  • Docstring/Multi-line Comment Skipping - Function calls in docstrings and comments are no longer detected
  • Python Stdlib Extended - Added field, dataclass, Optional, Path, Any, List, Dict, etc.

v6.4.4

  • Extended Builtins: JS Web APIs + SQL Functions - Fixes false positives
    • JavaScript: Added IntersectionObserver, MutationObserver, ResizeObserver, FormData, AbortController, WebSocket, Worker, and 30+ more Web APIs
    • PHP: Added SQL functions that appear in PHP code: CURDATE, NOW, COALESCE, CONCAT, GROUP_CONCAT, SUM, AVG, and 50+ more
    • 10 new tests for Web APIs and SQL functions

v6.4.3

  • PHP Case-Insensitive Builtin Check - Fixes false positives for uppercase PHP functions
    • MAX(), DATE(), COUNT(), StrLen() etc. now correctly recognized as builtins
    • PHP is case-insensitive, so is_builtin() now compares lowercase for PHP
    • Reduces false positives from SQL functions used in PHP code
    • 4 new tests for case-insensitivity

v6.4.2

  • Action-Required Context Injection - Forces LLM to actively check hallucination warnings
    • <action-required> XML tags wrap symbol warnings at chainguard_finish()
    • Prominent "🔴 AKTION ERFORDERLICH" messaging instead of subtle warnings
    • Clear 3-step instructions: Check existence → Check imports → Ignore if false positive
    • Warning: "NICHT IGNORIEREN - Halluzinierte Funktionen führen zu Runtime-Fehlern!"
    • Prevents warnings from being overlooked in long sessions with many tasks

v6.4.1

  • Symbol Warning Aggregation - Hallucination warnings are now collected during session
    • Warnings are stored in state.symbol_warnings instead of being shown only once
    • All collected warnings are displayed at chainguard_finish() - prevents them from being lost
    • Useful for long sessions with 40+ tasks where warnings would otherwise be ignored
  • Better visibility for potential hallucinated function calls

v6.4.0

  • Persistent DB Credentials - Database credentials saved per project (obfuscated)
    • Call chainguard_db_connect() without parameters to use saved credentials
    • Credentials are XOR + Base64 obfuscated (machine-specific key)
    • Auto-saved after successful connection, auto-deleted on failure
    • New chainguard_db_forget tool to delete saved credentials
    • New db_credentials.py module with CredentialStore class
    • 30 new tests for credential handling
  • New remember parameter for chainguard_db_connect (default: True)

v6.3.1

  • PHP Builtins Database - 11,000+ PHP functions/classes/methods from JetBrains phpstorm-stubs
    • Dramatically reduces false positives in symbol validation (from 170+ to near zero)
    • Includes: Core functions (5,028), classes (1,035), methods (10,039)
    • Lazy-loaded on first PHP validation for zero startup cost
    • Generator script to update from latest phpstorm-stubs
  • New generate_php_builtins.py script for updating the database

v6.3.0

  • PHPStan Integration - Static analysis for PHP files catches runtime errors BEFORE execution
    • Detects null access errors ($user['id'] on null)
    • Type mismatches (string vs int)
    • Undefined methods and properties
    • Configurable analysis level (0-9, default: 8)
    • Smart project root detection (composer.json, vendor/, phpstan.neon)
  • Automatic PHPStan detection (global, vendor/bin, or composer global)
  • New config flags: PHPSTAN_ENABLED, PHPSTAN_LEVEL

v6.1.0

  • Hallucination Prevention - Detects LLM-hallucinated function calls and package imports
    • chainguard_validate_symbols - Validates function/method calls against codebase
    • chainguard_validate_packages - Slopsquatting detection for typosquatted packages
    • 7-language support: PHP, JavaScript, TypeScript, Python, C#, Go, Rust
    • Adaptive mode auto-adjusts based on false positive rate
  • Scope Reminder Hook - New UserPromptSubmit hook that reminds to set scope
  • Fixes the gap where pure analysis tasks (Task/Explore) could bypass scope enforcement
  • 30-minute cooldown to prevent spam
  • 118 new tests (symbol_validation: 47, package_validator: 71)

v6.0.0

  • TOON Encoder - Token-Oriented Object Notation for 30-60% token savings
  • New toon.py module with encode_toon, toon_array, toon_object functions
  • Integrated into chainguard_projects and chainguard_history
  • Memory disabled by default - Prevents RAM issues on low-memory systems
  • Feature flags: TOON_ENABLED=True, MEMORY_ENABLED=False, XML_RESPONSES_ENABLED=False
  • 63 new tests for TOON encoder, 764+ total tests

v5.4.0

  • Deep Logic Summaries with code_summarizer.py
  • New chainguard_memory_summarize tool
  • code_summaries collection for semantic code understanding
  • 45 new tests for code summarizer

v5.3.0

  • AST Analysis with tree-sitter
  • Architecture Pattern Detection
  • Framework Recognition
  • Memory Export/Import

v5.2.0

  • Smart Context Injection
  • Automatic memory updates on track/finish

v5.1.0

  • Long-Term Memory with ChromaDB
  • Semantic code search
  • Project isolation

v5.0.0

  • Task Mode System (programming, content, devops, research)
  • Mode-specific tools

Made with care by Provimedia GmbH

将 Provimedia MCP MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 Provimedia MCP 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请勿关闭终端窗口或停止其中的连接器进程。
3

将 Provimedia MCP 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 Provimedia MCP MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "provimedia-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 Provimedia MCP MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 Provimedia MCP MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 Provimedia MCP 帮我完成这项任务吗?
Provimedia MCP
当然,我看过了。
以下是我使用 Provimedia MCP 得到的结果。

常见问题

Provimedia MCP MCP 服务器有什么用途?

Provimedia MCP 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 Provimedia MCP MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您无需为每个模型单独配置 MCP 服务器,就能在 Claude、ChatGPT、Gemini 或您在 TypingMind 中配置的其他 AI 模型中使用 Provimedia MCP。

为什么在 TypingMind 中使用 Provimedia MCP MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是最出色的大语言模型聊天前端之一。连接 Provimedia MCP 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 Provimedia MCP MCP 连接到 TypingMind?

Provimedia MCP 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

Provimedia MCP MCP 在 TypingMind 中提供哪些工具?

Provimedia MCP 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 Provimedia MCP MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行选择模型提供商,并自行管理 API 密钥、提示词和 MCP 配置。如果 Provimedia MCP 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇