Moor logo

Moor

Community
varandrew

Moor is a local MCP control plane for Mac. It gives every coding agent one safe, observable, configurable gateway to your MCP servers.

Publishervarandrew
Repositorymoor
LanguageRust
Forks
10
Stars
201
Available tools
0
Transport typestdio
LicenseApache-2.0
Links
  • Connect tools to AI workflows

    Moor exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    201 stars and 10 forks from the linked repository.

English | 汉语 | 日本語 | Español


AI Agents need tools, but managing dozens of MCP servers across different clients is a mess. I wanted a single gateway that aggregates everything, filters by context, and keeps running in the background — all controllable from a beautiful native UI.

Moor exposes one endpoint (http://127.0.0.1:<port>/mcp) that dynamically serves only the tools you want, based on your active Profile. Switch profiles without disconnecting your Agent, and every tool call is audited. That's why I built it.

Install

macOS App

Download the .dmg from Releases, drag to Applications, done. The app bundles the HTTP server as an in-process Rust binary — no pre-installed Node.js runtime required.

Windows App

Download the Windows installer from Releases and run it. The app bundles the HTTP server as an in-process Rust binary — no pre-installed Node.js runtime required.

Linux App

Download the .deb, .rpm, or .AppImage from Releases (x86_64 and aarch64 builds are produced by CI). The app bundles the HTTP server as an in-process Rust binary — no pre-installed Node.js runtime required. macOS remains the primary target; Linux builds are produced by CI but less extensively tested.

Build from Source

Requires macOS (Apple Silicon / Intel), Windows x64, or Linux (x86_64 / aarch64), Node.js >= 22 (CI uses 24), pnpm >= 10, and Rust >= 1.77.

bash
git clone https://github.com/varandrew/moor.git
cd moor
pnpm install

See Development for build instructions.

Quickstart

Launch the App

Open Moor.app. The Dashboard shows your active Profile, server status, and recent audit logs at a glance.

Scan Existing Configs

Moor can automatically detect MCP servers you've already configured for Claude Code, Claude Desktop, Codex, OpenCode, Cursor, Kimi Code, dsh, Grok Build, and Pi:

  1. Go to Servers → Import
  2. Click Scan — Moor reads ~/.claude.json, ~/.codex/config.toml, ~/.config/opencode/opencode.json / .jsonc, ~/.cursor/mcp.json, ~/.kimi-code/mcp.json, ~/.dsh/cordis.patch.yml, ~/Library/Application Support/Claude/claude_desktop_config.json, ~/.grok/config.toml, and ~/.pi/agent/mcp.json (Pi needs the community adapter: pi install npm:pi-mcp-adapter)
  3. Select the servers you want to import

You can also paste a JSON MCP configuration with Import JSON. Moor imports stdio and HTTP/SSE servers, and reports unsupported entries such as OpenAPI configs without saving them.

Create a Profile

Profiles let you group servers and control which tools are exposed to Agents:

  1. Go to Profiles → New Profile
  2. Name it (e.g., "Coding", "Research")
  3. Toggle servers on/off
  4. Expand a server to enable/disable individual tools
  5. Click Activate — the change is instant

Connect Your Agent

Point any MCP-compatible client to Moor's single endpoint:

http://127.0.0.1:9223/mcp

9223 is the default gateway port. If it is already in use, Moor picks the next available port and shows the actual endpoint in the Dashboard and Client Config pages.

By default the /mcp endpoint is loopback-only and does not require X-Moor-Token (see LAN access below). Moor uses X-Moor-Token only for local management APIs between the WebView and gateway, so you do not need to paste it into agent configs.

To connect from WSL2 (NAT mode) or another LAN device, enable Settings → Advanced → Allow LAN MCP Access and restart Moor. The gateway then binds to all interfaces and /mcp additionally accepts private-network hosts (10.x.x.x, 172.16.x.x–172.31.x.x, 192.168.x.x); /api/* stays loopback-only and token-protected. Windows may prompt to allow Moor through the firewall.

Moor handles the rest — aggregating tools/list, routing tools/call, and filtering based on your active Profile.

Features

MCP Gateway Aggregation

A single HTTP endpoint (/mcp) proxies all backend MCP servers. Agents see a unified tool catalog — no need to configure multiple endpoints.

Multi-Transport Support

Connect to both stdio (subprocess) and HTTP/SSE MCP servers. Moor manages connection lifecycles, restarts, and health checks automatically.

Profile Management

Create unlimited Profiles for different workflows. Each Profile stores:

  • Which servers are enabled
  • Which tools are disabled per server
  • A global active state

Switch Profiles with hot-swap — connected Agents stay connected, and the next tools/list reflects the new configuration immediately.

Tool-Level Toggles

Beyond server-level on/off, drill into any server to disable specific tools. Disabled tools disappear from the Agent's tool catalog in real time.

Config Import

One-click import from:

  • Claude Code: ~/.claude.json
  • Codex: ~/.codex/config.toml
  • OpenCode: ~/.config/opencode/opencode.json / .jsonc
  • Cursor: ~/.cursor/mcp.json
  • Kimi Code: ~/.kimi-code/mcp.json
  • dsh: ~/.dsh/cordis.patch.yml
  • Claude Desktop: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Grok Build: ~/.grok/config.toml
  • Pi: ~/.pi/agent/mcp.json (requires pi install npm:pi-mcp-adapter)

Manual entry and pasted JSON batch import are also supported for stdio and HTTP/SSE servers.

Client Configuration

Generate ready-to-copy configuration snippets for Claude Code, Claude Desktop, Codex, OpenCode, Cursor, Kimi Code, dsh, Grok Build, and Pi. The snippets contain only the /mcp endpoint; Moor's X-Moor-Token is reserved for internal management API calls.

Audit Logs

Every tools/call is recorded with:

  • Timestamp, Profile, Server, Tool name
  • Arguments (with sensitive data redaction)
  • Result or error
  • Duration and Agent info

Filter by time range, server, or tool. View aggregate statistics on the Dashboard.

System Tray

Close the window — Moor keeps running in the macOS menu bar or Windows system tray. The gateway stays alive, so your Agents never lose connection.

Real-Time Status

Server status changes and Profile switches are pushed to the UI via SSE. No refresh needed.

Architecture

Moor.app
├── UI Layer          React + Vite + TypeScript + Tailwind CSS v4 + shadcn/ui
├── Desktop Layer     Tauri 2 / Rust
│   ├── Window management + tray icon
│   └── In-process HTTP server (Axum)
│       ├── MCP protocol gateway   POST /mcp — init, tools/list, tools/call
│       ├── Server management      stdio spawn + HTTP/SSE client
│       ├── Profile routing        Global active Profile, hot-swap
│       ├── Audit logging          Tool call recording
│       └── SSE push               Real-time status sync to WebView
└── Storage           SQLite (rusqlite)
    ├── servers (configs, status)
    ├── profiles (server groups + tool toggles)
    └── audit_logs (tool calls, params, results, errors)

Communication Flow

AI Agent ──HTTP──▶ POST /mcp ──▶ Moor Gateway ──stdio/HTTP──▶ MCP Servers
                              │
WebView ──IPC──▶ get_sidecar_info ─┐
WebView ──env──▶ VITE_MOOR_API_URL/TOKEN ─┤ (fallback in browser dev mode)
WebView ──fetch──▶ /api/* ─────────┘
WebView ◀──SSE──── /api/events
  • Runtime discovery: WebView → Tauri IPC (get_sidecar_info) → Rust (port, token); in browser dev mode (pnpm dev) falls back to the VITE_MOOR_API_URL / VITE_MOOR_API_TOKEN env vars — see src/lib/api/runtime.ts (GET /api/runtime exists but is token-protected)
  • Business operations: WebView → HTTP fetch() → In-process Axum server (Rust)
  • System operations: WebView → Tauri IPC → Rust (tray, window, auto-start)

Development

Prerequisites

Install Dependencies

bash
pnpm install

Development Mode

Start the full desktop app (Tauri, with the in-process Rust gateway):

bash
pnpm tauri dev

Production Build

bash
pnpm tauri build

Outputs:

  • macOS: src-tauri/target/release/bundle/macos/Moor.app
  • macOS DMG: src-tauri/target/release/bundle/dmg/Moor_<version>_aarch64.dmg
  • Windows: src-tauri/target/release/bundle/nsis/Moor_<version>_x64-setup.exe
  • Linux: .deb / .rpm / .AppImage under src-tauri/target/release/bundle/ (x86_64 + aarch64, built by CI)

Code Quality

bash
vp check       # format + lint + type check
vp lint        # lint only
vp lint --fix  # auto-fix
vp fmt         # format

Testing

bash
# Rust gateway tests
cargo test --manifest-path src-tauri/Cargo.toml

# Frontend + scripts tests
vp test

API

MCP Gateway

MethodPathDescription
ALL/mcpMCP protocol endpoint (Streamable HTTP)

Server Management

MethodPathDescription
GET/api/serversList all servers
POST/api/serversAdd server
GET/api/servers/:idServer detail
PUT/api/servers/:idUpdate server config
DELETE/api/servers/:idRemove server
POST/api/servers/:id/startStart server
POST/api/servers/:id/stopStop server
GET/api/servers/:id/toolsGet discovered tools (optionally filter by ?profile_id=)
PUT/api/servers/orderReorder servers

Profile Management

MethodPathDescription
GET/api/profilesList all profiles
POST/api/profilesCreate profile
GET/api/profiles/:idGet profile detail (with servers)
PUT/api/profiles/:idUpdate profile
DELETE/api/profiles/:idDelete profile
PUT/api/profiles/:id/activateSet as active profile
POST/api/profiles/:id/cloneClone a profile
GET/api/profiles/:id/servers/:serverIdGet server toggle + disabled tools
PUT/api/profiles/:id/servers/:serverIdUpdate server toggle + disabled tools
PUT/api/profiles/:id/servers-stateBulk upsert server toggles
GET/api/profiles/:id/toolsTools exposed by the profile

Audit Logs

MethodPathDescription
GET/api/logsQuery logs (with filters)
GET/api/logs/statsAggregate statistics
GET/api/logs/insightsTool-call governance insights

Settings Management

MethodPathDescription
GET/api/settingsGet settings
PATCH/api/settingsUpdate settings
POST/api/settings/resetReset to defaults

Other

MethodPathDescription
GET/api/healthHealth check
GET/api/runtimeRuntime info (port, URL)
GET/api/eventsSSE real-time event stream
POST/api/import/scanScan local client configs
POST/api/import/parsePreview pasted JSON import
POST/api/import/executeExecute import
GET/api/import/snippetsGenerate client config snippets
POST/api/import/convertConvert configs between clients

Tech Stack

LayerTechnology
FrontendReact 19, vite-plus, TypeScript 5.7, Tailwind CSS v4
UI PrimitivesRadix UI
UI Componentsshadcn/ui (New York style)
DesktopTauri 2 (Rust)
GatewayRust, Axum, Tokio, rusqlite (in-process)
DatabaseSQLite (rusqlite)
MCP ProtocolCustom Rust implementation (JSON-RPC over Streamable HTTP / stdio)
IconsLucide React
Toolingvite-plus (vp CLI), Oxlint, Oxfmt, Vitest

Acknowledgements

Thanks to the linuxdo community for discussion, sharing, and feedback.

❤️ Sponsor

ko-fi

🌟 Star History

Star History Chart

License

MIT

Use Moor MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Moor is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Moor as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Moor MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "moor": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Moor MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Moor MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Moor to help me with this task?
Moor
Sure. I read it.
Here is what I found using Moor.

Frequently asked questions

What is the Moor MCP server used for?

Moor is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Moor MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Moor with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Moor MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Moor connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Moor MCP to TypingMind?

Moor runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Moor MCP provide in TypingMind?

Moor exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Moor MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Moor requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇