Skip to main content
Glama
gvfullstack

PacedLoop MCP Server

by gvfullstack
README.md
# pacedloop-mcp-server

Standalone MCP server for the hosted PacedLoop API.

This package is for users who want PacedLoop tools inside an MCP-capable client without running the full PacedLoop app locally.

## What users need

- a PacedLoop account
- a PacedLoop API token
- Node.js 18+ installed locally

Hosted default:

```bash
https://www.pacedloop.com
```

## What it exposes

- workflow CRUD
- run list, detail, start, advance, and repair
- analytics overview
- step analytics
- recent-run analytics

## Quick start

1. Clone this repository.
2. Install dependencies:

```bash
npm install
```

3. Set environment variables:

```bash
export PACEDLOOP_BASE_URL=https://www.pacedloop.com
export PACEDLOOP_API_TOKEN=your_pacedloop_token
```

PowerShell:

```powershell
$env:PACEDLOOP_BASE_URL="https://www.pacedloop.com"
$env:PACEDLOOP_API_TOKEN="your_pacedloop_token"
```

4. Start the server:

```bash
npm start
```

## OpenClaw / NemoClaw setup

Use this process definition in your MCP client configuration:

Command:

```text
npm
```

Args:

```text
start
```

Working directory:

```text
/path/to/pacedloop-mcp-server
```

Environment:

```text
PACEDLOOP_BASE_URL=https://www.pacedloop.com
PACEDLOOP_API_TOKEN=your_pacedloop_token
```

If your MCP client supports launching a script directly, use:

Command:

```text
node
```

Args:

```text
/path/to/pacedloop-mcp-server/bin/pacedloop-mcp-server.mjs
```

## Example OpenClaw-style config

OpenClaw/NemoClaw config shapes can vary by version, but this is the command block you want to represent:

```json
{
  "command": "npm",
  "args": ["start"],
  "cwd": "/path/to/pacedloop-mcp-server",
  "env": {
    "PACEDLOOP_BASE_URL": "https://www.pacedloop.com",
    "PACEDLOOP_API_TOKEN": "your_pacedloop_token"
  }
}
```

If your OpenClaw build expects direct script execution, use:

```json
{
  "command": "node",
  "args": ["/path/to/pacedloop-mcp-server/bin/pacedloop-mcp-server.mjs"],
  "env": {
    "PACEDLOOP_BASE_URL": "https://www.pacedloop.com",
    "PACEDLOOP_API_TOKEN": "your_pacedloop_token"
  }
}
```

## Publish as its own GitHub repo

From the parent directory:

```bash
cd pacedloop-mcp-server
git init
git add .
git commit -m "Initial standalone PacedLoop MCP server"
```

Then create a new GitHub repository and push:

```bash
git remote add origin git@github.com:YOUR_ORG_OR_USER/pacedloop-mcp-server.git
git branch -M main
git push -u origin main
```

## Notes

- The server uses stdio and MCP JSON-RPC framing.
- The token is sent as a Bearer token to the PacedLoop API.
- Keep the API token on the local machine running the MCP client.
- This package is a thin adapter over the hosted PacedLoop backend, not a standalone workflow engine.