scriptflow-mcp
Script workflow management via MCP. Converts AI workflows to persistent scripts, reducing tokens & delays while minimizing hallucination risks.
Documentation
ScriptFlow MCP Server
ScriptFlow is a script workflow management system built on the Model Context Protocol (MCP). It transforms complex, repetitive AI interactions into persistent, executable scripts that can be managed, version-controlled, and reused across sessions.
Why ScriptFlow?
1. Transform Workflows into Scripts: Convert successful AI interactions into reusable, executable scripts
2. Save Time & Tokens: Execute complex tasks instantly instead of repeating long conversations
3. Guaranteed Consistency: Scripts run the same way every time, eliminating AI randomness
4. Powerful Management: Search, organize, edit, and version your automation library
5. Team Collaboration: Share proven workflows across your organization
Features
- Add/Edit/Remove scripts with metadata
- List/Search scripts by name, description, or tags
- Execute scripts with arguments
- Multi-language support (Bash, Python, Node.js, TypeScript)
Setup
Add to your MCP client config (e.g., Claude Desktop `claude_desktop_config.json`):
{
"mcpServers": {
"scriptflow": {
"command": "npx",
"args": ["scriptflow-mcp"],
"env": {
"SCRIPTFLOW_SCRIPTS_DIR": "/your/custom/path"
}
}
}
}Environment Variables:
- `SCRIPTFLOW_SCRIPTS_DIR`: Scripts directory (default: `/tmp/scriptflow-mcp/scripts`)
- `SCRIPTFLOW_TIMEOUT`: Execution timeout in ms (default: `30000`)
Available Tools
- `script_add` - Add new script (name, description, content, language, tags)
- `script_edit` - Update existing script
- `script_get` - View script details
- `script_list` - Search/filter scripts
- `script_run` - Execute script with arguments
- `script_rm` - Remove script
Quick Example
// Add script
{"name": "hello", "description": "Hello script", "content": "echo 'Hello!'"}
// Run script
{"name": "hello", "args": ["World"]}
// List scripts
{"search": "hello"}Storage
Scripts stored as `{name}.{ext}` + `{name}.json` metadata files.
Supports: Bash (.sh), Python (.py), JavaScript (.js), TypeScript (.ts)
Testing
# Run tests
npm test
# Test with MCP Inspector
npx @modelcontextprotocol/inspector npx scriptflow-mcpFrequently asked questions
What is scriptflow-mcp?
scriptflow-mcp is Script workflow management via MCP. Converts AI workflows to persistent scripts, reducing tokens & delays while minimizing hallucination risks.
How do I install scriptflow-mcp?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is scriptflow-mcp open source?
Yes — it is hosted on GitHub at https://github.com/yanmxa/scriptflow-mcp and has 3 stars.
Related MCP tools
Vibe Check is a tool that provides mentor-like feedback to AI Agents, preventing tunnel-vision, over-engineering and reasoning lock-in for complex and long-h...
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Ag...
Enhanced ChatGPT Clone: Features Agents, MCP, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini...
FastGPT is a knowledge-based platform built on the LLMs, offers a comprehensive suite of out-of-the-box capabilities such as data processing, RAG retrieval, ...
Composio equips your AI agents & LLMs with 100+ high-quality integrations via function calling for the Model Context Protocol. Enhance AI assistants with powerf
Playwright MCP server TypeScript-based implementation. Trusted by 22000+ developers. Trusted by 22000+ developers. Trusted by 22000+ developers.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP