プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Logmcp

作者:kascadaバージョン 0.7.7i★ –i–
レジストリ名io.github.kascada/logmcp

インストール

概要

作者による説明(英語の原文)

MCP server — read-only log access for AI assistants, without giving AI shell access.

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: –
  • トランスポート:
  • カテゴリ: その他

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • レジストリには、入力が必要なキーは載っていません。

作者はレジストリにインストール情報を載せていません。下にある作者のREADMEをご覧ください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント kascada で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

その他のほかのサーバーとの比較i

  • このカテゴリのほかの32680件のうち0%よりスターが多い
  • このカテゴリのほかの32680件のうち30%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの32680件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Logmcpは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(0.7.7)がレジストリに届いたのは2 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。

代わりに使えるものは?

同じカテゴリには:Spec Driven Development, Remote Desktop Commander, EmbeddedCI BenchPod

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

クラウドで動く★ 211一昨日更新
インストール

EmbeddedCI BenchPod

作者:embeddedci-com

Drive a BenchPod hardware-in-the-loop bench: power, flash, UART, I2C, CAN, analog and logic.

パソコンで動く今日更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

LogMCP

MCP server — read-only log access for AI assistants. Debug your Linux server with AI, without giving the AI shell access.

No SSH. No write permissions. The AI reads your logs over HTTPS and helps you diagnose problems, while your server stays fully under your control.

LogMCP is an open-source MCP server that exposes log files on a remote Linux server to AI assistants (Claude Code, VS Code, Claude Desktop). Access is read-only, token-authenticated, and fully audited via syslog.

Get Started

Option A: Quickstart (no root required)

Try LogMCP in under a minute — no config file, no root, no systemd:

logmcp quickstart

The command checks your group memberships (adm, systemd-journal), generates a bearer token and a self-signed TLS certificate, starts the server, and prints a ready-to-paste claude mcp add command.

Running as root? Pass --user and LogMCP will add the user to the required groups and re-launch as that user — root is not needed for future starts.

Note: Token and certificate are ephemeral. The token changes on every start. For a permanent setup use Option B.

logmcp quickstart --port 7789 --token mytoken   # optional flags

After testing, remove the server from Claude Code:

claude mcp remove logmcp-quickstart

Option B: Permanent installation (recommended)

1. Install

go install github.com/kascada/logmcp@latest

Or install the pre-built .deb (replace x.y.z with the latest version):

curl -LO https://github.com/kascada/logmcp/releases/download/vx.y.z/logmcp_x.y.z_amd64.deb

sudo dpkg -i logmcp_x.y.z_amd64.deb

2. Run the setup wizard

sudo logmcp setup

Guides you through TLS mode, bearer token, and systemd service — then prints a ready-to-paste client config snippet.

3. Add to your AI client

logmcp client-config claude-code   # or: vscode | claude-desktop

Paste the output into your MCP client config. Done — your AI can now read the server's logs.


The Key Advantage: Let the AI Debug Without Touching Your Server

You give the AI a read-only window into your logs. That's it.

  • No SSH access required — the AI connects like any HTTPS client
  • No write permissions — the AI cannot change, delete, or execute anything
  • No shell access — not even read access beyond the whitelisted log paths
  • Works from anywhere — your laptop, Claude Desktop, a remote CI agent
  • Every access is audited via syslog on the server

This makes LogMCP ideal for situations where you need AI-assisted debugging but cannot or do not want to grant shell access: production servers, customer machines, hardened environments, or any setup where least-privilege matters.

SSH is also supported. If your AI client is Claude Code running locally with an SSH key, you can use LogMCP over an SSH tunnel instead of a public HTTPS endpoint. See SSH Tunnel Setup below.

Features

  • Read-only access to log files — the AI cannot modify anything
  • Whitelist/blacklist glob patterns for fine-grained access control
  • systemd journal (journald://) as a virtual log source
  • Multi-token auth — per-client bearer tokens with revocation
  • External authenticator support — delegate token verification to any CLI program
  • TLS support: self-signed, custom cert, or behind Caddy reverse proxy
  • Audit trail via syslog (access only, no log content)
  • Guided interactive setup wizard
  • Systemd service integration
  • Extensions — expose external CLI tools or Redis-RPC workers as additional MCP tools
  • Macros — define composite MCP tools as YAML files, no code required
  • fail2ban integration and in-process rate limiting

Setup Details

The wizard (sudo logmcp setup) covers:

  • Deployment mode (direct TLS or behind Caddy)
  • Port and bearer token configuration
  • Systemd service installation
  • Client configuration snippets for Claude Code, VS Code, and Claude Desktop

Whitelist/blacklist and journald are configured directly in /etc/logmcp/config.yaml after setup.

Environment variable substitution

Any value in config.yaml can reference environment variables using ${VAR} or $VAR syntax. The substitution happens before the file is parsed, so it works everywhere — tokens, paths, DSNs, etc.

auth:

tokens:

  • name: claude token: ${LOGMCP_TOKEN} scopes: [read]

extensions: clitool:

  • name: switchboard command: /usr/local/bin/switchboard timeout_seconds: 10

Unset variables expand to an empty string. To keep a literal $ in a value, use $$.

After setup, start the server:

sudo systemctl start logmcp

Commands

CommandDescription
logmcp serveStart the MCP server (default)
logmcp quickstartStart instantly without config file (no root required)
logmcp setupInteractive setup wizard
logmcp checkVerify configuration and environment
logmcp token listList configured bearer tokens
logmcp token add --name Add a new bearer token
logmcp token remove Remove a bearer token
logmcp token renew Generate a new value for an existing token
logmcp logs listList accessible log files
logmcp logs read Read a log file or journald://
logmcp logs search Search a log file or journald://
logmcp logs info Show log file metadata
logmcp service installInstall systemd service
logmcp service removeRemove systemd service
logmcp service statusShow service status
logmcp service caddy-snippetPrint Caddyfile configuration
logmcp client-config claude-codePrint Claude Code MCP config
logmcp client-config vscodePrint VS Code MCP config
logmcp client-config claude-desktopPrint Claude Desktop MCP config
logmcp security install-fail2banInstall fail2ban filter and jail for logmcp

MCP Tools

These are the tools LogMCP exposes to AI assistants:

ToolDescription
list_logsList all log files the server has been configured to expose
read_logRead lines from a log file — head, tail, offset, or time window
search_logSearch a log file by regexp with optional context lines and time filter
log_infoFile metadata: size, line count, last modified
check_environmentServer-side health checks (config, TLS, whitelist, syslog, databases)
check_configShow current server configuration and optional parameters at their defaults
server_statusRuntime status of the MCP layer and registered extensions

Extensions may add further tools — their names are prefixed with the extension name (e.g. myapp_status for an extension named myapp).

Extensions — Wrapping External Tools as MCP

LogMCP can expose any external program or service as additional MCP tools — no custom MCP server required. The AI sees them alongside the built-in log tools.

CLI extension

Any program that implements the clitool interface (list / call subcommands) can be registered. LogMCP calls list at startup to discover tools, and forwards each tool call to call --token-stdin.

extensions:

clitool:

  • name: myapp command: /usr/local/bin/myapp-ctl timeout_seconds: 10

This spawns a subprocess per call — suitable for any program on the same or a remote host.

RPC extension (Redis)

For programs running on the same host, the RPC variant avoids the per-call process-startup overhead (relevant for Python programs where interpreter startup and imports add noticeable latency). Instead of spawning a subprocess, LogMCP pushes a request onto a Redis list and waits for the worker's reply.

extensions:

clitool:

  • name: myapp command: /usr/local/bin/myapp-ctl # still used for list at startup mode: rpc redis_addr: "127.0.0.1:6379" timeout_seconds: 5

The worker reads requests from a Redis list and pushes its reply to a per-request reply key. See docs/RPC.md for the full protocol.

Auth flow

The bearer token from each incoming MCP request is forwarded to the extension — either via stdin (CLI mode) or as caller metadata in the RPC envelope. The extension can verify it or trust the pre-resolved identity.


Case Studies

Real-world scenarios where LogMCP makes the difference — see docs/case-studies.md:

  • Asterisk/VoIP — Paket-Kompilierung und Abhängigkeitsfehler debuggen
  • Webserver mit Caddy Reverse Proxy — produktive Installation
  • Standalone-Betrieb mit eigenem TLS

SSH Tunnel Setup

If you are using Claude Code locally and already have SSH access to the server, you can run LogMCP without a public HTTPS endpoint:

# Forward remote port 7788 to localhost

ssh -L 7788:127.0.0.1:7788 user@yourserver

Then point your MCP client at https://localhost:7788

LogMCP still requires a bearer token over the tunnel — the SSH layer adds transport security, the token controls which client can connect.

License

MIT License — see LICENSE.

PopNxに聞く