Skip to content
MCP server

Gavel MCP by usefulapi

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

Install
Runs
Remotely
Version
1.7.0
Listing updated
4 days ago

About Gavel MCP by usefulapi

Gavel MCP by usefulapi is an MCP server. It runs as a hosted remote server, so there is nothing to install locally.

Install

Run in a terminal

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

Add to Settings → Connectors → Add custom connector

https://gavel.usefulapi.io/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "gavel": {
      "url": "https://gavel.usefulapi.io/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

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

Add to ~/.codeium/windsurf/mcp_config.json

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

Add to your client's MCP settings (most use this shape)

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

Tools this server provides (4)

Read directly from the server.

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.

Gavel MCP by usefulapi 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