mcp_troubleshooter: Instructions file for Claude Code

CLAUDE.md

mcp_troubleshooter CLAUDE.md is an instructions file for Claude Code from tblakex01/mcp_troubleshooter. It costs 3,673 tokens per session, scanned A, original, MIT.

A set of Claude Code instructions for understanding and using a Troubleshooting MCP Server, a tool that lets Claude inspect and diagnose a computer system.

In plain words
What is it for?
Explaining the project structure, identifying its system-monitoring and troubleshooting functions, and guiding work on the codebase.
Why use it?
It gives Claude a clear map of the server’s purpose, architecture, and diagnostic functions instead of leaving it to infer them from the code.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md.

This is tblakex01/mcp_troubleshooter's own configuration. It tells Claude Code how to work on mcp_troubleshooter itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mcp_troubleshooter configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/user/mcp_troubleshooter/.

Reuse

Borrowing it

Nothing to install: this file belongs to tblakex01/mcp_troubleshooter. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/tblakex01/mcp_troubleshooter/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/tblakex01/mcp_troubleshooter

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mcp_troubleshooter CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/tblakex01/mcp_troubleshooter/claude-md/github.svg)](https://agentmods.dev/instructions/tblakex01/mcp_troubleshooter/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/tblakex01/mcp_troubleshooter/claude-md"><img src="https://agentmods.dev/badge/instructions/tblakex01/mcp_troubleshooter/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mcp_troubleshooter CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/tblakex01/mcp_troubleshooter/claude-md"><img src="https://agentmods.dev/badge/instructions/tblakex01/mcp_troubleshooter/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,673 This file is loaded in full into every session.
When invoked 3,673 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.03673 $0.03673
Opus 5 $0.01836 $0.01836
Sonnet 5 $0.00735 $0.00735
Haiku 4.5 $0.00367 $0.00367

Measured 10d ago against content hash 453617fb0f77, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

mcp_troubleshooter CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 518 lines

How it starts

The opening of the file, as written. The whole thing — 518 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md - Codebase Analysis

Project Overview

Name: Troubleshooting MCP Server Version: 1.0.0 License: MIT Python Requirement: 3.10+

This is a Model Context Protocol (MCP) server that provides system troubleshooting and diagnostic tools for developers and system administrators. It enables LLMs like Claude to diagnose system issues, monitor resources, and test connectivity through a secure, well-structured interface.


Project Purpose

The Troubleshooting MCP Server acts as a bridge between Claude Desktop and the operating system, providing diagnostic capabilities including:

  • System Information Retrieval - OS details, hardware specs, CPU architecture, memory, Python version
  • Resource Monitoring - Real-time CPU, memory, disk I/O, and network I/O metrics
  • Log File Analysis - Read and filter system logs with grep-like pattern matching
  • Network Diagnostics - DNS resolution and TCP port connectivity testing
  • Process Management - Search and monitor running processes with resource usage
  • Environment Inspection - Check environment variables and development tool versions
  • Safe Command Execution - Execute whitelisted diagnostic commands with timeout protection

Architecture

High-Level Architecture

Claude Desktop (MCP Client)
        ↓ MCP Protocol
    FastMCP Server (server.py)
        ↓
Tool Registration Layer (tools/__init__.py)
        ↓
Individual Tool Modules (7 diagnostic tools)
        ↓
Shared Components (models, utils, constants)
        ↓
System Libraries (psutil, socket, subprocess, os)
        ↓
Operating System

Directory Structure

/home/user/mcp_troubleshooter/
├── src/troubleshooting_mcp/          # Main package
│   ├── __init__.py                   # Package initialization
│   ├── server.py                     # FastMCP server entry point
│   ├── constants.py                  # Configuration constants
│   ├── models.py                     # Pydantic input validation models
│   ├── utils.py                      # Shared utility functions
│   └── tools/                        # 7 diagnostic tools
│       ├── __init__.py               # Tool registration orchestrator
│       ├── system_info.py            # System information retrieval
│       ├── resource_monitor.py       # Real-time resource monitoring
│       ├── log_reader.py             # Log file reader with filtering
│       ├── network_diagnostic.py     # Network connectivity testing
│       ├── process_search.py         # Process monitoring and search
│       ├── environment_inspect.py    # Environment variables & tools
│       └── safe_command.py           # Whitelisted command execution
├── tests/                            # Test suite
├── docs/                             # Comprehensive documentation
├── config/                           # Configuration examples
├── troubleshooting_mcp.py            # Backward compatibility wrapper
├── README.md                         # Main documentation
├── pyproject.toml                    # Modern Python project config
└── setup.py                          # Package setup script

Read the full file on GitHub · 518 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 518 lines · 3,673 tokens per session scan A 453617fb0f77

Subscribe to this mod's changes

mcp_troubleshooter CLAUDE.md is an instructions file published in the GitHub repository tblakex01/mcp_troubleshooter (1 stars, last pushed 4mo ago), licensed MIT. It adds 3,673 tokens to every session, about $0.0184 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens