More screenshots

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Lint and Smoke-Test Your MCP Server Before Release

    1

    Lint Python and TypeScript MCP server source and config, then smoke-test a local stdio server through initialize, tools/list and tools/call before you ship it.

    $19

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Lint and Smoke-Test Your MCP Server Before Release

    Lint and Smoke-Test Your MCP Server Before Release

    Example session with this skill installed

    Lint examples/sample_py_mcp_server.py and examples/sample_mcp_config.json, then smoke-test "python3 examples/sample_stdio_server.py" by calling the ping_status tool with {"target":"docs"}. Print the report as text.

    • Read your context and instructions
    • Compiled the lint and smoke-test
    McpAudit: sources=1 (tools=3) | config=sample_mcp_config.json | smoke=PASS | status=FAIL (findings=6)
    Findings:
    - [config-secret-or-path-risk] sample_mcp_config.json:1: server 'sample-library' references missing script './missing_server.py'
    - [config-secret-or-path-risk] sample_mcp_config.json:1: server 'sample-library' env 'SAMPLE_TOKEN' contains a literal credential-like value
    - [missing-input-schema] sample_py_mcp_server.py:6: tool 'find_note' has parameters without type annotations
    - [missing-tool-annotations] sample_py_mcp_server.py:6: tool 'find_note' has no safety annotations
    - [stdout-pollution] sample_py_mcp_server.py:8: print() may corrupt stdio JSON-RPC
    - [bloated-tool-description] sample_py_mcp_server.py:16: tool 'long_summary' description is 303 chars (limit: 300)
    Smoke: protocol=2024-11-05 | server=sample-stdio-server | tools/list=2 | tools/call=ok | stderr_lines=0
    

    The sample files intentionally contain these issues. The smoke test passed (initialize, tools/list with 2 tools, and the ping_status call), while the lint and config checks reported 6 findings, so the overall status is FAIL.

    Next: fix the findings in your own server, then re-run with --strict in CI.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    For engineers building Python or TypeScript MCP servers: catch stdout pollution, missing input schemas and safety annotations, oversized descriptions and risky configuration, then verify initialize, tools/list and an optional tools/call over local stdio before you connect a client. Runs offline with Python's standard library. No API key or network access needed.

    What you can check

    • Lint Python MCP source (--source src/server.py): stdout writes, untyped tool parameters, missing safety annotations, and long or missing descriptions, with line numbers.
    • Lint TypeScript or JavaScript (--source src/): McpServer.registerTool and older server.tool declarations, plus stdout logging.
    • Audit MCP configuration (--config .mcp.json or --config -): server objects, commands, local script paths, and literal credential-like values.
    • Smoke-test a local server (--smoke-cmd "python3 server.py"): runs initialize, notifications/initialized, tools/list, and optionally tools/call over stdio JSON-RPC.
    • Select checks and limits (--checks, --ignore-check, --max-desc-chars): choose checks and set description, file-count, input-size, and timeout limits.
    • Report and gate CI (--format json --output report.json --strict): write JSON, CSV, Markdown, or text; strict mode returns 1 when findings exist, invalid input returns 2.

    What is included

    • A standard-library Python CLI (scripts/mcp_server_audit.py)
    • A working sample stdio server plus Python and TypeScript sample servers and a sample config
    • The complete expected output of the first run
    • A unittest suite: python3 -m unittest discover tests

    Limits

    Static checks do not follow imported constants, dynamic decorators, or runtime-generated tool definitions, so review unresolved registrations manually. The smoke test starts a local process and sends JSON-RPC only to that process; it does not connect to remote HTTP or SSE servers and cannot infer safe arguments for a real external service. Use --smoke-cmd only with a server you own or are authorized to run.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Testing & Debugging.

    Static checks do not follow imported constants, dynamic decorators, or runtime-generated tool definitions, so review unresolved registrations manually. The smoke test starts a local process and sends JSON-RPC only to that process; it does not connect to remote HTTP or SSE servers and cannot infer safe arguments for a real external service. Use --smoke-cmd only with a server you own or are authorized to run.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed today

    Software
    Python 3.9+

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listedtoday

    What's inside

    Frequently Asked Questions

    For Python it flags stdout writes, untyped tool parameters, missing safety annotations, and long or missing descriptions, with line numbers. For TypeScript or JavaScript it inspects McpServer.registerTool and older server.tool declarations, plus stdout logging.

    It starts the local command you give with --smoke-cmd, then runs initialize, notifications/initialized and tools/list over stdio JSON-RPC, and optionally one tools/call with --call-tool and --call-args. Each response wait is bounded by --timeout and the child process is terminated afterwards.

    Python 3.9 or later is recommended. The tool uses only Python's standard library, so there is nothing to install and no API key or network access is needed.

    Yes. Use --format json --output report.json --strict. Strict mode returns exit code 1 when findings exist, and invalid input returns 2. Reports can also be written as CSV, Markdown or text.

    Static checks do not follow imported constants, dynamic decorators, or runtime-generated tool definitions, so review unresolved registrations manually. The smoke test covers local stdio processes only; it does not connect to remote HTTP or SSE servers and cannot infer safe arguments for a real external service.

    New in Testing & Debugging