
Security News
Happy Birthday, Shai-Hulud
It has been one year since Shai-Hulud made its first appearance on npm.
code-feedback
Advanced tools
MCP server for providing code feedback, validation, compilation, and linting
A powerful, open-source Model Context Protocol (MCP) server for automated, multi-language code feedback, validation, and project analysis. Designed for developers, teams, and LLM-powered workflows to ensure code quality, correctness, and maintainability across diverse languages and build systems.
Modern codebases are polyglot and complex. Automated, language-agnostic feedback is essential for:
Code Feedback MCP provides a secure, extensible, and LLM-friendly API for code validation, linting, building, and analysis—out of the box.

The MCP server exposes a set of tools and prompts via a simple API. You can:
All actions are path-restricted for security and return structured results for easy integration with LLMs, editors, or CI systems.
Requirements:
tsconfig.json, Makefile, package.json) as neededInstall dependencies and build:
npm install
npm run build
Configure allowed paths and server settings in mcp-config.json or claude_desktop_config.json:
{
"mcpServers": {
"code-feedback": {
"command": "npx",
"args": ["-y", "code-feedback"],
"env": {
"MCP_ALLOWED_PATHS": "C:/tests"
}
}
}
}
MCP_ALLOWED_PATHS restricts file/command access for security.npm start
Or with the MCP Inspector:
npx @modelcontextprotocol/inspector ./dist/start-server.js
Send a request to the server (via HTTP, CLI, or SDK):
{
"tool": "validate_typescript_file",
"args": { "filePath": "./examples/example-good.ts" }
}
Response:
{
"success": true,
"errors": [],
"warnings": [],
"output": "...TypeScript compiler output..."
}
{
"tool": "run_npm_script",
"args": { "projectPath": "./examples", "scriptName": "test" }
}
{
"prompt": "code-review",
"args": { "filePath": "./examples/example-good.js", "focus": "performance" }
}
Response:
{
"feedback": "...comprehensive review, suggestions, and best practices..."
}
validate_typescript_file: Validate and compile a TypeScript file, checking for syntax and type errors.validate_javascript_file: Validate JavaScript file syntax using Node.js.validate_python_file: Validate Python file with syntax checking and optional linting (pylint, flake8, black, mypy).validate_go_file: Validate Go source file with compilation and formatting checks, and optionally run Go tests.run_make_command: Run Make commands (e.g., make, make build, make test).list_make_commands: List available make targets/commands from a Makefile.run_npm_script: Run any npm script defined in package.json (e.g., test, lint, build).list_npm_scripts: List all available npm scripts in a project.install_npm_deps: Install npm dependencies (packages) in a project.uninstall_npm_deps: Uninstall npm dependencies from a project.check_npm_dependency: Check if a specific npm dependency is installed in a project.run_git_command: Run git commands (status, diff, log, branch, checkout, commit, add, push, pull, merge, reset, or custom).uv_init: Initialize a new Python project using uv.uv_add: Add Python dependencies to a project using uv.uv_run: Run a command in the uv environment.uv_lock: Lock Python dependencies using uv.uv_sync: Sync Python dependencies using uv.uv_venv: Manage the uv virtual environment.http: Make HTTP requests (GET, POST, etc.) to localhost or local IPs and return the response.docker: Run Docker commands (build, run, stop, rm, rmi, inspect, ps) in a project directory.editor: Edit, create, delete, or read text files with robust line/content-based edits, returning git-style diffs.filesystem: Secure, batch multi-file/folder CRUD and query operations (delete, create, move, copy, read, stat, search, directory tree, glob support, etc.).find: Powerful file and text search using ripgrep (regex, globs, context lines, structured output, etc.).All tools accept file/project paths and relevant options. Responses are structured as:
{
"success": true/false,
"errors": ["error messages"],
"warnings": ["warning messages"],
"output": "command output",
"details": { "command": "...", "exitCode": 0, "duration": 1234 }
}
uv: Initialize a Python project
{
"tool": "uv_init",
"args": { "projectPath": "./my-python-app", "projectName": "my-python-app" }
}
http: Make a local HTTP GET request
{
"tool": "http",
"args": { "url": "http://localhost:8000/health" }
}
docker: List running containers
{
"tool": "docker",
"args": { "command": "ps" }
}
editor: Replace text in a file
{
"tool": "editor",
"args": {
"action": "edit",
"file_path": "./README.md",
"edits": [{ "mode": "content", "oldText": "foo", "newText": "bar" }]
}
}
filesystem: List directory tree
{
"tool": "filesystem",
"args": {
"ops": [{ "type": "directoryTree", "path": ".", "maxDepth": 2 }]
}
}
find: Search for TODO comments in JS files
{
"tool": "find",
"args": { "pattern": "TODO", "glob": "*.js" }
}
Request advanced code review, analysis, and guidance using prompts:
Each prompt returns actionable, structured feedback for your code.
We welcome contributions! To add a new tool or prompt:
src/tools/ or prompt in src/prompts/tests/npm run lint and npm run testnpm run test to verify your setupMCP_ALLOWED_PATHS in your configUser:
validate the code in D:\Projects\tests\code-feedback-mcp\package.json that it is compile, tests passing, and git status is clean, use code feedback tools
AI:
I'll help you validate the code in your project directory. Let me start by checking what's available and then run through the validation steps.Great! I can access your project directory. Let me first examine the project structure and then run the validation checks.Now let me check the available npm scripts and run the validation steps:Let me start by checking the git status:I can see there are uncommitted changes to package.json. Now let me run the build process to check if the code compiles:Great! The build succeeded. Now let me run the tests:Excellent! All tests are passing. Now let me run the linter to check code quality:Perfect! The linting passed with no issues. Now let me check the current git status again to see the changes:Let me check what changes were made to package.json:## Validation Summary
Here are the results of validating your code-feedback-mcp project:
--quiet flagpackage.jsonIf you'd like me to help commit this change or investigate any other aspects of the codebase, just let me know!
FAQs
MCP server for providing code feedback, validation, compilation, and linting
The npm package code-feedback receives a total of 20 weekly downloads. As such, code-feedback popularity was classified as not popular.
We found that code-feedback demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.

Security News
It has been one year since Shai-Hulud made its first appearance on npm.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.