SM

stephenlacy/mathom

Analytics & monitoring

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

219 stars 12 forks 品質 71 トレンド 0MIT

stephenlacy/mathomは、[[T0]からインポートされたMCPサーバー候補です。

概要

stephenlacy/mathomは、[[T0]からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

OAuth2を使ったローカルファーストMCPプラットフォームでサーバーの運用と監視を行っています

MCPサーバーを認証付きローカルで動かす方法がなく、他の場所に展開できる方法がないことに疲れていました。

  • 組み込みのOAuth2 - OAuth2をサポートするMCPクライアントで動作
  • モニタリング - ライブログ、指標、ステータストラッキング
  • ダッシュボード - ダーク/ライトテーマのモダンUIです
  • クイックローンチ - npxをmcxに置き換えてください。

⚡ クイックスタート

2分以内に稼働開始:

http://localhost:5050を訪れれば、準備万端です!

特徴

コア機能

ローカルファーストアーキテクチャ

  • ローカルで実施
  • あなたのデータとサーバーは非公開のままです
  • (AWS/クラウドのセルフデプロイメントが間もなく予定されています…)

リアルタイム監視

  • ライブサーバーログ
  • パフォーマンス指標
  • 基本的なサーバーデバッグ

UI

リアルタイムモニタリングダッシュボードでライブメトリクスを活用

ライト/ダークテーマのサポート

使用法

MCPサーバーを起動してください

カスタムドッカーサーバー

Dockerイメージ内のSTDIOサーバーは--dockerフラグを使って実行でき、自動的にmathom-proxyでラップされます:

クロード/カーソル

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

mathom

I was tired of not having a way to run my MCP servers locally with auth in a way that I could deploy elsewhere.

  • Built-in OAuth2 - Works with MCP clients that support OAuth2
  • Monitoring - Live logs, metrics, and status tracking
  • Dashboard - Modern UI with dark/light themes
  • Quick Launch - Just replace npx with mcx

⚡ Quick Start

Get up and running in less than 2 minutes:

# Install the CLI
npm install -g mcx

# Clone and start mathom
git clone https://github.com/stephenlacy/mathom.git
cd mathom
./quickstart.sh  # Builds and starts everything

Visit http://localhost:5050 and you’re ready to go!

Features

Core Capabilities

UI

Usage

Launch your MCP Servers

# launch a server by name
mcx my-mcp-server

# launch from npm package
mcx @modelcontextprotocol/server-filesystem

# with custom arguments
mcx my-server -- --custom-arg value

Custom docker servers

STDIO servers in Docker images can be run using the --docker flag, they will get wrapped automatically with the mathom-proxy:

mcx --docker mcp/github-mcp-server -e GITHUB_PERSONAL_ACCESS_TOKEN='ghp_token'

Claude/Cursor

  • Claude: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Cursor: ~/.cursor/mcp.json
{
  "mcpServers": {
    "myServer": {
      "command": "mcx",
      "args": ["my-mcp-server"],
      "env": {
        "MATHOM_URL": "http://localhost:5050"
      }
    },
    "myDockerServer": {
      "command": "mcx",
      "args": ["--docker", "mcp/github-mcp-server", "-e", "GITHUB_PERSONAL_ACCESS_TOKEN=ghp_token"],
    }
  }
}

Use with the Inspector

npx @modelcontextprotocol/inspector mcx @modelcontextprotocol/server-everything

Documentation

Installation

Docker Installation (Recommended)

docker compose up -d

Or use the quickstart script

Manual Installation

  • Docker
  • Go
  • Node.js
  • PostgreSQL
GitHub で README 全文を見る

インストール

npx @modelcontextprotocol/inspector mcx @modelcontextprotocol/server-everything
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "myServer": { "command": "mcx", "args": ["my-mcp-server"], "env": { "MATHOM_URL": "http://localhost:5050" } }, "myDockerServer": { "command": "mcx", "args": ["--docker", "mcp/github-mcp-server", "-e", "GITHUB_PERSONAL_ACCESS_TOKEN=ghp_token"], } } }