Outpost
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Outpost
A single-host Nitro v3 server that exposes a set of system/file/process/search tools over MCP, with Better Auth providing authentication and an OAuth 2.1 authorization server for MCP clients.
Stack
Nitro v3 / H3 v2 server (
server/)@modelcontextprotocol/serverfor the MCP endpoint at/mcpBetter Auth with the
jwt,mcpandcimdpluginsDrizzle ORM using Node's built-in
node:sqlitedriver (nosqlite3package)Bun for the single-file binary build
Related MCP server: MachineBridge Unified Server
Requirements
Bun 1.4+ (for
bun install,bun run, andnpm run build:binary)The compiled binary needs no Node.js or Bun installation on the target machine
Getting started
bun install
bun run devOn first launch the server creates ~/.config/outpost/config.json (next to
outpost.db) with default values. An empty {} means "use defaults". There is
no need to create a .env file. The dev server listens on port 65432 by
default.
Scripts
Script | Description |
| Start the Nitro development server |
| Build a regular |
| Preview a built server |
| Build a standalone single-file executable into |
| Generate a Drizzle migration from |
| Apply generated migrations to the SQLite database |
| Push the schema directly to the database |
| Open Drizzle Studio |
| Format the project with Prettier |
| Lint with ESLint |
Single-file binary
npm run build:binaryThe build script:
Builds Nitro with the
bunpreset and inlined static assets.Compiles the server into
dist/outpost(.exeon Windows).Reads configuration at runtime from
~/.config/outpost/config.json, so no.env,node_modulesor.outputdirectory is needed at runtime.
Run it from any directory:
./dist/outpost
PORT=8080 ./dist/outpost # override the port at runtimeOptional build variables:
BINARY_TARGET— Bun compile target, e.g.bun-linux-x64,bun-darwin-arm64,bun-windows-x64. Defaults to the current platform. A binary is only portable to the OS/architecture it was built for.BINARY_NAME— output name without extension (defaultoutpost).
Configuration
Runtime configuration lives in ~/.config/outpost/config.json, next to the
SQLite database. It is created automatically as {} on first launch; see
config.example.json and config.schema.json in the repository for the
schema and a template.
Key | Default | Purpose |
|
| Port the server listens on |
| development fallback | Session/token signing secret — set this in production |
|
| Public origin used by Better Auth (the tunnel URL) |
|
| SQLite filename, resolved inside |
|
| Canonical MCP protected resource identifier |
|
| Optional application keys/tokens |
Environment variables can override individual keys at runtime:
PORT, BETTER_AUTH_SECRET, BETTER_AUTH_URL, DB_FILE_NAME,
MCP_RESOURCE_URL. A .env file is optional and only acts as an override —
it is never used to create config.json.
The database and Better Auth tables are created automatically on first start, including from the compiled binary.
HTTP endpoints
/mcp— OAuth-protected MCP endpoint (statelessPOST, MCP 2026-07-28)/api/auth/*— Better Auth routes (sign-in, OAuth 2.1, JWKS, etc.)/sign-in.html— login page used by the OAuth authorization flow/sign-up.html— account creation page (prompt=create); continues the authorization flow automatically after registration/consent.html— consent page for client authorization/.well-known/oauth-protected-resource— RFC 9728 metadata for MCP clients
MCP tools
exec plus tools for processes (process_start, process_kill,
process_input, process_output, process_list, process_info), files
(file_read, file_write, file_edit, file_move, file_delete, …),
directories, searches, system/resources/information, configuration, usage
statistics, clipboard, notifications, port listing and diffs. All tools adapt
their implementation to Windows, macOS and Linux.
Desktop automation tools: mouse_click, mouse_move, mouse_scroll,
mouse_drag, keyboard_type, keyboard_press, keyboard_hotkey, screenshot,
get_screen_info, get_active_window, get_cursor_position. Browser tools
(browser_navigate, browser_get_info, browser_get_tabs, browser_back,
browser_forward) drive the system default browser through OS-native
APIs. The redundant browser_switch_tab, browser_click, browser_type,
browser_press, browser_drag and browser_screenshot registrations are
commented out in server/tools/browser.ts because global mouse/keyboard and
screenshot tools cover them. The screenshot tool returns a real MCP
ImageContent block, so the agent can see the image.
Warning: these tools are powerful and are not sandboxed. Do not expose this server to untrusted networks without authentication and access controls.
Database schema
server/db/schema.ts is generated with:
bun x auth generate --config ./server/utils/auth.ts --yesThe generated relation definitions are kept in Drizzle's Relations v2 form
(defineRelations) because the CLI emits the removed v1 API. The generated
tables cover the core auth tables plus the OAuth provider/JWT tables used by
the mcp plugin.
Notes
BETTER_AUTH_URLmust be the public origin (the cloudflared tunnel URL), notlocalhost. Otherwise the discovery documents advertise a localhost issuer and MCP clients report that they cannot find the OAuth parameters.MCP_RESOURCE_URLmust match the public/mcpURL exactly, including the path, so theaudclaim andresource_metadatachallenge point to the same resource.The
/mcproute is wrapped withrequireMcpAuthfrom@better-auth/mcp. Unauthenticated requests receive a JSON-RPC 401 with aWWW-Authenticateheader that points at/.well-known/oauth-protected-resource/mcp.Sessions and OAuth state are stored in the same SQLite file under
~/.config/outpost.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Use your own Windows, Mac or Linux computer from ChatGPT, Claude, Cursor or Gemini CLI: run commands, read, write and search files, run long processes. Your computer only makes an outgoing connection (no open ports or VPN). Read-only mode, allowed folders, blocked commands and an action log keep you in control. Free plan available.
Remote MCP server exposing your Node Command fleet (files, shell, processes, browser) to AI hosts.
Remote MCP access to user-authorized Linux, Windows and Intel Mac devices for AI assistants.
Operate Linux, macOS and Windows from your LLM. Every action runs through an auditable allowlist.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables an AI agent to take full control of a machine — running shell commands, editing files, managing git, packages and processes, and reaching the network — with batched execution, server-side variables and selectable tool profiles that keep token usage low. It also speaks HTTP so the same agent can operate a remote build box, NAS or VPS.262MIT
- FlicenseNot gradedqualityBmaintenanceEnables AI clients and agents to execute commands in real interactive PTY sessions, manage host filesystem operations, and access 15 MCP tools via Stdio, SSE, or REST with secure API-key authentication.-
- AlicenseAqualityCmaintenanceGives MCP-compatible AI agents a full local terminal over stdio, enabling shell command execution, file reads and writes, content search, background processes, and stateful tmux sessions with variable capture, auditing, and a configurable command denylist. Requires no deployment or cloud setup.15MIT
- AlicenseNot gradedqualityBmaintenanceTurns your own computer into a remotely reachable MCP server so AI clients anywhere can read, write, and run commands against its files, toolchains, and local services. Includes a built-in Cloudflare tunnel, bearer-token auth, and switchable read-only, workspace, and full permission tiers with call logging.5MIT