Skip to main content
Glama
ScriptFlow MCP Server

ScriptFlow MCP Server

by yanmxa

ScriptFlow MCP Server

npm version License: MIT

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

Related MCP server: RelayPlane

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-mcp

Available Tools

6 tools
script_addB

Add a new script to the repository

Inputs: name (required), content (required), description (required), tags, +2 more.

script_editB

Edit an existing script

Inputs: name (required), tags, content, language, +2 more.

script_getB

Get detailed information about a specific script

Inputs: name (required), include_content.

script_listC

List and discover available scripts

Inputs: tag, search.

script_rmB

Remove a script from the repository

Inputs: name (required).

script_runC

Execute a script by name

Inputs: name (required), args.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool maps to a distinct action on scripts: add, list, run, edit, rm, and get. There is no overlap or ambiguity between them.

    Naming Consistency5/5

    All tools follow the consistent pattern 'script_' followed by a clear verb (add, list, run, edit, rm, get). This creates a predictable and intuitive naming scheme.

    Tool Count5/5

    With 6 tools, the set is well-scoped for managing scripts. Each tool serves a necessary function without unnecessary bloat or gaps.

    Completeness5/5

    The toolset covers the full lifecycle of scripts: create (add), read (get, list), update (edit), delete (rm), and execution (run). No obvious missing operations for the stated domain.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables management and execution of Python scripts with automatic LLM-extracted argument schemas and validation. Provides script registry, execution history, and intelligent argument parsing like make but for Python scripts.
      -
    • A
      license
      A
      quality
      D
      maintenance
      Enables efficient AI workflow orchestration by chaining multi-step LLM operations while keeping intermediate results out of the context window, reducing token usage by 90%+ and supporting multiple AI providers.
      7
      1
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables AI agents to programmatically create, manage, and execute independent Python workflow scripts with full CRUD operations, allowing AI to build and modify automation workflows themselves rather than just executing pre-built ones.
      6
      2
      MIT