Personal OS MCP
This server exposes a set of MCP tools that act as a proxy to the Personal OS AI API, allowing you to manage tasks, tags, containers, projects, collections, notes, unified item listings, and review sessions.
System Tools: Check API health and capabilities.
Task Management: Create, read, update, complete, reopen, archive, unarchive, move to trash, restore, and atomically bulk update up to 100 tasks. Filter by status, state, tags, projects, containers, dates, and duration (1–10080 minutes). Manage planning fields (today, tomorrow, someday, scheduled, due dates) and list by planning views. Paginate results or fetch all matching items.
Tag Management: Create, read, update, archive, restore, and permanently delete tags. Supports name, color, emoji, and description.
Container/List Management: Create, read, update, archive, restore, and permanently delete containers of types: Inbox, Area, Project, Collection, Reach Out, Someday.
Project Management: Create, read, update, archive, restore, and permanently delete projects (specialized containers under Areas).
Collection Management: Create, read, update, archive, restore, and permanently delete root-level collections.
Note Management: Create, read, update, complete, uncomplete, archive, restore, and permanently delete notes (notes do not use trash). Notes support title, body, tags, planning, background color, and inbox placement.
Unified Item Listings: Fetch mixed items (tasks, notes, checklists) from inbox, archive, or planning views such as today, tomorrow, upcoming, and someday.
Review Management: List review history and available types. Start or resume sessions. Update section markers, apply actions (keep, schedule, complete, archive, delete, assign tags/containers), skip items, and complete or abandon reviews. Get session summaries.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Personal OS MCPCreate a task called 'Buy groceries' with high priority"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Personal OS MCP
Independent Model Context Protocol server for the Personal OS AI API. It exposes the same practical, typed MCP tools over local stdio or remote Streamable HTTP and performs every real operation through the existing HTTP API.
MCP client → personal-os-mcp → Personal OS /api/v1/ai/* → Personal OS databaseThe server never connects to MySQL, imports Laravel internals, accepts a User ID, or reproduces Personal OS ownership and lifecycle logic. Personal OS remains authoritative.
Technology
Node.js 20 or newer
Node.js 22.7.5 or newer when running the current MCP Inspector
TypeScript with strict checking
Official
@modelcontextprotocol/sdk1.30Zod schemas
Native Node
fetchVitest, ESLint, and Prettier
Local
stdioand remote stateless Streamable HTTP transports
Related MCP server: MCP Personal Tools Server
Setup
Personal OS must be available locally, normally at http://localhost:8080.
cd /home/lika/projects/personal-os-mcp
npm install
cp .env.example .envCreate a dedicated User-bound AI token from the Personal OS project:
cd /home/lika/projects/personal-os
docker compose exec app php artisan ai:token user@example.com --name=chatgptUse the actual account email interactively. The token is displayed once. Store it only in the local ignored .env file or a secret manager:
MCP_TRANSPORT=stdio
PORT=8080
PERSONAL_OS_BASE_URL=http://localhost:8080
PERSONAL_OS_AI_TOKEN=replace_with_the_once_displayed_token
PERSONAL_OS_MCP_TIMEOUT_SECONDS=15Never commit, log, paste into documentation, or place a real token in .env.example.
Commands
npm run dev
npm run typecheck
npm run build
npm start
npm run start:stdio
npm test
npm run lint
npm run format:checkDevelopment mode runs TypeScript directly and respects MCP_TRANSPORT from the environment (stdio by default). npm run build writes ESM output to dist. Once built, npm start always runs the HTTP transport (this is what Railway/Docker run) and npm run start:stdio always runs the stdio transport (this is what Claude Desktop runs locally), regardless of any MCP_TRANSPORT already in the environment — each script sets it explicitly.
Local stdio
stdio is the default transport for npm run dev and remains suitable for local clients and MCP Inspector. Against a built server:
npm run start:stdioInspect the built server with the official MCP Inspector:
npm run build
MCP_TRANSPORT=stdio npx @modelcontextprotocol/inspector node dist/index.jsProtocol messages use stdout in this mode. Configuration failures use stderr without printing the token or environment.
Remote Streamable HTTP
HTTP mode binds to 0.0.0.0, listens on PORT (falling back to 8080 if unset), and exposes:
POST /mcp— stateless MCP Streamable HTTP;GET /health— process health (JSON body);GET /healthz— plain-textOKprobe for the Railway healthcheck. Never calls the Personal OS API, requires no auth, and touches no database or MCP client state;OPTIONS /mcp,OPTIONS /health,OPTIONS /healthz— CORS preflight.
Start it locally:
PORT=8080 npm startThe public MCP URL is https://YOUR_PUBLIC_HOST/mcp.
For the requested development topology:
ChatGPT → Railway personal-os-mcp → PERSONAL_OS_BASE_URL (ngrok) → local Personal OSThe Personal OS AI token stays only in the MCP service environment. It is never returned by /health, included in MCP errors, or written to logs. Because this stage intentionally adds no OAuth, anyone who can reach the public MCP URL can invoke the User-bound tools. Rotate or revoke the AI token when the endpoint is no longer needed.
Railway
The repository includes a multi-stage Dockerfile and minimal railway.json. Configure:
MCP_TRANSPORT=http
PERSONAL_OS_BASE_URL=https://<your-personal-os-railway-domain>
PERSONAL_OS_AI_TOKEN=your_secret_ai_token
PERSONAL_OS_MCP_TIMEOUT_SECONDS=15PERSONAL_OS_BASE_URL should point at the deployed Personal OS web service's
public URL once that app is also on Railway (see
personal-os/docs/deployment/railway.md in that repo). For local-only
experimentation against a Personal OS instance that isn't deployed yet, an
ngrok tunnel to your local Personal OS works the same way — any reachable
HTTPS origin is accepted.
PERSONAL_OS_AI_TOKEN is minted from the Personal OS app itself, not from
this repo: php artisan ai:token <email> --name=mcp (see that app's
app/Console/Commands/CreateAiToken.php). Treat it as a secret — it grants
the bearer the ai:access ability scoped to that one Laravel user's data.
Railway supplies PORT; do not hardcode it. The container's Dockerfile CMD runs node dist/index.js directly (with MCP_TRANSPORT=http baked in as an image default), and Railway checks /healthz. railway.json intentionally defines no deploy.startCommand — one that merely repeats the Dockerfile's own start behavior risks Railway bypassing the image's CMD entirely, which is exactly the failure mode to avoid. No database, persistent volume, OAuth service, or Personal OS deployment is required in this repo — only network access to wherever Personal OS is running.
Verify locally with curl http://127.0.0.1:8080/healthz. For MCP Inspector, run npx @modelcontextprotocol/inspector, select Streamable HTTP, and use http://127.0.0.1:8080/mcp.
Tools
System
personal_os_healthpersonal_os_capabilities
Tasks and Planning
personal_os_list_taskspersonal_os_get_taskpersonal_os_create_taskpersonal_os_update_taskpersonal_os_bulk_update_taskspersonal_os_complete_taskpersonal_os_reopen_taskpersonal_os_archive_taskpersonal_os_unarchive_taskpersonal_os_move_task_to_trashpersonal_os_restore_taskpersonal_os_update_task_planningpersonal_os_list_planning_taskspersonal_os_get_task_planning
Task create and update tools accept the optional estimated_minutes field: a nullable integer from 1 to 10080 representing the Task's total estimated duration in minutes (never hours/minutes pairs, decimal hours, or time-of-day strings). Send null to clear an existing estimate. personal_os_list_tasks supports three numeric duration filters: estimated_minutes (exact match), min_estimated_minutes (inclusive minimum), and max_estimated_minutes (inclusive maximum) — map natural-language duration requests to these, e.g. "5-minute tasks" -> estimated_minutes: 5, "under 30 minutes" -> max_estimated_minutes: 30, "one to two hours" -> min_estimated_minutes: 60, max_estimated_minutes: 120.
Paginated Task and unified-item list tools accept page and per_page (maximum 100). Normal requests return one page and add a concise pagination status indicating whether another page exists. Set fetch_all: true only when the user explicitly asks for every matching item. The MCP adapter then follows Laravel pagination metadata while preserving the original filters and ordering, stops after at most 10 pages, and reports truncated: true plus next_page when more results remain. The MCP-only fetch_all flag is never forwarded to Personal OS.
Tags
personal_os_list_tagspersonal_os_get_tagpersonal_os_create_tagpersonal_os_update_tagpersonal_os_archive_tagpersonal_os_restore_tagpersonal_os_delete_tag
Tag create and update tools accept the optional description field (maximum 1,000 characters) and forward it unchanged to the Personal OS AI API.
Containers / Lists
personal_os_list_containerspersonal_os_get_containerpersonal_os_create_containerpersonal_os_update_containerpersonal_os_archive_containerpersonal_os_restore_containerpersonal_os_delete_container
Projects
personal_os_list_projectspersonal_os_get_projectpersonal_os_create_projectpersonal_os_update_projectpersonal_os_archive_projectpersonal_os_restore_projectpersonal_os_delete_project
Collections
personal_os_list_collectionspersonal_os_get_collectionpersonal_os_create_collectionpersonal_os_update_collectionpersonal_os_archive_collectionpersonal_os_restore_collectionpersonal_os_delete_collection
A Collection is a root-level Task Container. There is no collection-item model or item mutation tool.
Notes
personal_os_list_notespersonal_os_get_notepersonal_os_create_notepersonal_os_update_notepersonal_os_complete_notepersonal_os_uncomplete_notepersonal_os_archive_notepersonal_os_restore_notepersonal_os_delete_note
Unified Items
personal_os_list_inbox_itemspersonal_os_list_archive_itemspersonal_os_list_planning_items
Reviews
personal_os_list_reviewspersonal_os_list_review_typespersonal_os_get_reviewpersonal_os_start_reviewpersonal_os_update_review_sectionpersonal_os_apply_review_actionpersonal_os_skip_review_itempersonal_os_complete_reviewpersonal_os_abandon_reviewpersonal_os_get_review_summary
Safety metadata
MCP annotations use only SDK-supported fields: readOnlyHint, destructiveHint, idempotentHint, and openWorldHint.
Confirmation is recommended for:
every permanent delete tool;
bulk Task update;
moving a Task to Trash;
archive actions;
abandoning a Review;
Review item actions because an action may mutate or delete its source.
Lifecycle meanings:
Trash: recoverable Task soft delete;
personal_os_restore_taskcan recover it.Archive: reversible removal from active views; the matching restore/unarchive action reactivates it.
Final delete: permanent and irreversible; applies to Containers, Projects, Collections, Tags, and Notes.
The MCP protocol annotations inform compatible hosts, but the server does not create a custom Accept/Reject UI.
HTTP and errors
The centralized client sends Accept: application/json, JSON bodies where applicable, and a redacted Bearer token header. It safely joins base paths, omits null/empty query values, applies a configurable timeout, validates JSON response shape, and returns structured tool errors:
authenticationfor 401authorizationfor 403not_foundfor 404 or foreign-owned IDsvalidationwith field errors for 422rate_limitedfor 429upstreamfor 5xxnetwork,timeout,invalid_json, orcontractfor transport/response failures
Only transient connection/timeout failures on GET requests are retried, at most twice after the initial attempt. Mutations are never retried automatically.
Unhandled errors inside an HTTP /mcp request handler (transport/protocol failures, not upstream API errors — those are already structured above) are logged to stderr with sensitive values redacted, in addition to the generic JSON-RPC 500 sent to the client. Railway captures container stderr as service logs, so these are visible without extra configuration.
Security boundary
One local token represents exactly one Personal OS User.
The token must have the
ai:accessability andai-api:name prefix.Normal application tokens cannot call the AI namespace.
AI tokens cannot call normal User/admin endpoints.
Authorization values are never included in tool errors.
.envand.env.*are ignored except.env.example.
Known limitations
Streamable HTTP is stateless and intentionally has no OAuth or inbound authentication at this stage.
No OAuth or multi-user token selector.
No Reminders, Recurrences, or Checklist mutation tools.
No ChatGPT widget, custom frontend, or Accept/Reject UI.
Tool schemas are maintained as a typed projection of Laravel routes, Form Requests, enums, Resources, and capabilities because Personal OS currently publishes no OpenAPI document.
Future stages may add the explicitly deferred domains, inbound authorization, and richer ChatGPT integration after their security and deployment decisions are approved.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseCqualityDmaintenanceMCP protocol server for managing multi-project Markdown documents, supporting project isolation and LLM tool integration.29284MIT
- AlicenseBqualityDmaintenanceA simple server implementing the Model Context Protocol (MCP) that exposes personal tools like note-taking for compatible MCP clients or agents.21,299MIT
- Alicense-qualityCmaintenanceMCP server for AI agents to read, write, and organize notes in a local-first, human-in-the-loop note-taking app.01MIT
- Alicense-qualityDmaintenanceAn MCP server that wraps the Taskwarrior CLI to allow AI assistants to create, query, modify, and manage tasks directly from agentic coding tools.19MIT
Related MCP Connectors
Project management MCP for AI agents with safe task reads and writes.
Personal assistant MCP server with search, execute, packages, jobs, secrets, and integrations.
Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/likalg/personal-os-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server