mathom

by stephenlacy

本地优先的 MCP 平台,支持使用 OAuth2 进行服务器的运行与监控。配置时需要设置环境变量,例如 BETTER_AUTH_URL、DATABASE_URL 和 LOG_URL。

Developer toolsstdioCommunity

Repository-wide counts · Cached 2025-11-10

Overview

The mathom MCP server is a publicly available project. Review the upstream repository for installation instructions, supported tools, compatibility, permissions, and current maintenance status.

Configuration

Configuration, transport, authentication, and runtime requirements vary by project. Open the repository before connecting and use the smallest set of credentials and permissions required.

Open the mathom repository to read the latest documentation.

KEEP EXPLORING

Compare source, connection, and authentication details before choosing an implementation.

View the complete category

模型上下文协议服务器

modelcontextprotocol

Community

一组用于模型上下文协议(MCP)的参考实现,展示了对大型语言模型(LLM)工具和数据源的安全且受控的访问方式。

Context7 Platform - Up-to-date Code Docs For Any Prompt

upstash

Community

Context7 MCP server providing up-to-date, version-specific documentation and code examples for libraries, enabling coding agents to fetch accurate docs and code snippets. Requires an API key for higher rate limits, passed via CONTEXT7_API_KEY header.

Playwright MCP

Microsoft Corporation

Community

A Model Context Protocol (MCP) server that provides browser automation capabilities using Playwright. Enables LLMs to interact with web pages through structured accessibility snapshots, bypassing the need for screenshots or visually-tuned models.

AIHawk

feder-cr

Community

AIHawk is an anti detect browser and web browsing agent, open source, with an MCP server for coding agents: undetected, no captchas, no blocks. It requires an OpenRouter API key for the standalone web UI mode, which can be provided via the --openrouter-key flag or the OPENROUTER_API_KEY environment variable or a .env file in the running directory.

FROM THE SOURCE

Repository README

Build-time snapshot · Retrieved 2026-10-05

View original

mathom

hero

Local-first MCP platform with OAuth2 for running and monitoring your servers

License

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

Local-First Architecture

  • Run locally
  • Your data and servers stay private
  • (AWS/Cloud self-deployment coming soon...)

Real-Time Monitoring

  • Live server logs
  • Performance metrics
  • Basic server debugging

UI

Dashboard Screenshot

Real-time monitoring dashboard with live metrics

Theme Support

light/dark theme support

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

Configuration

Environment Setup

# .env file
BETTER_AUTH_URL=http://localhost:5050 # required
DATABASE_URL=postgresql://... # required
LOG_URL=http://... # required
NODE_DOCKER_IMAGE="you-custom-node-image" # optional

Development

Run locally:

cd dashboard
pnpm install
pnpm dev

cd ../podrift
go run cmd/main.go
TODO:
  • local-first platform
  • OAuth2 auth
  • slick dashboard
  • run servers in docker
  • team features

License MIT

License