Skip to main content
Glama
Inferni MCP

Inferni MCP

Inferni MCP

Let your AI assistant see and manage the apps, bots and scripts running on your PC: free, local and read-only by default.

Discord Website Python 3.11+ MCP License: MIT

Inferni MCP is a free, open-source Model Context Protocol server made by Inferni. Add it to Claude Desktop (free plan works), VS Code with GitHub Copilot Free, Gemini CLI or a local model in LM Studio, then ask things like:

  • "Is my Discord bot running? Why did it crash last night?"

  • "Show me the errors in the backup script's log."

  • "Why is my PC slow right now?"

  • "Restart the music bot." (only if you turn control on)

It works on its own with any script or program you list in a small config file, and it also plugs straight into Inferni App Manager if you use that.

Everything runs on your own computer. Inferni MCP has no account, no cloud service and no telemetry. Logs are read locally, and values from each app's .env file (tokens, passwords, keys) are blanked out before the AI sees anything.

Inferni MCP in the official MCP Inspector: the five read-only tools (app_status, crash_report, list_apps, pc_health, read_logs) and the list_apps result showing three Inferni App Manager bots and their state


Contents


Related MCP server: MachineProfile MCP

What the AI can do

Tool

What it does

Changes anything?

list_apps

Every app with its state, uptime, CPU and memory

No

app_status

Full details for one app: health report, last error, recent events

No

read_logs

The end of an app's log, filtered to errors, warnings or a search term

No

crash_report

What crashed or failed in the last hours, with the error that caused it

No

pc_health

CPU, memory, disk space, uptime, warnings and the busiest processes

No

start_app / stop_app / restart_app

Change what's running

Yes: only when allow_control = true

With control off (the default), those three tools don't exist at all, so the AI can't use them even if it tries.

Install

You need Python 3.11 or newer (python.org; tick "Add python.exe to PATH" on Windows).

git clone https://github.com/DiveDevil-oss/inferni-mcp-server.git
cd inferni-mcp-server
python -m venv .venv
.venv\Scripts\pip install .

Check what it can see:

.venv\Scripts\inferni-mcp --check

The full path to inferni-mcp.exe (for example C:\Users\you\inferni-mcp-server\.venv\Scripts\inferni-mcp.exe) is what you give your AI app below.

Optional: create a config file to add your apps (see Config file):

.venv\Scripts\inferni-mcp --init

Set up your AI app

Claude Desktop (free plan)

Claude Desktop runs local MCP servers on every plan, including free.

  1. Install Claude Desktop and sign in.

  2. Open Settings → Developer → Edit Config. This opens claude_desktop_config.json (%APPDATA%\Claude\claude_desktop_config.json on Windows).

  3. Add Inferni MCP under mcpServers, using your own path:

    {
      "mcpServers": {
        "inferni": {
          "command": "C:\\Users\\you\\inferni-mcp-server\\.venv\\Scripts\\inferni-mcp.exe"
        }
      }
    }

    If the file already has other servers, add the "inferni": { ... } entry next to them. Backslashes must be doubled.

  4. Quit Claude Desktop completely (right-click the tray icon → Quit) and open it again.

  5. In a new chat, click the tools button. inferni should be listed. Ask "What apps are running?"

Claude asks before it uses each tool the first time. You can allow it once or always.

VS Code + GitHub Copilot Free

Copilot Free includes agent mode, which can use MCP servers.

  1. In your project (or user settings), create .vscode/mcp.json:

    {
      "servers": {
        "inferni": {
          "type": "stdio",
          "command": "C:\\Users\\you\\inferni-mcp-server\\.venv\\Scripts\\inferni-mcp.exe"
        }
      }
    }
  2. Click Start above the server entry, open Copilot Chat, switch to Agent mode and ask away.

Gemini CLI

Gemini CLI has a free tier with a personal Google account. Add Inferni MCP to ~/.gemini/settings.json (%USERPROFILE%\.gemini\settings.json on Windows):

{
  "mcpServers": {
    "inferni": {
      "command": "C:\\Users\\you\\inferni-mcp-server\\.venv\\Scripts\\inferni-mcp.exe"
    }
  }
}

Run gemini, then /mcp to check it's connected.

LM Studio (local models, no internet)

LM Studio runs models entirely on your PC, so nothing leaves your computer.

  1. Install LM Studio and download a model that supports tool use (for example a Qwen 3 or Llama 3.1+ instruct model; LM Studio marks these with a hammer icon).

  2. In the chat sidebar open Program → Install → Edit mcp.json and add:

    {
      "mcpServers": {
        "inferni": {
          "command": "C:\\Users\\you\\inferni-mcp-server\\.venv\\Scripts\\inferni-mcp.exe"
        }
      }
    }
  3. Turn on the mcp/inferni integration in a chat and ask a question.

Small local models are less reliable at picking tools. If answers look off, try a bigger model or ask more directly ("use list_apps").

Any other MCP app (Cursor, Windsurf, Zed, Continue, Cline, Jan…) works the same way: run inferni-mcp.exe as a stdio server, with no arguments needed.

Config file

Everything is optional. Without a config, PC health works and nothing else is listed.

Default location: %APPDATA%\inferni-mcp\config.toml on Windows, ~/.config/inferni-mcp/config.toml elsewhere. Create an example with inferni-mcp --init.

# Let the AI start, stop and restart apps. Off by default: the AI can only look.
allow_control = false

# Folder of Inferni App Manager (the one with bots.json), if you use it.
app_manager = "C:/Users/you/inferni-app-manager"

# Apps that Inferni MCP starts and stops itself. One section per app.
[apps.my-bot]
command = ["C:/Users/you/my-bot/.venv/Scripts/python.exe", "bot.py"]
cwd = "C:/Users/you/my-bot"
log = "bot.log"          # optional, relative to cwd; default inferni-mcp.log

[apps.backup]
command = ["powershell", "-File", "backup.ps1"]
cwd = "C:/scripts"

Each app's .env file (in its cwd) is used for blanking secrets out of logs. It's never shown to the AI.

Overrides

You can override settings in the AI app's config, which is handy for a read-only setup in one app and full control in another:

Command-line flag

Environment variable

Does

--config PATH

INFERNI_MCP_CONFIG

Use a different config file

--app-manager PATH

INFERNI_APP_MANAGER

Folder of Inferni App Manager

--allow-control / --read-only

INFERNI_MCP_ALLOW_CONTROL=1 / 0

Turn control on or off

INFERNI_MCP_STATE_DIR

Where PIDs of started apps are kept (default %USERPROFILE%\.inferni-mcp)

For example, in Claude Desktop:

"inferni": {
  "command": "C:\\...\\inferni-mcp.exe",
  "args": ["--allow-control"]
}

With Inferni App Manager

Point app_manager at its folder and every bot in it shows up. Starting and stopping goes through the App Manager panel itself, so the two never fight over a process. If the panel is closed when the AI asks for a change, Inferni MCP opens it minimised in the tray first. Needs Inferni App Manager 1.2 or newer.

Safety

  • Read-only by default. The start, stop and restart tools only exist when you turn on allow_control, and they're marked as destructive so AI apps ask you before using them.

  • Secrets are blanked out. Values from each app's .env, plus anything that looks like a token, password, API key, Discord token, GitHub token or webhook URL, are replaced with [redacted] in everything the AI reads.

  • Only the apps you list. The AI can't run arbitrary commands. It can only start the exact commands in your config file or App Manager.

  • Started apps keep running after you close the AI app. On Windows, Inferni MCP launches them outside the AI app's process group (falling back to a one-off Task Scheduler task under your own account, which is removed straight away).

  • Local only. It talks to your AI app over stdio and opens no network ports.

See SECURITY.md to report a problem.

Troubleshooting

The server doesn't show up in my AI app. Check the path to inferni-mcp.exe is right and the backslashes are doubled, then fully quit and reopen the AI app. Run inferni-mcp --check in a terminal. If that prints an error, the AI app sees the same error.

Claude Desktop doesn't list inferni, even after a restart. Newer Store/MSIX installs of Claude Desktop read their config from %LOCALAPPDATA%\Claude-Data\claude_<id>\claude_desktop_config.json instead of %APPDATA%\Claude\. Open that file (Settings → Developer → Edit Config opens the right one) and add the mcpServers entry there, next to the settings already in it. Check it loaded under + → Plugins → Connectors, where inferni should have a toggle.

Claude Desktop says the server failed. Its logs are in %APPDATA%\Claude\logs\ (or %LOCALAPPDATA%\Claude\logs\ on Store installs).

"No apps are set up yet". Add [apps.…] sections or app_manager to the config file.

An app shows as stopped but it's running. Inferni MCP only tracks apps it started itself (or that App Manager runs). Something started another way isn't tracked: stop it, then start it through Inferni MCP.

Questions or ideas? Join the Inferni Discord.

Development

python -m venv .venv
.venv\Scripts\pip install -e ".[dev]"
.venv\Scripts\pytest
.venv\Scripts\ruff check src tests

Try the tools interactively with the MCP Inspector: npx @modelcontextprotocol/inspector .venv\Scripts\inferni-mcp.exe.

See CONTRIBUTING.md. Licensed under MIT.


Made by Inferni · Discord

Available Tools

5 tools
app_statusA
Read-only

Full details for one app: state, resources, health report, last error and recent events.

Inputs: app (required). Returns: object

crash_reportA
Read-only

What went wrong recently: crashes, failed restarts, stuck apps and the error that caused them.

Inputs: hours. Returns: object

list_appsA
Read-only

List every app, bot and script Inferni MCP knows about, with state, uptime, CPU and memory.

Inputs: no named parameters. Returns: object

pc_healthB
Read-only

This computer's health: CPU, memory, disk space, uptime, warnings and the busiest processes.

Inputs: top_processes. Returns: object

read_logsA
Read-only

Read the end of an app's log. Secrets from the app's .env file are blanked out.

Inputs: app (required), level, lines, search. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 5 tools

    Disambiguation4/5

    Each tool has a clear primary role: fleet overview, single-app detail, logs, crash summary, and host health. There is minor overlap between app_status and crash_report, since both can surface errors and health information, but their scopes are distinguishable.

    Naming Consistency3/5

    All names use readable snake_case, but they mix verb_noun forms like list_apps and read_logs with noun-phrase forms like app_status, crash_report, and pc_health. The pattern is understandable but not fully consistent.

    Tool Count5/5

    Five tools is well scoped for a monitoring and diagnostics server. Each tool covers a distinct layer of the investigation workflow without obvious filler.

    Completeness4/5

    The surface covers app inventory, per-app status, logs, crash diagnosis, and host health, which is solid for monitoring. It lacks operational actions such as restarting apps or filtering/searching logs, but agents can still diagnose core issues.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI assistants to retrieve structured information about the local Windows machine, including system specifications, resource health, developer tools, and AI environment, all through a secure, read-only interface.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables compatible AI clients to operate a local computer by accessing files, applications, processes, shells, and, on Windows/macOS, graphical desktop controls such as windows, screens, mouse, and keyboard. It runs locally with user permissions and confirmation previews for operations that change the machine.
      3
      MIT
    • F
      license
      Not graded
      quality
      A
      maintenance
      Exposes a governed, OAuth-gated suite of 38 tools that let web AI assistants like Claude, ChatGPT, and Grok work directly on your local machine — reading and editing files, running whitelisted shell commands, searching, querying SQLite, driving browsers and DevTools, managing background tasks and localhost services, and controlling Git, clipboard, notifications, and Postman. This lets users build, debug, and maintain projects, inspect databases and local APIs, and check on long-running jobs from a browser or phone without granting unrestricted shell access.
      -