Cline MCP Server logo

Cline MCP Server

by mows21

Cline MCP Server is an internal workflow orchestration server designed for agentic task execution. It enables users to manage and execute tasks, workflows, and system commands through a unified interface.

View on GitHub

Last updated: N/A

Cline MCP Server

Internal workflow orchestration server for agentic task execution.

Quick Start

npm install
npm run build
npm start

Docker

docker build -t cline-mcp .
docker run -p 8080:8080 cline-mcp

Configuration

{
  "database": "sqlite:///data/cline.db",
  "port": 8080,
  "auth_token": "your-secret-token"
}

API Endpoints

Agent Execution

POST /agent/run
{
  "task": "summarize",
  "input": "today's call notes",
  "tool": "gpt4",
  "context": "internal"
}

Workflow Management

POST /workflow
{
  "workflow_id": "daily-summary",
  "trigger": "n8n",
  "inputs": {...}
}

Memory Operations

GET /memory/{key}
POST /memory
DELETE /memory/{key}

System Execution

POST /exec
{
  "command": "python scripts/process.py",
  "args": ["--input", "data.csv"]
}

MCP Compatibility

Uses unified /mcp endpoint for JSON-RPC communication. Supports:

  • Tools: agent tasks, workflows, system exec
  • Resources: memory access, process logs
  • Prompts: task templates, workflow definitions

License

MIT License