Feedback

Cvm: Stateful Programable Task Engine MCP Server

@ladislavsopko Claim

Basic information

Category
License
AGPL-3.0-or-later
Transports
stdio
Author
ladislavsopko
Submitted by
Community
Quality
25

About Cvm: Stateful Programable Task Engine MCP Server

Stop Claude from losing track. CVM is a passive state machine that Claude queries for tasks, maintaining perfect execution flow across complex operations.

Cvm: Stateful Programable Task Engine is a MCP server in the Productivity category listed in the AddMCP.net directory, published by LadislavSopko. It exposes 15 tools, including server_info, load, loadFile, start and more. Supported transport: stdio. License: AGPL-3.0-or-later. Source code is hosted on github.com. Related topics: cvm, state-management, task-engine.

Setup

{
    "mcpServers": {
        "cvm": {
            "command": "npx",
            "args": [
                "cvm-server@latest"
            ],
            "env": {
                "CVM_STORAGE_TYPE": "file",
                "CVM_DATA_DIR": ".cvm"
            }
        }
    }
}

Cvm: Stateful Programable Task Engine MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "cvm": {
            "command": "npx",
            "args": [
                "cvm-server@latest"
            ],
            "env": {
                "CVM_STORAGE_TYPE": "file",
                "CVM_DATA_DIR": ".cvm"
            }
        }
    }
}

Cvm: Stateful Programable Task Engine MCP Server tools

  • server_info
    (no parameters)
  • load
    programId:string*, source:string*
  • loadFile
    programId:string*, filePath:string*
  • start
    programId:string*, executionId:string*, setCurrent:boolean
  • getTask
    executionId:string
  • submitTask
    executionId:string, result:string*
  • status
    executionId:string
  • list_executions
    (no parameters)
  • get_execution
    executionId:string
  • set_current
    executionId:string*
  • delete_execution
    executionId:string*, confirmToken:string
  • list_programs
    (no parameters)
  • delete_program
    programId:string*, confirmToken:string
  • restart
    programId:string*, executionId:string
  • parsePlan
    filePath:string*

Overview

What is Cvm: Stateful Programable Task Engine?

Cvm: Stateful Programable Task Engine is a passive MCP server that acts as a state machine. It holds program state for Claude, allowing Claude to process tasks one at a time without losing context. It is designed for developers and users who need reliable execution of complex, multi-step workflows with real loops and conditions.

How to use Cvm: Stateful Programable Task Engine?

Install via npx cvm-server@latest and add it to Claude’s .mcp.json. Write a program using CVM’s TypeScript-like language, then load it with load(), start execution with start(), and have Claude pull tasks via getTask() and submit results via submitTask(). No additional runtime is required beyond Node.js.

Key features of Cvm: Stateful Programable Task Engine

  • Passive state machine – never pushes tasks to Claude
  • Claude pulls tasks one at a time via getTask()
  • Maintains variables, execution position, loops, and conditions
  • Supports arrays, objects, string/array operations, and file listing
  • Uses CC(prompt) to create tasks without calling Claude directly

Use cases of Cvm: Stateful Programable Task Engine

  • Document analysis pipelines over hundreds of files
  • Data extraction from multiple sources with systematic processing
  • Report generation that collects summaries before producing a final report
  • Any workflow requiring loops, conditions, and AI processing without state loss

Frequently asked questions

1 How is CVM different from traditional context-based approaches?

Traditional approaches rely on Claude’s context to maintain state, which fails for complex flows. CVM keeps state externally, so Claude sees only one task at a time and never loses track of variables or execution position.

2 How does the `CC()` function work?

CC(prompt) creates a task with the given prompt, pauses program execution, and waits for Claude to retrieve the task via getTask(). When Claude submits a result via submitTask(), execution resumes with that result.

3 Is CVM active or passive?

CVM is completely passive. It never initiates communication with Claude; it only responds when Claude calls its MCP tools. Claude drives all interactions.

4 What language does CVM execute?

CVM runs a TypeScript-like language that supports variables, arrays, objects, loops, conditions, CC(), fs.listFiles(), console.log(), and JSON.stringify/parse.

5 Where does program state live?

All state (variables, execution position, loop counters, complex data structures) is maintained inside CVM, not in Claude’s context. This ensures state persists between tasks.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬