OmniPlan MCP Server
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., "@OmniPlan MCP ServerShow me the project summary and progress percentage."
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.
OmniPlan MCP
An MCP (Model Context Protocol) server and CLI for reading and writing OmniPlan (.oplx) and Microsoft Project (.mpp) schedule files.
macOS only — AppleScript bridge required for .mpp and all write operations.
Installation
pip install omniplan-mcpOr install from source in editable mode:
cd /Users/cygnus/work/github/omniplan-mcp
pip install -e .Related MCP server: Apple Calendar MCP Server
Usage
CLI mode (human-friendly)
Read and display a schedule:
# Read a complete schedule
omniplan-mcp read schedule.oplx
# Show a high-level summary
omniplan-mcp summary schedule.oplx
# Search for tasks by name
omniplan-mcp search schedule.oplx "design"
# List all tasks (table or tree view)
omniplan-mcp tasks schedule.oplx
omniplan-mcp tasks schedule.oplx --tree
# List resources or dependencies
omniplan-mcp resources schedule.oplx
omniplan-mcp dependencies schedule.oplxModify a schedule (requires the document to be open in OmniPlan):
# Find a task's ID by name
omniplan-mcp lookup "Task Name"
# Mark a task as complete
omniplan-mcp set-done 258
omniplan-mcp set-done 258 --subtree
# Add/remove dependencies
omniplan-mcp add-dep 260 258
omniplan-mcp rm-dep 260 258
# Set duration (seconds, days, hours, or minutes)
omniplan-mcp set-duration 258 3d
omniplan-mcp set-duration 258 28800
# Add a new child task
omniplan-mcp add-task 258 "Subtask" 2d
# Rename, delete, clear constraints
omniplan-mcp rename 258 "New Name"
omniplan-mcp delete 258
omniplan-mcp clear-constraint 258
# Save the document
omniplan-mcp save
# JSON output (read commands)
omniplan-mcp read schedule.oplx --json
omniplan-mcp summary schedule.oplx --jsonGet help:
omniplan-mcp --help
omniplan-mcp read --helpMCP server mode (for AI tools)
Start the MCP server in stdio mode:
omniplan-mcp serveConfigure your MCP host (e.g., Claude Code) to use it:
{
"mcpServers": {
"omniplan": {
"command": "omniplan-mcp",
"args": ["serve"]
}
}
}For source installs managed by uv, keep the serve subcommand in the
configured arguments:
{
"mcpServers": {
"omniplan": {
"command": "uv",
"args": [
"run",
"--directory",
"/path/to/omniplan-mcp",
"omniplan-mcp",
"serve"
],
"env": {}
}
}
}If your MCP host reports that the server failed to connect, check that the
configured command starts omniplan-mcp serve. Running omniplan-mcp without
serve starts the CLI help path and exits instead of staying open as a stdio
MCP server.
Architecture
src/omniplan_mcp/
├── __init__.py # Version (__version__ = "0.5.0")
├── __main__.py # CLI entry point: delegates to cli.py
├── cli.py # CLI subcommands (click)
├── server.py # MCP server: tool definitions + output formatters
└── parser.py # Two parsing paths + write operations (AppleScript bridge)
tests/
└── test_parser.py # Unit tests with in-memory .oplx ZIPsDual-mode design
The package provides two interfaces from the same codebase:
CLI mode (
omniplan-mcp read ...,omniplan-mcp set-done ...) — human-friendly terminal outputMCP server mode (
omniplan-mcp serve) — JSON-RPC over stdio for AI tools
Both share the same parser (parser.py) and AppleScript bridge.
Key design decisions
Dual parser architecture:
.mppfiles open OmniPlan and read via AppleScript's in-memory object model..oplxfiles parse XML directly (no OmniPlan needed). Both return identical 6-tuples:(projects, resources, tasks, violations, assignments, dependencies).Two ID systems: XML (.oplx) uses string IDs like
"t258". AppleScript uses sequential integers starting at 1. All write operations strip thetprefix automatically.Write operations work on the open OmniPlan document: Tools like
add_dependency,set_task_duration,clear_constraint_dategenerate AppleScript that targetsdocument 1ofapplication "OmniPlan". The document must be open.Read tools work from file (.oplx or .mpp):
read,summary,search,tasks,resources,dependenciesparse the file on disk.list_dependenciesreads from the baseline scenario, not the editing scenario.
Omni Automation JavaScript vs JXA
evaluate_omniplan_script uses Omni Automation JavaScript (not JXA/AppleScript JS). See the full explanation in the MCP server documentation.
Percent-complete computation
.oplx files store completion as effort-done / effort ratio. Group tasks compute completion bottom-up from children. Task status is computed: 100% → "finished", else compare end date to today.
Development
# Install in editable mode
pip install -e .
# Run tests
python -m pytest tests/ -v
# Build distribution
python -m buildTesting
Tests use a hand-crafted .oplx ZIP in memory (no real files). Add new test functions in tests/test_parser.py with inline XML constants. Tests cover: parsing, resource filtering, tree building, string parent IDs, percent-complete from effort, outline_depth, task_status, and Actual.xml preference.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- 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/cygnusyang/omniplan-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server