About Mathom
Mathom is an MCP server published by stephenlacy in the Developer Tools category: run and monitor MCP servers locally.
The repository has 215 stars and 13 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/stephenlacy/mathomThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Mathom
Powered by Claude · Grounded in docs
Security checks
Static checks derived from the repository 13 hours ago. Heuristics on the source, not an audit.
- ✓README presentThe repository ships documentation.
- ✓License declaredUsable under a stated license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
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
npxwithmcx
⚡ 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
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
README fetched from the repository 13 hours ago. The original is authoritative.