Skip to main content
Glama

insomnia-mcp v0.1.6-beta

A fully-featured MCP server for the Insomnia API client. Exposes 83 tools across 13 categories β€” letting Claude read, write, execute, test, and document your Insomnia collections without opening the UI.


Quick Start

npm install
npm run build

Add to ~/.config/Claude/claude_desktop_config.json (Claude Desktop on Linux/macOS):

{
  "mcpServers": {
    "insomnia": {
      "command": "node",
      "args": ["/absolute/path/to/insomnia-mcp/dist/index.js"]
    }
  }
}

Or register with Claude Code:

claude mcp add --scope global insomnia node /absolute/path/to/insomnia-mcp/dist/index.js

Database auto-detection

Platform

Path

Linux

~/.config/Insomnia/

macOS

~/Library/Application Support/Insomnia/

Windows

%APPDATA%\Insomnia\

Override with env var: INSOMNIA_DB_PATH=/custom/path node dist/index.js

Supports both Insomnia v12+ multi-file (per-type .db files) and legacy single-file (insomnia.db) formats automatically.


Related MCP server: Istek MCP Server

All 83 Tools

πŸ—‚ Workspaces (4)

Tool

Description

list_workspaces

List all workspaces

get_workspace

Get workspace with full request/folder tree

create_workspace

Create a new workspace

delete_workspace

Delete workspace and all contents

πŸ“¨ Requests (15)

Tool

Description

list_requests

List requests, filtered by workspace

get_request

Get full request details

search_requests

Fuzzy search by method, path, or name

create_request

Create a new request

update_request

Partial update a request

delete_request

Delete a request

create_folder

Create a RequestGroup folder

set_active_environment

Persist active env for a workspace

send_request

Send stored request with auto auth + variable resolution

send_http_request

Fire a one-off ad-hoc HTTP request

run_request_chain

Chain requests, extracting values between steps

get_response_history

View last 10 responses for a request

export_as_curl

Render request as a curl command

import_from_curl

Parse a curl command and save as a request

clear_token_cache

Force OAuth2 token re-fetch

🌍 Environments (6)

Tool

Description

list_environments

List environments for a workspace (includes sub-environments)

get_environment

Get environment with all variable values

create_environment

Create base or sub-environment

update_environment

Merge or replace environment variables

delete_environment_variable

Remove specific variables

delete_environment

Delete an environment

Sub-environment support: Insomnia uses a two-level hierarchy β€” a base environment holds shared variables, and named sub-environments (e.g. Staging, Production) extend it. All environment tools correctly handle this hierarchy:

Workspace
└── Base Environment          ← shared vars (base_url, api_version, …)
      β”œβ”€β”€ Staging             ← overrides: base_url β†’ staging.example.com
      └── Production          ← overrides: base_url β†’ api.example.com
  • list_environments with a workspace_id returns the base environment and all its sub-environments.

  • set_active_environment accepts a sub-environment ID directly.

  • send_request merges base + active sub-environment variables (sub-env values override base values for the same key), then resolves {{ variable }} placeholders in the URL, headers, body, and auth fields.

πŸ“Š Status & Discovery (3)

Tool

Description

insomnia_status

DB format, workspaces, token cache health check

endpoint_summary

Compact API reference grouped by folder

compare_environments

Diff variables between two environments

πŸ”¬ Response Intelligence (4)

Tool

Description

infer_response_schema

Send request and infer JSON schema of response

assert_response

Validate response with flexible assertions

diff_responses

Structural JSON diff between two responses

run_with_scripts

Execute pre/post request scripts around a send

πŸ—„ Projects & Sync (4)

Tool

Description

list_projects

List Insomnia v12+ projects

git_sync_status

Detect Git sync config for a workspace

check_stale_data

Warn if DB files changed since last read

run_folder

Run all requests in a folder as a test suite

βš™οΈ Bulk Operations (7)

Tool

Description

generate_crud_requests

Auto-generate GET/POST/PUT/PATCH/DELETE set for a resource

duplicate_workspace

Deep copy workspace with remapped IDs

move_folder

Move a folder to a different parent

bulk_update_header

Add/update/remove a header across all requests

find_duplicate_requests

Find requests with identical method+URL

import_openapi

Import OpenAPI 3.x / Swagger 2.x spec

export_openapi

Export workspace as OpenAPI 3.0 JSON

πŸ§ͺ Testing (6)

Tool

Description

load_test

Run load test β€” p50/p90/p95/p99 latency + RPS

contract_test

Validate response against expected JSON schema

health_check

Smoke test all endpoints in a workspace

run_data_driven

Run request for each row of CSV or JSON data

response_trend

Analyse latency + status trends from history

export_junit

Run tests and export JUnit XML for CI/CD

πŸ”„ Sync & Import/Export (5)

Tool

Description

import_postman

Import Postman Collection v2.1 JSON

export_postman

Export workspace as Postman Collection v2.1

import_har

Import browser DevTools HAR file

export_insomnia_bundle

Export as Insomnia v4 JSON bundle

workspace_changelog

Diff workspace against a previous snapshot

πŸ€– AI-Powered (5)

Tool

Description

ai_document_endpoint

Auto-generate markdown docs for an endpoint

ai_generate_body

Generate a realistic request body with AI

ai_detect_breaking_changes

Classify API changes as breaking vs non-breaking

ai_suggest_tests

Suggest missing assertions and edge cases

ai_fix_request

Diagnose and suggest fixes for failing requests

πŸ” Observability (7)

Tool

Description

inspect_ssl

Inspect TLS certificate β€” expiry, cipher, SANs

follow_redirects

Trace the full redirect chain for a URL

lint_request

Lint a request for common mistakes

lint_workspace

Lint all requests in a workspace

start_mock_server

Start a local HTTP mock server

stop_mock_server

Stop a running mock server

mock_server_log

View request log for a mock server

πŸ“‘ Protocols & Auth (13)

Tool

Description

websocket_connect

Connect to WebSocket, send/receive messages

graphql_introspect

Run GraphQL introspection, get full schema

graphql_query

Send a GraphQL query or mutation

graphql_format

Pretty-print a GraphQL query string

graphql_scan_workspace

Find all GraphQL requests in a workspace

sign_aws_request

Sign a request with AWS Signature v4

generate_pkce

Generate PKCE pair + authorization URL

compute_digest_auth

Compute HTTP Digest auth header from 401 challenge

list_cookie_jars

List cookie jars for a workspace

get_cookie_jar

Get all cookies in a jar

add_cookie

Add or update a cookie

clear_cookies

Clear cookies (optionally by domain)

export_cookies

Export as Netscape cookie file or Cookie header

πŸ“ Files (3)

Tool

Description

send_multipart_request

Send multipart/form-data with file attachments

save_response_to_file

Download API response directly to disk

inspect_response

Smart binary/text detection with preview


Example prompts

"List all my Insomnia workspaces"
"Search for the login request and send it"
"Set the Production environment as active for my Payments workspace"
"Switch to the Staging sub-environment and send the create-order request"
"Run the entire Auth folder as a test suite"
"Load test the GET /users endpoint with 20 concurrent users for 500 requests"
"Import this OpenAPI spec and create requests for every endpoint"
"Run the create-user request for each row of this CSV"
"Lint all requests in my workspace before the release"
"Start a mock server on port 4010 that returns 200 for GET /health"
"Introspect the GraphQL schema at https://api.example.com/graphql"
"Check the SSL certificate for api.example.com"
"Generate a full CRUD set of requests for the 'orders' resource"
"Export my workspace as a Postman collection"
"What tests am I missing for my API? Suggest some"
"This request is returning 401 β€” what's wrong with it?"

Architecture

src/
β”œβ”€β”€ index.ts              Entry point, registers all 83 tools
β”œβ”€β”€ insomnia-db.ts        NeDB reader/writer (v12+ multi-file + legacy); two-level env lookup; type sanitization
β”œβ”€β”€ http-client.ts        Axios sender with auth, history, secret masking
β”œβ”€β”€ http-transport.ts     HTTP+SSE transport: timing-safe auth, CORS, rate limiter, TLS
β”œβ”€β”€ auth.ts               Bearer/OAuth2/Basic/APIKey + inheritance
β”œβ”€β”€ auth-advanced.ts      AWS SigV4, PKCE, HTTP Digest
β”œβ”€β”€ template.ts           Recursive {{ var }} renderer, JSON path extractor
β”œβ”€β”€ matcher.ts            Fuzzy request search (method/path/name scoring)
β”œβ”€β”€ state.ts              Persistent state: active envs, token cache, history (chmod 0o600)
β”œβ”€β”€ security.ts           validateFilePath (path traversal) + isLocalUrl / assertExternalUrlConfirmed (external URL gate)
β”œβ”€β”€ scripting.ts          Worker thread spawner for sandboxed script execution
β”œβ”€β”€ script-worker.ts      vm.createContext sandbox β€” no require/import/process/global
β”œβ”€β”€ openapi.ts            OpenAPI 3.x / Swagger 2.x import + export
β”œβ”€β”€ postman.ts            Postman Collection v2.1 import + export
β”œβ”€β”€ har.ts                HAR (browser DevTools) import
β”œβ”€β”€ loadtest.ts           Concurrent load test with percentile stats
β”œβ”€β”€ datadriven.ts         CSV/JSON row-based test runner
β”œβ”€β”€ mock-server.ts        Local HTTP mock server
β”œβ”€β”€ observability.ts      SSL inspector, redirect follower, request linter
β”œβ”€β”€ graphql.ts            GraphQL introspection, query sender, formatter
β”œβ”€β”€ cookies.ts            CookieJar CRUD + Netscape/header export
β”œβ”€β”€ __tests__/
β”‚   β”œβ”€β”€ security.test.ts          validateFilePath (34 cases) + isLocalUrl / assertExternalUrlConfirmed
β”‚   β”œβ”€β”€ http-transport.test.ts    real HTTP server on port 0: auth, CORS, rate limiter, 404
β”‚   β”œβ”€β”€ scripting.test.ts         Worker sandbox: execution, isolation, timeout
β”‚   β”œβ”€β”€ state.test.ts             chmod 0o600, read/write round-trip, token cache, history
β”‚   β”œβ”€β”€ insomnia-db.test.ts       type sanitization, upsert/read, deleteDoc, generateId, sub-env resolution
β”‚   └── template.test.ts          variable rendering
└── tools/
    β”œβ”€β”€ workspaces.ts     4 tools
    β”œβ”€β”€ requests.ts       15 tools
    β”œβ”€β”€ environments.ts   6 tools
    β”œβ”€β”€ status.ts         3 tools
    β”œβ”€β”€ response.ts       4 tools
    β”œβ”€β”€ projects.ts       4 tools
    β”œβ”€β”€ bulk.ts           7 tools
    β”œβ”€β”€ testing.ts        6 tools
    β”œβ”€β”€ sync.ts           5 tools
    β”œβ”€β”€ ai-tools.ts       5 tools
    β”œβ”€β”€ observability.ts  7 tools
    β”œβ”€β”€ protocols.ts      13 tools
    └── files.ts          3 tools

Security

insomnia-mcp applies defence-in-depth across every attack surface. All protections are implemented with Node.js built-in modules only β€” no extra dependencies.

Script sandbox (src/script-worker.ts)

Pre-request and post-response scripts run inside a dedicated Worker thread and are further isolated with vm.createContext() + vm.Script.runInContext():

  • No require β€” not in the sandbox context

  • No process / global β€” not passed into the context

  • No import() β€” importModuleDynamically callback is intentionally omitted, causing any import() call to throw

  • Hard timeout β€” the Worker is terminated via worker.terminate() after 2 seconds if the script does not finish

  • Only a safe explicit allowlist of globals is available: insomnia, console (shimmed), btoa/atob, Date, Math, JSON, and standard constructors

Path traversal prevention (src/security.ts β€” validateFilePath)

All user-supplied file paths (file uploads, response downloads, JUnit export) are validated before use:

  1. Resolved to absolute form with path.resolve() (collapses .. sequences)

  2. Checked against a blocklist of sensitive system directories (/etc, /proc, /sys, /dev, /boot, /run, /var/run, and Windows equivalents)

  3. Optionally confined to an allowedBase directory (used for file uploads)

External URL confirmation gate (src/security.ts β€” assertExternalUrlConfirmed)

Every tool that makes an outbound network call classifies the target URL as local or external before sending:

Local (always allowed, no confirmation needed):

  • Loopback β€” localhost, 127.x.x.x, ::1

  • RFC-1918 private ranges β€” 10.x, 172.16-31.x, 192.168.x

  • Link-local / cloud metadata β€” 169.254.x.x, fe80::, metadata.google.internal

  • Wildcard bind address β€” 0.0.0.0

External (requires explicit confirmation): Any URL that does not match the above. When an external URL is detected and confirmed is not true, the call is blocked and the AI agent is instructed to show the full URL to the user and retry with confirmed: true.

All ~25 outbound call tools (send_request, send_http_request, websocket_connect, inspect_ssl, graphql_introspect, load_test, health_check, and more) accept an optional confirmed?: boolean parameter for this purpose.

HTTP transport security (src/http-transport.ts)

Feature

Details

Timing-safe auth

Bearer token compared with crypto.timingSafeEqual β€” prevents character-by-character timing attacks

CORS allowlist

When --cors-origins is set, only allowlisted origins are reflected. Without it, falls back to * (no credentials)

Rate limiting

Sliding-window per-IP limiter (default 600 req/min, configurable). Returns 429 with Retry-After: 60

TLS

Pass --cert + --key to enable HTTPS. Warns when binding to non-loopback without TLS

Port binding

Actual bound port is read via server.address() β€” ephemeral port 0 works correctly

State file permissions (src/state.ts)

mcp-state.json (which stores token cache, active environments, and response history) is written with a .tmp β†’ atomic rename pattern and immediately chmod'd to 0o600 (owner read/write only) on POSIX systems.

DB type sanitization (src/insomnia-db.ts)

upsertDoc strips any / or .. from doc.type before constructing the .db file path, preventing a malicious document type from writing outside the Insomnia database directory.


Notes

  • Write operations: close Insomnia before writing to avoid DB conflicts

  • Sub-environments: use list_environments to find sub-env IDs, then set_active_environment with the sub-env ID β€” base + sub variables are merged automatically on every send_request

  • External URLs: all outbound tools require confirmed: true for public internet URLs β€” local/private addresses (localhost, RFC-1918, link-local) are always allowed without confirmation

  • AI tools: require network access to api.anthropic.com from the MCP server process

  • Mock server: runs in-process; ports persist until stop_mock_server is called

  • Token cache: stored in mcp-state.json alongside your .db files


IDE & Tool Setup

npm run build
node setup.js

The setup script auto-detects VS Code, Cursor, Windsurf, Zed, PHPStorm, OpenCode, and Claude Desktop, then writes the correct config file for each one. It also asks about Devin (HTTP mode) and Claude Code.


Manual per-tool

VS Code + GitHub Copilot Agent Mode

The .vscode/mcp.json file is already in this repo. Just open the project and Copilot will pick it up.

For global install (works in any project):

# macOS
echo '{"servers":{"insomnia":{"type":"stdio","command":"node","args":["/ABSOLUTE/PATH/dist/index.js"]}}}' \
  > "$HOME/Library/Application Support/Code/User/mcp.json"

Cursor

.cursor/mcp.json is already in this repo for project-level use.

Global (~/.cursor/mcp.json):

{
  "mcpServers": {
    "insomnia": {
      "command": "node",
      "args": ["/absolute/path/to/insomnia-mcp/dist/index.js"]
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json (same format as Cursor above).

Zed

.zed/settings.json is already in this repo.

Global (~/.config/zed/settings.json):

{
  "context_servers": {
    "insomnia-mcp": {
      "command": {
        "path": "node",
        "args": ["/absolute/path/to/insomnia-mcp/dist/index.js"]
      }
    }
  }
}

PHPStorm / JetBrains IDEs

.idea/mcp.xml is already in this repo. Or via UI: Settings β†’ Tools β†’ AI Assistant β†’ Model Context Protocol (MCP) β†’ +

OpenCode

Add to ~/.config/opencode/config.json:

{
  "mcp": {
    "insomnia": {
      "type": "local",
      "command": ["node", "/absolute/path/to/insomnia-mcp/dist/index.js"]
    }
  }
}

Devin

Devin connects via HTTP/SSE. Start the server in HTTP mode first:

node dist/index.js --transport http --host 0.0.0.0 --port 3282 --auth-token mysecret

Then in Devin: Settings β†’ MCP β†’ Add Server β†’ URL: http://YOUR_SERVER_IP:3282/mcp Add header: Authorization: Bearer mysecret

Claude Desktop

Add to ~/.config/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "insomnia": {
      "command": "node",
      "args": ["/absolute/path/to/insomnia-mcp/dist/index.js"]
    }
  }
}

Claude Code

claude mcp add --scope global insomnia node /absolute/path/to/insomnia-mcp/dist/index.js

Transports

stdio (default)

For local editors that spawn the process directly.

node dist/index.js

HTTP + SSE

For remote tools, Devin, browser-based clients, or when you want to share the server.

node dist/index.js --transport http --port 3282
# β†’ MCP endpoint : http://127.0.0.1:3282/mcp
# β†’ Health check : http://127.0.0.1:3282/health
# β†’ Server info  : http://127.0.0.1:3282/info

Both simultaneously

Serve stdio for local editors and HTTP for remote tools at the same time.

node dist/index.js --transport both --port 3282

With authentication

node dist/index.js --transport http --auth-token mysecrettoken
# All requests must include: Authorization: Bearer mysecrettoken

Config file (insomnia-mcp.config.json)

Place in your project root or home directory. Useful for tools that don't inherit shell env vars (Windsurf, PHPStorm).

node dist/index.js --init > insomnia-mcp.config.json
# or
npm run init-config

Generated file:

{
  "dbPath": "/home/you/.config/Insomnia",
  "transport": "stdio",
  "port": 3282,
  "host": "127.0.0.1",
  "basePath": "",
  "cors": false,
  "authToken": "",
  "verbose": false
}

Config resolution order (highest priority first):

  1. CLI flags (--db-path, --port, --transport, --auth-token, --cors, --verbose)

  2. Environment variables (INSOMNIA_DB_PATH, MCP_PORT, MCP_TRANSPORT, MCP_AUTH_TOKEN)

  3. insomnia-mcp.config.json (cwd β†’ home dir)

  4. Built-in defaults

Available Tools

82 tools
ai_detect_breaking_changesB

Compare two OpenAPI specs (current vs previous) and use AI to classify changes as breaking vs non-breaking, with impact analysis.

Inputs: current_spec (required), previous_spec (required).

ai_document_endpointB

Send a request, analyse the response, and use AI to generate a markdown description of what the endpoint does, its inputs, outputs, and error cases.

Inputs: request_id (required), confirmed, environment_id.

ai_fix_requestB

Send a request, and if it fails (4xx/5xx), use AI to diagnose what's wrong and suggest fixes β€” missing headers, bad auth, wrong body shape, etc.

Inputs: request_id (required), confirmed, environment_id.

ai_generate_bodyB

Given a request with a JSON body template or example response, use AI to generate a valid, realistic request body with appropriate test data.

Inputs: request_id (required), context.

ai_suggest_testsB

Analyse existing requests in a workspace and suggest assertions, edge cases, and test scenarios you haven't covered yet.

Inputs: workspace_id (required), environment_id.

assert_responseB

Send a request and validate the response against a set of assertions (status code, headers, JSON body values, duration). Returns pass/fail per assertion.

Inputs: assertions (required), request_id (required), confirmed, environment_id.

bulk_update_headerB

Add, update, or remove a header across all requests in a workspace or folder. Useful for things like rotating an API key header everywhere at once.

Inputs: header_name (required), workspace_id (required), action, folder_id, +1 more.

check_stale_dataA

Check whether Insomnia has modified the database files since the MCP server last read them. Warns you if Insomnia is open and may have changed data.

Inputs: no named parameters.

clear_cookiesB

Clear all cookies (or just cookies for a specific domain) from a cookie jar.

Inputs: jar_id (required), domain.

clear_token_cacheA

Clear cached OAuth2 / auth tokens so they are re-fetched on the next request. Use when tokens have been revoked or you've rotated credentials.

Inputs: cache_key.

compare_environmentsA

Show a diff of variables between two environments β€” useful for spotting what differs between staging and production.

Inputs: environment_id_a (required), environment_id_b (required), show_values.

compute_digest_authB

Compute an HTTP Digest Authentication header from a 401 WWW-Authenticate challenge. Use when an API requires Digest auth.

Inputs: uri (required), method (required), password (required), username (required), +1 more.

contract_testC

Send a request and check the response against a stored expected JSON schema. Fails if the response structure has drifted (missing fields, type changes).

Inputs: request_id (required), expected_schema (required), confirmed, environment_id.

create_environmentB

Create a new environment for a workspace. Sub-environments should have a base environment as their parentId.

Inputs: name (required), parent_id (required), data, is_private.

create_folderC

Create a request folder inside a workspace or another folder

Inputs: name (required), parent_id (required).

create_requestC

Create a new HTTP request in a workspace or folder

Inputs: url (required), name (required), parent_id (required), method, +5 more.

create_workspaceC

Create a new Insomnia workspace (collection)

Inputs: name (required), scope, description.

delete_environmentC

Delete an environment by ID

Inputs: environment_id (required).

delete_environment_variableC

Remove one or more variables from an environment

Inputs: keys (required), environment_id (required).

delete_requestC

Delete a request by ID

Inputs: request_id (required).

delete_workspaceB

Delete a workspace and all its contents

Inputs: workspace_id (required).

diff_responsesA

Send the same request (or two different requests) against two environments and show a structural diff of the JSON responses. Great for comparing staging vs production.

Inputs: request_id_a (required), confirmed, request_id_b, environment_id_a, +1 more.

duplicate_workspaceC

Create a full deep copy of a workspace including all folders and requests.

Inputs: workspace_id (required).

endpoint_summaryC

List all endpoints in a workspace as a compact API reference: method, path, auth type, and folder.

Inputs: workspace_id (required), resolve_variables.

export_as_curlB

Export a stored request as a curl command with environment variables resolved

Inputs: request_id (required), environment_id.

export_cookiesC

Export a cookie jar as a Netscape cookie file (compatible with curl --cookie-jar).

Inputs: jar_id (required), domain, format.

export_insomnia_bundleB

Export a workspace as an Insomnia v4 JSON bundle (.json) β€” the format Insomnia uses for Import/Export. Can be shared with teammates and imported directly into Insomnia.

Inputs: workspace_id (required), include_environments.

export_junitC

Run assertions on multiple requests and export the results as JUnit XML β€” compatible with GitHub Actions, GitLab CI, and Jenkins test reporters.

Inputs: workspace_id (required), confirmed, suite_name, output_path, +2 more.

export_openapiA

Generate an OpenAPI 3.0 spec from all requests in a workspace. Returns the spec as a JSON string you can save to a file.

Inputs: workspace_id (required), base_url.

export_postmanA

Export a workspace as a Postman Collection v2.1 JSON string. Can be imported directly into Postman.

Inputs: workspace_id (required).

find_duplicate_requestsA

Scan a workspace for requests with identical method + URL (after variable resolution). Returns groups of duplicates so you can clean them up.

Inputs: workspace_id (required).

follow_redirectsB

Trace the full redirect chain for a URL. Shows each hop, status code, Location header, and duration.

Inputs: url (required), max_hops, confirmed.

generate_crud_requestsA

Auto-generate a complete CRUD set of requests for a REST resource (e.g. 'users' β†’ GET list, GET by ID, POST, PUT, PATCH, DELETE). Creates a folder containing all 6 requests.

Inputs: resource (required), parent_id (required), id_var, base_url_var, +1 more.

generate_pkceC

Generate a PKCE (Proof Key for Code Exchange) code verifier and challenge pair for OAuth2 Authorization Code flow. Also builds the authorization URL.

Inputs: client_id (required), redirect_uri (required), authorization_endpoint (required), scope, +1 more.

get_environmentB

Get an environment and all its variable values

Inputs: environment_id (required).

get_requestB

Get full details of a single request

Inputs: request_id (required).

get_response_historyC

View the last 10 responses for a stored request

Inputs: request_id (required).

get_workspaceA

Get full details of a workspace including its request groups (folders) and requests

Inputs: workspace_id (required).

git_sync_statusB

Detect if a workspace uses Insomnia's Git sync and return branch/remote info. Reads the .insomnia folder if present.

Inputs: workspace_id (required).

graphql_formatC

Pretty-print and format a GraphQL query string.

Inputs: query (required).

graphql_introspectB

Run a GraphQL introspection query against an endpoint and return the schema β€” all types, fields, queries, and mutations.

Inputs: url (required), headers, confirmed.

graphql_queryC

Send a GraphQL query or mutation to an endpoint. Supports variables and operation names.

Inputs: url (required), query (required), headers, confirmed, +2 more.

graphql_scan_workspaceC

Scan a workspace for GraphQL requests and list them with their operation type (query/mutation/subscription).

Inputs: workspace_id (required).

health_checkC

Run a set of requests and report their health (status, latency, pass/fail). Good for a quick smoke test of all endpoints in a workspace.

Inputs: workspace_id (required), confirmed, timeout_ms, environment_id, +1 more.

import_from_curlA

Parse a curl command and save it as a new Insomnia request. Supports -X, -H, -d, -u, --data, --header flags.

Inputs: parent_id (required), curl_command (required), name.

import_harA

Import an HTTP Archive (HAR) file β€” exported from browser DevTools Network tab. Creates a workspace with requests grouped by hostname.

Inputs: har_json (required), deduplicate, filter_hosts, filter_status.

import_openapiA

Parse an OpenAPI 3.x or Swagger 2.x spec (JSON or YAML string) and create a workspace with all endpoints as Insomnia requests, grouped by tag into folders.

Inputs: spec (required), create_environment.

import_postmanB

Import a Postman Collection v2.1 JSON string. Creates a workspace with all folders and requests, preserving auth, headers, and body.

Inputs: collection_json (required), create_environment.

infer_response_schemaB

Send a request and infer the JSON schema of the response body. Useful for understanding what an API returns without reading docs.

Inputs: request_id (required), confirmed, environment_id.

insomnia_statusA

Show the health and summary of the current Insomnia database: DB format, workspace count, active environments, cached tokens, and any config issues.

Inputs: no named parameters.

inspect_responseB

Send a request and intelligently inspect the response β€” auto-detects binary vs text, shows size, content-type, and a preview without dumping raw bytes.

Inputs: request_id (required), confirmed, environment_id, max_preview_chars.

inspect_sslB

Inspect the TLS/SSL certificate for any HTTPS URL. Returns subject, issuer, expiry date, SANs, cipher suite, and days until expiry.

Inputs: url (required), confirmed.

lint_requestA

Lint a stored request for common problems: unresolved variables, missing Content-Type, hardcoded secrets, invalid JSON body, GET with body, duplicate headers.

Inputs: request_id (required), environment_id.

lint_workspaceC

Lint all requests in a workspace and return a summary of issues. Good for running before a release.

Inputs: workspace_id (required), min_severity.

list_environmentsB

List all environments, optionally filtered by workspace

Inputs: workspace_id.

list_projectsA

List all Insomnia projects (v12+ only). Projects are the top-level containers above workspaces.

Inputs: no named parameters.

list_requestsB

List all requests, optionally filtered by workspace

Inputs: workspace_id.

list_workspacesB

List all Insomnia workspaces (collections and design documents)

Inputs: no named parameters.

load_testC

Run a load test against a stored request. Reports p50/p90/p95/p99 latency, RPS, status code distribution, and error rate.

Inputs: request_id (required), confirmed, timeout_ms, concurrency, +3 more.

mock_server_logB

View the request log for a running mock server.

Inputs: port (required).

move_folderB

Move a request folder (and all its contents) to a different parent workspace or folder.

Inputs: folder_id (required), new_parent_id (required).

response_trendA

Analyse the response history for a request over time. Shows latency trends, status code changes, and flags when it started failing.

Inputs: request_id (required).

run_data_drivenB

Run a request once per row of CSV or JSON data, substituting row values as {{ variables }}. Returns pass/fail per row. Useful for bulk testing with different inputs.

Inputs: data (required), request_id (required), limit, format, +4 more.

run_folderC

Execute all requests in a folder (RequestGroup) sequentially, like an Insomnia test suite. Optionally extract values from each response and pass them forward.

Inputs: folder_id (required), workspace_id (required), confirmed, extract_rules, +2 more.

run_request_chainA

Execute a sequence of requests in order, passing extracted values from each response as variables into subsequent requests. Perfect for: login β†’ get token β†’ call authenticated endpoint.

Inputs: steps (required), workspace_id (required), confirmed, stop_on_error.

run_with_scriptsA

Send a stored request, running its pre-request script first (to mutate variables) and post-response script after (to extract values). Mirrors Insomnia's scripting behaviour.

Inputs: request_id (required), confirmed, pre_script, post_script, +1 more.

save_response_to_fileB

Send a request and save the response body directly to a file on disk. Useful for downloading files from APIs (PDFs, CSVs, images, etc.).

Inputs: request_id (required), output_path (required), confirmed, environment_id.

search_requestsA

Find requests by method, URL path pattern, or free-text name. Returns ranked matches. Use this before send_request when you don't have an exact request ID.

Inputs: name, path, method, workspace_id.

send_http_requestC

Send a one-off HTTP request without a saved Insomnia request.

Inputs: url (required), body, method, params, +3 more.

send_multipart_requestC

Send an HTTP request with a multipart/form-data body, attaching files from disk. Useful for testing file upload endpoints.

Inputs: url (required), files (required), fields, method, +3 more.

send_requestA

Send a stored Insomnia request. Auto-resolves environment variables (including base_url), applies authentication (Bearer, OAuth2, Basic, API Key), and records response history. If you only have a path like '/users', use search_requests first to find the request ID.

Inputs: request_id (required), confirmed, extra_vars, environment_id.

set_active_environmentA

Set the active environment for a workspace. All subsequent send_request calls for that workspace will use this environment automatically.

Inputs: workspace_id (required), environment_id (required).

sign_aws_requestB

Sign an HTTP request with AWS Signature Version 4. Returns the signed Authorization header and x-amz-date. Useful for calling AWS APIs directly.

Inputs: url (required), service (required), access_key_id (required), secret_access_key (required), +5 more.

start_mock_serverB

Start a local HTTP mock server on a given port. Define routes with method, path, status, and response body. Useful for testing without a real backend.

Inputs: routes (required), port, verbose.

stop_mock_serverB

Stop a running mock server on a given port.

Inputs: port (required).

update_environmentA

Update environment variables. By default merges with existing vars; set replace=true to overwrite all.

Inputs: data (required), environment_id (required), name, replace.

update_requestC

Update an existing request (partial update)

Inputs: request_id (required), url, name, method, +5 more.

websocket_connectB

Connect to a WebSocket endpoint, optionally send messages, wait for responses, then close. Useful for testing WS APIs stored in Insomnia.

Inputs: url (required), headers, messages, confirmed, +2 more.

workspace_changelogA

Generate a changelog by comparing the current workspace against a snapshot (previous export bundle JSON). Shows added, removed, and modified requests.

Inputs: workspace_id (required), previous_bundle_json (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.9/5.0

    Scored across 82 tools

    Disambiguation2/5

    Many tools send requests and then inspect/assert/analyse responses (send_request, send_http_request, assert_response, infer_response_schema, contract_test, inspect_response, ai_document_endpoint, ai_fix_request), creating overlapping boundaries and likely misselection. Descriptions help, but several tools have unclear practical distinctions.

    Naming Consistency4/5

    All names use snake_case and are generally descriptive, with mostly verb_noun patterns. A few noun-phrase or status-style names (insomnia_status, endpoint_summary, response_trend, mock_server_log) are minor deviations.

    Tool Count1/5

    82 tools is far beyond a well-scoped MCP server and includes many near-duplicate execution, inspection, testing, import/export, and helper variants. This is an extreme count mismatch for the apparent scope.

    Completeness4/5

    The surface covers workspaces, requests, environments, sending, testing, GraphQL, WebSocket, mock servers, imports/exports, auth helpers, and cookies. Some lifecycle gaps remain, such as no update_workspace, no delete_folder/get_folder, limited project management, and incomplete cookie-jar lifecycle operations.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables interaction with Postman workspaces, collections, requests, responses, and monitors through the Postman API. Allows users to manage API collections, create and update requests/responses, and execute monitors directly from chat.
      MIT
    • F
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables AI assistants to interact with Istek API Client for managing workspaces, collections, environments, variables, and request history. Allows natural language control of API development workflows including creating collections, adding requests, and managing environment configurations.
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to create, manage, and interact with Postman collections, workspaces, environments, and API requests directly from conversations.
      46 npm
      5
      MIT