Maskin MCP Server
Open-source workspace where AI agents do the work and humans set direction. Apache 2.0.
Maskin scores 66 (Good), licensed Apache-2.0 and written in TypeScript. It can be reached as a remote MCP endpoint. It does not declare tools yet. Filed under Uncategorized. GitHub shows 8 stars. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
66 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: apache-2.0.
License, quality and maintenance
Quality: Grade C
65/100 for listing completeness. Lost points: no listed tools, short summary.
How quality is graded
Where the 66 comes from
22 + 20 + 3 + 10 + 4 + 7 = 66. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 3 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Remote auth: OAuth sign-in. Your client opens a browser window to sign in with the provider. No key goes in the config file. How remote auth works
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "sindre-ai-maskin": { "url": "https://maskin.io/mcp" } }}
Environment variables
This server does not declare environment variables.
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
Maskin
An open-source workspace where AI agents run product development autonomously. Humans set direction, agents execute.
What is this?
- Open-source workspace where AI agents run product development end-to-end
- Core pipeline: Insights (signals from users, data, market) -> Bets (hypotheses to validate) -> Tasks (concrete work items) -> Feedback Loop
- Agents are first-class citizens -- they create insights, propose bets, break down tasks, and execute. Humans course-correct
- Everything is an API -- UI and agents use the same endpoints. No special agent interface, no separate human interface
- Unified object model -- insights, bets, and tasks are all "objects" with the same schema, connected by relationships
Prerequisites
- Node.js ā„ 20
- pnpm 9.15.0 (
npm install -g pnpm@9.15.0) - Docker + Docker Compose ā must be installed and running.
pnpm dev/pnpm dev:winboot PostgreSQL + SeaweedFS viadocker-compose, so the app cannot start without Docker. Docker Desktop (macOS/Windows) bundles Compose; on Linux installdocker-compose-plugin.
Quick Start
š Zero-click setup (from Claude Code)
Paste this single prompt into Claude Code (or any MCP-compatible agent) to have it bootstrap the whole thing for you:
Clone https://github.com/sindre-ai/maskin, cd into it, follow the "Onboarding a new user from Claude Code" section of CLAUDE.md, and hand off to the list_marketplace MCP tool.
Claude will clone, pnpm install, start the dev stack in the background, wait for the startup banner, wire the MCP server into your Claude Code config using the auto-provisioned API key + workspace, run /reload-plugins so the Maskin tools are immediately available in the same session, and then ask you which template to set up (development / growth / custom). From clone to a running pipeline in one message, no session restart.
Manual setup
# Clone and install
git clone https://github.com/sindre-ai/maskin.git && cd maskin
pnpm install
# Start everything (Docker + migrations + backend + frontend)
pnpm dev # macOS / Linux
pnpm dev:win # Windows (cmd / PowerShell)
pnpm dev boots PostgreSQL + SeaweedFS via Docker, runs migrations, then starts the backend (http://localhost:3000) and frontend (http://localhost:5173). When the backend prints its startup banner, pick one of the two paths below.
ā Get started from the browser
- Open
http://localhost:5173and create an account. - Create your first workspace from the UI.
- (Optional) Connect MCP from Settings ā MCP later if you want agents to drive the workspace.
ā” Get started from Claude Code (no UI)
On a fresh database, pnpm dev automatically creates a default actor + workspace and prints a ready-to-run claude mcp add command in the startup banner ā including the API key. Two steps from there:
-
Connect MCP ā copy the
claude mcp add maskin ā¦line from the dev banner and run it. (Disable this auto-bootstrap withMASKIN_AUTO_BOOTSTRAP=falseif you want to create credentials yourself.) -
Configure the workspace. In Claude Code, paste one of:
Configure my Maskin workspace with the "development" template.Configure my Maskin workspace with the "growth" template.Configure my Maskin workspace with a custom template.The first two apply pre-built templates (object types, statuses, custom fields, seed objects). The third walks you through a short questionnaire and tailors the workspace to whatever you're working on. Claude will ask a couple of light tailoring questions (workspace name, what you're building, near-term goal) ā answer any, all, or none. Total time: under 3 minutes.
Rename the default actor and workspace whenever you're ready ā from the UI (Settings ā Profile / Workspace) or via MCP (update_actor, update_workspace). Run list_marketplace again any time on a different workspace by passing workspace_id.
Want demo data instead? Run
pnpm db:seedfor a pre-populated example workspace.
Architecture
maskin/
āāā apps/
ā āāā dev/ # Backend API server (Hono.js)
ā ā āāā src/
ā ā ā āāā index.ts # App entry, middleware, route mounting
ā ā ā āāā routes/ # REST endpoints
ā ā ā ā āāā objects.ts
ā ā ā ā āāā actors.ts
ā ā ā ā āāā workspaces.ts
ā ā ā ā āāā relationships.ts
ā ā ā ā āāā triggers.ts
ā ā ā ā āāā events.ts
ā ā ā ā āāā sessions.ts
ā ā ā ā āāā integrations.ts
ā ā ā ā āāā graph.ts
ā ā ā āāā services/
ā ā ā ā āāā trigger-runner.ts # Cron + event-based automation
ā ā ā ā āāā session-manager.ts # Container-based agent sessions
ā ā ā ā āāā container-manager.ts # Docker container lifecycle
ā ā ā ā āāā agent-storage.ts # S3 agent file pull/push
ā ā ā āāā lib/
ā ā ā āāā llm/ # LLM provider adapters
ā ā ā āāā openai.ts
ā ā ā āāā anthropic.ts
ā ā āāā Dockerfile
ā āāā web/ # Frontend (React + TanStack)
ā ā āāā src/
ā ā āāā routes/ # File-based routing (TanStack Router)
ā ā āāā components/ # UI primitives, shared, and feature components
ā ā āāā hooks/ # TanStack Query hooks per resource
ā ā āāā lib/ # API client, auth, SSE, utilities
ā āāā e2e/ # E2E tests (Playwright)
ā āāā src/
ā āāā tests/ # Test specs (auth, CRUD, navigation)
ā āāā fixtures/ # Auth fixtures
ā āāā helpers/ # API test helpers
āāā scripts/
ā āāā dev.sh # Dev startup script (bash/macOS/Linux)
ā āāā dev.mjs # Dev startup script (Windows cmd/PowerShell)
ā āāā openrouter-conformance.mjs # Tool-use + reply-language check of a model on the funded OpenRouter route (spends credit; see header)
āāā packages/
ā āāā db/ # Drizzle ORM schema + migrations
ā āāā auth/ # API key auth (keys stored as issued; hashing planned)
ā āāā shared/ # Zod schemas for validation
ā āāā realtime/ # PG NOTIFY -> SSE bridge
ā āāā storage/ # Abstract StorageProvider with S3 implementation
ā āāā mcp/ # MCP server (39 tools, stdio + HTTP transport)
āāā docker-compose.yml
āāā turbo.json
āāā package.json
Key design decisions:
- Modular monorepo -- pnpm workspaces + Turborepo for builds. Each package is independently importable
- Event-sourced activity -- every mutation logs an event. Agents and humans see the same audit trail
- Container-based agent execution -- Docker container sessions (SessionManager) for running Claude Code, Codex, or custom CLIs
Tech Stack
| Layer | Choice | Why |
|---|---|---|
| Runtime | Node.js >= 20 | Native fetch, stable ESM |
| Language | TypeScript 5.7+ | Type safety across monorepo |
| API Framework | Hono.js + OpenAPIHono | Fast, lightweight, edge-ready |
| ORM | Drizzle ORM | Type-safe SQL, zero overhead |
| Database | PostgreSQL 16 | JSONB for metadata, NOTIFY for real-time |
| Validation | Zod | Shared schemas between API, frontend, and MCP |
| Auth | API keys (stored as issued, hashing planned) | Simple, agent-friendly. No cookies or sessions |
| Real-time | PG NOTIFY -> SSE | No extra infra (no Redis, no WebSocket server) |
| Agent Protocol | MCP (Model Context Protocol) | Standard protocol for external AI agents |
| Frontend | React 19 + TanStack Router + TanStack Query | File-based routing, server state caching |
| Styling | Tailwind CSS 4 + shadcn/ui | Utility-first CSS with Radix UI primitives |
| Object Storage | S3-compatible (SeaweedFS for dev) | Agent file persistence (skills, learnings, memory) |
| Containers | Docker + dockerode | Ephemeral agent execution environments |
| Build | Turborepo | Parallel builds, dependency-aware caching |
| Linting | Biome | Fast, replaces ESLint + Prettier |
Data Model
All product work is represented as unified objects -- insights, bets, and tasks share the same table with a type discriminator. This keeps the schema flat and lets agents reason across object types uniformly.
Tables
| Table | Purpose |
|---|---|
| actors | Humans and AI agents. Both are first-class. Stores type, name, API key (stored as issued, hashing planned), system prompt, LLM config, and memory |
| workspaces | Isolated environments. Each workspace has its own settings including valid statuses per object type |
| workspace_members | Many-to-many join between actors and workspaces with roles (owner, member) |
| objects | The core table. Every insight, bet, and task is an object with: type, title, content, status, metadata (JSONB), and owner |
| relationships | Typed edges between objects: informs, breaks_into, blocks, relates_to, duplicates |
| events | Append-only activity log. Every mutation is recorded with actor, action, entity reference, and data payload |
| triggers | Automation rules. Either cron-based or event-based. Each trigger targets an actor and includes an action prompt |
| integrations | External service connections per workspace (OAuth-based) |
| sessions | Container-based agent execution sessions. Tracks lifecycle: pending -> running -> completed/paused/failed/timeout |
| session_logs | Append-only log output from container sessions (stdout/stderr/system), used for SSE streaming |
| agent_files | Metadata index for agent files stored in S3 (skills, learnings, memory) |
API Endpoints
All endpoints are under /api. Most require Authorization: Bearer <api-key> and X-Workspace-Id headers.
Health and Metadata
| Method | Path | Description |
|---|---|---|
| GET | /api/health | Liveness check (no auth, no database) |
| GET | /api/health/db | Database readiness check (no auth) |
| GET | /api/openapi.json | OpenAPI spec (no auth) |
Objects (Insights, Bets, Tasks)
| Method | Path | Description |
|---|---|---|
| POST | /api/objects | Create an object |
| GET | /api/objects | List objects (filter by type, status, owner) |
| GET | /api/objects/search | Search objects by text in title/content |
| GET | /api/objects/:id | Get object by ID |
| GET | /api/objects/:id/graph | Get object with all relationships and connected objects |
| PATCH | /api/objects/:id | Update object (title, content, status, metadata) |
| DELETE | /api/objects/:id | Delete object |
Actors
| Method | Path | Description |
|---|---|---|
| POST | /api/actors | Create actor and get API key (no auth for humans; an agent needs the caller's API key and a workspace_id the caller belongs to) |
| GET | /api/actors | List actors (optionally filtered by workspace) |
| GET | /api/actors/:id | Get actor details |
| PATCH | /api/actors/:id | Update actor |
| POST | /api/actors/:id/api-keys | Regenerate API key |
Workspaces
| Method | Path | Description |
|---|---|---|
| POST | /api/workspaces | Create workspace |
| GET | /api/workspaces | List workspaces for current actor |
| PATCH | /api/workspaces/:id | Update workspace (name, settings) |
| POST | /api/workspaces/:id/members | Add member to workspace |
| GET | /api/workspaces/:id/members | List workspace members |
Relationships
| Method | Path | Description |
|---|---|---|
| POST | /api/relationships | Create relationship between objects |
| GET | /api/relationships | List relationships (filter by source, target, type) |
| DELETE | /api/relationships/:id | Delete relationship |
Triggers
| Method | Path | Description |
|---|---|---|
| POST | /api/triggers | Create automation trigger |
| GET | /api/triggers | List triggers in workspace |
| PATCH | /api/triggers/:id | Update trigger |
| DELETE | /api/triggers/:id | Delete trigger |
Events
| Method | Path | Description |
|---|---|---|
| GET | /api/events | SSE stream of real-time events (supports Last-Event-ID for replay) |
| GET | /api/events/history | Paginated event history (filter by entity_type, action, since) |
Sessions (Container-based Agent Execution)
| Method | Path | Description |
|---|---|---|
| POST | /api/sessions | Create a container session |
| GET | /api/sessions | List sessions |
| GET | /api/sessions/:id | Get session details |
| POST | /api/sessions/:id/stop | Stop a running session |
| POST | /api/sessions/:id/pause | Pause and snapshot a session |
| POST | /api/sessions/:id/resume | Resume a paused session |
| GET | /api/sessions/:id/logs | Paginated log history |
| GET | /api/sessions/:id/logs/stream | SSE stream of live logs |
Graph (Batch Operations)
| Method | Path | Description |
|---|---|---|
| POST | /api/graph | Atomic batch create (objects + relationships in one transaction) |
Integrations
| Method | Path | Description |
|---|---|---|
| GET | /api/integrations | List integrations for workspace |
| GET | /api/integrations/providers | List available providers |
| POST | /api/integrations/:provider/connect | Start OAuth/connection flow |
| GET | /api/integrations/:provider/callback | OAuth callback (no auth) |
| DELETE | /api/integrations/:id | Disconnect integration |
Webhooks
| Method | Path | Description |
|---|---|---|
| POST | /api/webhooks/:provider | Incoming webhook handler (no auth) |
MCP HTTP Transport
| Method | Path | Description |
|---|---|---|
| POST | /mcp | Streamable HTTP transport for MCP clients |
Agent System
Agents run as container sessions ā ephemeral Docker containers running CLI agents (Claude Code, Codex, custom CLIs).
-
Triggered by events or cron -- the TriggerRunner watches for matching events or schedules and spawns container sessions
-
All actions logged as events -- every agent action appears in the event stream, attributed to the agent actor
-
Configurable per agent -- each agent has its own system prompt, tools list, and persistent memory
-
Full lifecycle management -- create, run, stop, pause (snapshot), resume
-
Live log streaming -- stdout/stderr streamed via SSE in real-time
-
Persistent agent files -- skills, learnings, and memory stored in S3-compatible storage, pulled into containers on start and pushed back on completion
-
Configurable -- custom images, environment variables, timeouts, working directories
External Agents (MCP)
External agents connect via the Model Context Protocol (39 tools available), supporting both stdio and HTTP transport.
- Full workspace access -- CRUD for objects, relationships, actors, workspaces, triggers, sessions, integrations
- Works with any MCP-compatible client -- Claude Code, Claude Desktop, OpenAI agents, custom implementations
- Authenticated via API key -- same auth as any other actor
MCP Reference
Maskin exposes 73 MCP tools over both stdio and HTTP. See Quick Start ā Get started from Claude Code above for the one-command setup. Other clients (Claude Desktop, OpenAI agents, custom implementations) use the same env vars (API_BASE_URL, API_KEY, WORKSPACE_ID) ā point them at pnpm --filter @maskin/mcp start for stdio, or POST http://localhost:3000/mcp for HTTP.
The first tool a new agent should call is list_marketplace ā it lists the available marketplace loops, and install_loop installs the one the user picks.
Gemini CLI
Install the Maskin extension with one command:
gemini extensions install https://github.com/sindre-ai/maskin
Gemini CLI asks for two values: your Maskin API key and your workspace ID. Both are on the Other tab under Settings ā MCP in Maskin. The key is stored in your system keychain. Then start gemini and try: "List the objects in my Maskin workspace." To create something, try: "Create a task called 'Try Maskin from Gemini' in Maskin." It shows up in Maskin under your name.
Sign-in without a key is not supported for Gemini CLI yet. Maskin's sign-in accepts only Claude and ChatGPT as clients. The extension manifest is gemini-extension.json; the listing notes are in docs/listings/gemini-cli.md.
Docker
# Full stack (PostgreSQL + SeaweedFS + dev server)
docker-compose up
# Just the database and storage
docker-compose up postgres seaweedfs -d
The dev server container runs migrations on startup and serves at http://localhost:3000.
Development
# Start everything (Docker + migrations + dev servers)
pnpm dev
# On Windows (cmd/PowerShell):
pnpm dev:win
# Build all packages
pnpm build
# Run tests
pnpm test
# Run E2E tests (requires running dev server)
pnpm test:e2e
# Lint (Biome)
pnpm lint
# Lint and auto-fix
pnpm lint:fix
# Format
pnpm format
# Type checking
pnpm type-check
# Database: generate migration from schema changes
pnpm db:generate
# Database: run pending migrations (automatically run by pnpm dev)
pnpm db:migrate
# Database: seed demo data
pnpm db:seed
Environment Variables
| Variable | Required | Default | Description |
|---|---|---|---|
DATABASE_URL | Yes | -- | PostgreSQL connection string |
PORT | No | 3000 | Server port |
S3_ENDPOINT | No | http://localhost:8333 | S3-compatible storage endpoint (SeaweedFS for dev) |
S3_BUCKET | No | agent-files | Storage bucket name |
S3_ACCESS_KEY | No | admin | S3 access key |
S3_SECRET_KEY | No | admin | S3 secret key |
S3_REGION | No | us-east-1 | S3 region |
S3_PUBLIC_ENDPOINT | No | S3_ENDPOINT | Address browsers use to reach storage for presigned uploads/downloads of large files. Set it when S3_ENDPOINT is an internal host. The bucket needs CORS: see docs/runbooks/large-file-uploads.md |
License
Apache 2.0 ā see LICENSE for details.
Frequently asked questions
What is Maskin MCP Server?
Open-source workspace where AI agents do the work and humans set direction. Apache 2.0.
How do I install Maskin MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Maskin MCP Server connects to the remote endpoint https://maskin.io/mcp, so there is nothing to install locally.
Is Maskin MCP Server free and open source?
Yes. Maskin MCP Server is released under the Apache-2.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Maskin MCP Server support remote (HTTP) connections?
Yes. Maskin MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
How is Maskin MCP Server's trust score calculated?
Maskin MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yetāBe the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.