simple_mcp
Analyzes Perl code using Perl::Critic, providing structured reports on code quality and potential issues.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@simple_mcpanalyze this Perl code: use strict; my $x = 1;"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP DROSPR Server
MCP server for analyzing Perl code using Perl::Critic.
Tools
DROSPR_JARVIS
Test tool - returns a welcome message.
{"method": "tools/call", "params": {"name": "DROSPR_JARVIS", "arguments": {}}}Result: "Hello from MCP DROSPR! :)"
perlcritic_analyze
Analyzes Perl code and returns a structured report.
Parameters:
Parameter | Type | Description |
| string | REQUIRED - Perl code to analyze |
| string | Filename (for the report) |
| int | Severity level 1-5 (default 1) |
Usage example:
{
"method": "tools/call",
"params": {
"name": "perlcritic_analyze",
"arguments": {
"code": "use strict;\nopen FILE, 'test.txt';",
"severity": 1
}
}
}Related MCP server: mcp-lint-tools
⚠️ Important: Why only the code parameter
MCP always works remotely! The server is running in Docker on another computer.
┌─────────────────┐ ┌─────────────────┐
│ Компьютер │ │ MCP Сервер │
│ разработчика │ HTTP │ (Docker) │
│ │ ──────> │ │
│ Файл: │ │ Нет доступа │
│ C:\project\ │ │ к файловой │
│ script.pl │ │ системе! │
└─────────────────┘ └─────────────────┘Problem:
LLM receives the path
C:\project\script.plLLM "emulates" reading the file
Runs MCP with
target: "C:\project\script.pl"MCP cannot see this file! It is on another computer.
Solution: LLM must:
Read the file for real
Send the content via the
codeparameter
Correct flow for LLM:
Пользователь: "Проверь C:\project\script.pl"
↓
LLM: Читаю файл C:\project\script.pl...
↓
LLM: Отправляю в MCP:
{
"code": "use strict;\nuse warnings;\n...",
"filename": "script.pl"
}LLM Configuration (Kiloterm/Cline)
Add to system prompt:
ПРОВЕРКА PERL КОДА:
1. Всегда читай файл ПОЛНОСТЬЮ перед анализом
2. Используй ТОЛЬКО параметр 'code' для perlcritic_analyze
3. НИКОГДА не используй параметр 'target' - он не работает для удалённого MCPRunning
Docker (recommended)
# Скачать образ
docker pull lenchik8/simple_mcp:latest
# Запустить
docker run -d --name mcp-DROSPR_JARVIS -p 8000:8000 lenchik8/simple_mcp:latestLocal build
docker build -t mcp-DROSPR_JARVIS .
docker run -p 8000:8000 mcp-DROSPR_JARVISFrom source
pip install -e .
python server.pyProject structure
mcp_DROSPR_JARVIS/
├── server.py # FastAPI сервер
├── tools/
│ └── perlcritic.py # Модуль анализа Perl::Critic
├── Dockerfile # Docker образ
├── pyproject.toml # Python зависимости
└── docs/ # ДокументацияConnecting to an MCP client
{
"mcpServers": {
"DROSPR_JARVIS": {
"url": "http://<IP>:8000",
"transport": "sse"
}
}
}Docker Hub
https://hub.docker.com/r/lenchik8/simple\\\\_mcp
GitHub
https://github.com/LENA-EE/simple\\\\_mcp
Prompt examples for Perl code analysis
Simple file analysis
Проверь этот Perl файл на ошибки:
/path/to/script.plAnalysis with soft level (critical errors only)
Проверь код, но покажи только серьёзные проблемы (severity 4-5)Code analysis (sending code directly)
Проверь этот Perl код:
use strict;
...Project analysis
Проанализируй каждый .pl файл в папке /src/Remote MCP limitations
Directory analysis is only possible if they are accessible inside the container
For a full project audit - send file code one by one
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP Server for Slima - AI Writing IDE for Novel Authors with AI Beta Reader.
MCP server for the Seline Analytics API
MCP server for progressive tool usage at any scale (see https://klavis.ai)
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP server for comprehensive code analysis, navigation, and quality assessment across 25+ programming languages.988MIT
- AlicenseNot gradedqualityDmaintenanceCode linting and style checking tools for AI agents, exposed as an MCP server. Supports style checks, naming conventions, complexity analysis, dead code detection, and import analysis.49 npmMIT
- AlicenseAqualityFmaintenanceA code review tool server based on Model Context Protocol (MCP) providing multi-dimensional code review and scoring.46 npmMIT
- AlicenseNot gradedqualityDmaintenanceMCP server for automated code review using AI agents. It analyzes code diffs or file paths for bugs, security issues, and style violations.MIT