# Gavel MCP by usefulapi

> Gavel MCP by usefulapi is an MCP server. List workflows and variables; create sessions and list session documents in Gavel. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Website:** https://usefulapi.io/gavel/
- **Repository:** https://github.com/m190/usefulapi-mcp/tree/HEAD/servers/gavel
- **MCP Registry name:** io.usefulapi/gavel
- **Listing updated:** 2026-11-13

## About

List workflows and variables; create sessions and list session documents in Gavel.

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http gavel https://gavel.usefulapi.io/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://gavel.usefulapi.io/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "gavel": {
      "url": "https://gavel.usefulapi.io/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "gavel": {
      "type": "http",
      "url": "https://gavel.usefulapi.io/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "gavel": {
      "serverUrl": "https://gavel.usefulapi.io/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "gavel": {
      "type": "http",
      "url": "https://gavel.usefulapi.io/mcp"
    }
  }
}
```

## Tools

- `gavel_list_workflows`: List the names of all Gavel workflows on the account. API: GET /api/playground?folder=questions.
- `gavel_get_workflow_variables`: Get the variable schema of one workflow: each variable name, data type, input type, label, options and whether it is required. Use it to learn what data gavel_create_session accepts. API: GET /officeaddin?pgtypes=<name>.yml.
- `gavel_create_session`: WRITE: create a new session of a workflow with pre-filled variables. It does not send or sign anything. Each call creates one more session. Returns session_id and a continuation_url. If all variables are given, the URL opens the document download page; else the user answers only the missing questions. Dates: '2024-05-30T'. Date time: ISO 8601. Multi select: array of option labels. Repeating items:
- `gavel_list_session_documents`: List the documents of a completed workflow session: name, format (docx or pdf), type, source template and download URL. This tool returns metadata only. The download URL needs the X-Api-Key header. API: GET /api/documate/v1/data-manager/workflows/{name}/session/{id}/documents.

## FAQ

### How do I add Gavel MCP by usefulapi to Claude Code?

Run this command in your terminal: claude mcp add --transport http gavel https://gavel.usefulapi.io/mcp

---
Source: https://ai-powered.com/mcp/gavel-mcp-by-usefulapi
