Back to Home
paiml icon

paiml-mcp-agent-toolkit

Verified Safe

by paiml

Overview

Provides a high-performance Model Context Protocol (MCP) server that acts as a toolkit for AI agents, offering a comprehensive suite of tools for code analysis, refactoring, quality gates, technical debt grading, and project context generation to enable automated fixes and quality-driven development.

Installation

Run Command
PMAT_PMCP_MCP=1 pmat

Environment Variables

  • PMAT_PMCP_MCP (Set to '1' to enable the MCP server mode for the `pmat` executable.)
  • RENACER_LAMPORT_CLOCK (Used by the Renacer performance testing framework, not a core server runtime dependency.)
  • GITHUB_TOKEN (Potentially required for GitHub API interactions, though not explicitly shown as a hard requirement in the provided snippets.)
  • OPENAI_API_KEY (May be required if semantic search or embedding functionalities that rely on OpenAI services are utilized.)

Security Notes

The server leverages Rust's type safety and `PathBuf` for file operations, reducing direct shell injection risks. External commands like `cargo clippy` and `git` are invoked with explicit arguments and working directories. `installer.sh` uses `sha256sum` for integrity verification. Potential indirect risks include exploitation if analyzing a malicious project (e.g., via `.cargo/config.toml` in `cargo clippy` context) or fetching untrusted code via `git_clone`. No hardcoded secrets are visible in the provided code snippets. Overall, good practices are followed, but reliance on external tool invocation always carries inherent contextual risks.

Similar Servers

Stats

Interest Score56
Security Score8
Cost ClassLow
Avg Tokens50
Stars118
Forks19
Last Update2026-01-15

Tags

Code AnalysisRefactoringQuality GatesTechnical DebtAI AgentsDevelopment ToolsPerformanceRustMCP ProtocolAutomated FixesCode Intelligence