Reqline Reqline

MCP Server

Connect AI agents to Reqline via the built-in MCP server.

Overview

Reqline includes a built-in Model Context Protocol (MCP) server that starts automatically with the desktop app. AI agents can use it to manage collections, execute requests, and work with environments programmatically.

The MCP server is available over Streamable HTTP at:

http://127.0.0.1:3218/mcp

Connecting AI clients

Claude Desktop / Cursor

Add to your MCP configuration:

{
  "mcpServers": {
    "reqline": {
      "url": "http://127.0.0.1:3218/mcp"
    }
  }
}

Warp

Add to ~/.warp/.mcp.json (global) or .warp/.mcp.json (per-project):

{
  "mcpServers": {
    "reqline": {
      "url": "http://127.0.0.1:3218/mcp"
    }
  }
}

Alternatively, use stdio mode (launches Reqline headlessly):

{
  "mcpServers": {
    "reqline": {
      "command": "pnpm",
      "args": ["start:mcp"]
    }
  }
}

Available tools

The MCP server exposes 20 tools:

Collections

ToolDescription
list_collectionsList all saved collections
get_collectionFetch one collection by ID
create_collectionCreate a new collection
update_collectionUpdate an existing collection
delete_collectionDelete a collection and its requests

Requests

ToolDescription
list_requestsList saved requests (optionally by collection)
get_requestFetch one request by ID
create_requestCreate a new saved request
update_requestUpdate an existing request
delete_requestDelete a saved request

Environments

ToolDescription
list_environmentsList all environments
get_environmentFetch one environment by ID
create_environmentCreate a new environment
update_environmentUpdate an existing environment
delete_environmentDelete an environment
get_active_environmentGet the currently active environment
set_active_environmentActivate an environment by ID
clear_active_environmentDeactivate the current environment

Execution

ToolDescription
execute_saved_requestExecute a saved request by ID using the active environment
execute_requestExecute an ad-hoc request payload

Both execution tools record the result in history, just like sending from the UI.

Resources

The MCP server also exposes two read-only resources:

  • reqline://collections — Collection metadata (names, IDs, timestamps)
  • reqline://requests — Request metadata (names, methods, URLs, IDs) without sensitive data

Configuration

Environment variableDefaultDescription
REQLINE_MCP_PORT3218MCP HTTP server port
REQLINE_LOCAL_API_PORT3217Local API server port
REQLINE_LOCAL_API_TOKEN(none)Optional auth token for the local API

If the configured port is occupied, the server automatically falls back to a random available port.