OSOP MCP Server
Enables importing GitHub Actions workflows into the OSOP format and exporting OSOP workflows to external formats including GitHub Actions.
Allows rendering OSOP workflows as Mermaid diagrams for visualization and documentation.
Supports rendering OSOP workflows as SVG diagrams for high-quality graphical representations.
Provides capabilities to validate OSOP workflow definitions stored in YAML format against the OSOP schema.
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., "@OSOP MCP ServerConvert my main.yml GitHub Action into an OSOP workflow"
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.
OSOP MCP Server
MCP (Model Context Protocol) server that exposes OSOP workflow operations as tools for AI agents. Any MCP-compatible client (Claude Desktop, Claude Code, OpenClaw, Cursor, etc.) can validate, run, render, test, optimize, and assess security risks of OSOP workflows.
Website: osop.ai | Editor: osop-editor.vercel.app
Tools
Tool | Description |
| Validate an |
| Analyze workflow for security risks — permission gaps, missing approval gates, destructive commands, cost exposure. Returns risk score (0-100) and actionable findings. |
| Execute CLI/API nodes in a workflow with timeout support. Supports dry-run mode. |
| Render a workflow as Mermaid or ASCII diagram. |
| Run test cases defined in the workflow and report pass/fail results. |
| Analyze a workflow for redundancies, parallelization opportunities, and bottlenecks. |
| Generate HTML or text reports from workflow + optional execution log. |
| Unified format conversion — import/export between OSOP and 6 external formats. |
| Convert external formats (CrewAI, n8n, GitHub Actions, Airflow, Argo, LangGraph) into OSOP. |
| Convert an OSOP workflow to CrewAI, n8n, or Argo format. |
| Structural comparison of two OSOP workflows — added/removed/changed nodes and edges. |
| Convert OSOP workflow to Notion database-ready structures (schema + page payloads). |
Installation
pip install osop-mcpUsage
Standalone
python -m osop_mcpThe server listens on stdio by default (MCP standard transport).
Docker
docker build -t osop-mcp .
docker run -i osop-mcpClaude Desktop / Claude Code
Add to your claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%/Claude/):
{
"mcpServers": {
"osop": {
"command": "python",
"args": ["-m", "osop_mcp"],
"env": {}
}
}
}For Claude Code, add to your project's .mcp.json:
{
"mcpServers": {
"osop": {
"command": "python",
"args": ["-m", "osop_mcp"]
}
}
}Docker-based Configuration
{
"mcpServers": {
"osop": {
"command": "docker",
"args": ["run", "-i", "--rm", "osop-mcp"]
}
}
}Quick Start: Risk Assessment
Once installed, ask your AI agent:
"Analyze the security risks of my deployment workflow"
The agent will use osop.risk_assess to:
Walk the workflow DAG and identify high-risk nodes
Check for missing approval gates before destructive operations
Flag overly broad permissions (
write:*,admin:*)Detect destructive CLI commands (
rm -rf,kubectl delete,terraform destroy)Calculate cost exposure from agent nodes
Return a risk score (0-100) with verdict:
safe/caution/warning/danger
Example output:
{
"overall_score": 72,
"verdict": "danger",
"total_findings": 5,
"findings": [
{
"severity": "critical",
"title": "CRITICAL risk node without approval gate",
"node_id": "deploy-prod",
"suggestion": "Add approval_gate with required: true before this node."
}
]
}Environment Variables
Variable | Description | Default |
| Transport protocol ( |
|
| Port for SSE transport |
|
| Logging level |
|
Development
git clone https://github.com/Archie0125/osop-mcp.git
cd osop-mcp
pip install -e ".[dev]"
pytestWhat is OSOP?
OSOP (Open Standard Operating Protocol) is the OpenAPI of workflows. It standardizes how workflows, SOPs, and automation pipelines are defined, validated, and executed — across AI agents, CI/CD tools, and enterprise processes.
Spec: osop-spec — Protocol specification v1.0
Editor: osop-editor — Visual editor with risk analysis
Examples: osop-examples — 30+ workflow templates
License
Apache License 2.0 — see LICENSE for details.
This server cannot be installed
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
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/Archie0125/osop-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server