insomnia-mcp
Provides tools to run GraphQL introspection to retrieve a full schema, send GraphQL queries and mutations, and pretty-print GraphQL documents.
Reads and writes the user's local Insomnia database to manage workspaces, requests, folders, environments and response history, and can execute stored requests with auth and variable resolution, plus run tests, load tests, mock servers, and import/export between Insomnia, OpenAPI, Postman, HAR and JUnit formats.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@insomnia-mcp send the login request using my Staging environment"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 buildAdd 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.jsDatabase auto-detection
Platform | Path |
Linux |
|
macOS |
|
Windows |
|
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 all workspaces |
| Get workspace with full request/folder tree |
| Create a new workspace |
| Delete workspace and all contents |
π¨ Requests (15)
Tool | Description |
| List requests, filtered by workspace |
| Get full request details |
| Fuzzy search by method, path, or name |
| Create a new request |
| Partial update a request |
| Delete a request |
| Create a RequestGroup folder |
| Persist active env for a workspace |
| Send stored request with auto auth + variable resolution |
| Fire a one-off ad-hoc HTTP request |
| Chain requests, extracting values between steps |
| View last 10 responses for a request |
| Render request as a curl command |
| Parse a curl command and save as a request |
| Force OAuth2 token re-fetch |
π Environments (6)
Tool | Description |
| List environments for a workspace (includes sub-environments) |
| Get environment with all variable values |
| Create base or sub-environment |
| Merge or replace environment variables |
| Remove specific variables |
| 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.comlist_environmentswith aworkspace_idreturns the base environment and all its sub-environments.set_active_environmentaccepts a sub-environment ID directly.send_requestmerges 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 |
| DB format, workspaces, token cache health check |
| Compact API reference grouped by folder |
| Diff variables between two environments |
π¬ Response Intelligence (4)
Tool | Description |
| Send request and infer JSON schema of response |
| Validate response with flexible assertions |
| Structural JSON diff between two responses |
| Execute pre/post request scripts around a send |
π Projects & Sync (4)
Tool | Description |
| List Insomnia v12+ projects |
| Detect Git sync config for a workspace |
| Warn if DB files changed since last read |
| Run all requests in a folder as a test suite |
βοΈ Bulk Operations (7)
Tool | Description |
| Auto-generate GET/POST/PUT/PATCH/DELETE set for a resource |
| Deep copy workspace with remapped IDs |
| Move a folder to a different parent |
| Add/update/remove a header across all requests |
| Find requests with identical method+URL |
| Import OpenAPI 3.x / Swagger 2.x spec |
| Export workspace as OpenAPI 3.0 JSON |
π§ͺ Testing (6)
Tool | Description |
| Run load test β p50/p90/p95/p99 latency + RPS |
| Validate response against expected JSON schema |
| Smoke test all endpoints in a workspace |
| Run request for each row of CSV or JSON data |
| Analyse latency + status trends from history |
| Run tests and export JUnit XML for CI/CD |
π Sync & Import/Export (5)
Tool | Description |
| Import Postman Collection v2.1 JSON |
| Export workspace as Postman Collection v2.1 |
| Import browser DevTools HAR file |
| Export as Insomnia v4 JSON bundle |
| Diff workspace against a previous snapshot |
π€ AI-Powered (5)
Tool | Description |
| Auto-generate markdown docs for an endpoint |
| Generate a realistic request body with AI |
| Classify API changes as breaking vs non-breaking |
| Suggest missing assertions and edge cases |
| Diagnose and suggest fixes for failing requests |
π Observability (7)
Tool | Description |
| Inspect TLS certificate β expiry, cipher, SANs |
| Trace the full redirect chain for a URL |
| Lint a request for common mistakes |
| Lint all requests in a workspace |
| Start a local HTTP mock server |
| Stop a running mock server |
| View request log for a mock server |
π‘ Protocols & Auth (13)
Tool | Description |
| Connect to WebSocket, send/receive messages |
| Run GraphQL introspection, get full schema |
| Send a GraphQL query or mutation |
| Pretty-print a GraphQL query string |
| Find all GraphQL requests in a workspace |
| Sign a request with AWS Signature v4 |
| Generate PKCE pair + authorization URL |
| Compute HTTP Digest auth header from 401 challenge |
| List cookie jars for a workspace |
| Get all cookies in a jar |
| Add or update a cookie |
| Clear cookies (optionally by domain) |
| Export as Netscape cookie file or Cookie header |
π Files (3)
Tool | Description |
| Send multipart/form-data with file attachments |
| Download API response directly to disk |
| 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 toolsSecurity
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 contextNo
process/globalβ not passed into the contextNo
import()βimportModuleDynamicallycallback is intentionally omitted, causing anyimport()call to throwHard timeout β the Worker is terminated via
worker.terminate()after 2 seconds if the script does not finishOnly 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:
Resolved to absolute form with
path.resolve()(collapses..sequences)Checked against a blocklist of sensitive system directories (
/etc,/proc,/sys,/dev,/boot,/run,/var/run, and Windows equivalents)Optionally confined to an
allowedBasedirectory (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,::1RFC-1918 private ranges β
10.x,172.16-31.x,192.168.xLink-local / cloud metadata β
169.254.x.x,fe80::,metadata.google.internalWildcard 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 |
CORS allowlist | When |
Rate limiting | Sliding-window per-IP limiter (default 600 req/min, configurable). Returns |
TLS | Pass |
Port binding | Actual bound port is read via |
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_environmentsto find sub-env IDs, thenset_active_environmentwith the sub-env ID β base + sub variables are merged automatically on everysend_requestExternal URLs: all outbound tools require
confirmed: truefor public internet URLs β local/private addresses (localhost, RFC-1918, link-local) are always allowed without confirmationAI tools: require network access to
api.anthropic.comfrom the MCP server processMock server: runs in-process; ports persist until
stop_mock_serveris calledToken cache: stored in
mcp-state.jsonalongside your.dbfiles
IDE & Tool Setup
Automatic (recommended)
npm run build
node setup.jsThe 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 mysecretThen 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.jsTransports
stdio (default)
For local editors that spawn the process directly.
node dist/index.jsHTTP + 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/infoBoth simultaneously
Serve stdio for local editors and HTTP for remote tools at the same time.
node dist/index.js --transport both --port 3282With authentication
node dist/index.js --transport http --auth-token mysecrettoken
# All requests must include: Authorization: Bearer mysecrettokenConfig 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-configGenerated 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):
CLI flags (
--db-path,--port,--transport,--auth-token,--cors,--verbose)Environment variables (
INSOMNIA_DB_PATH,MCP_PORT,MCP_TRANSPORT,MCP_AUTH_TOKEN)insomnia-mcp.config.json(cwd β home dir)Built-in defaults
Available Tools
82 toolsadd_cookieC
Add or update a cookie in a cookie jar.
Inputs: key (required), value (required), domain (required), jar_id (required), +4 more.
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_cookie_jarC
Get all cookies in a cookie jar.
Inputs: jar_id (required).
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_cookie_jarsC
List all cookie jars in a workspace.
Inputs: workspace_id.
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
Scored across 82 tools
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.
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.
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.
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
Related MCP Connectors
AI-callable tools for API mocking, testing, monitoring, security, and automation.
Lets AI agents analyze API metrics, request logs, and traces, and manage apps and alerts.
Give your AI agents trusted access to the full Postman platform.
Build, debug and break hosted mock APIs from Claude: endpoints, stateful CRUD data, OpenAPI import, response variants and fault injection.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables 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
- FlicenseNot gradedqualityNot gradedmaintenanceEnables 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.-
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to create, manage, and interact with Postman collections, workspaces, environments, and API requests directly from conversations.46 npm5MIT
- AlicenseBqualityBmaintenanceConnects AI agents to Postman workspaces, collections, API specifications, and environments for API testing, management, and client code generation.42Apache 2.0