mcp-insomnia MCP Server

MCP-Insomnia is an MCP (Model Context Protocol) server that enables AI agents to create and manage API collections in Insomnia-compatible format. This server provides tools for managing collections…

Local serverstdioMIT

What is the mcp-insomnia MCP Server?

mcp-insomnia is an MCP project maintained in the anggasct/mcp-insomnia repository. The maintainer describes its purpose as “MCP-Insomnia is an MCP (Model Context Protocol) server that enables AI agents to create and manage API collections in Insomnia-compatible format. This server provides tools…”. Read the project documentation for the complete scope.

Installation

The documented npm package is mcp-insomnia. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
create_collectionCreate new collection/workspace
list_collectionsList all collections
get_collection_detailGet full details and statistics of a collection
export_collectionExport collection to JSON format
create_folderCreate folder within collection
list_requestsList all requests, optionally filter by collection
get_requestGet full details of a specific request
create_request_in_collectionCreate new request
update_requestUpdate existing request
delete_requestDelete request
execute_requestExecute an MCP-stored request and return the response (supports environment resolution, timeouts, and response size limits — see Request execution)
get_request_historyGet execution history of a request (up to 20 entries per request)
import_from_curlParse cURL command into a request
import_from_postmanImport Postman Collection (v2.1) JSON
import_from_openapiImport OpenAPI 3.x or Swagger 2.x JSON
import_from_insomnia_exportImport collections from a standard Insomnia V4 export file
generate_code_snippetGenerate a code snippet for a request. Requires requestId and target. Supported targets: c, clojure, csharp, go, http, java, javascript, kotlin, node, objc…
list_insomnia_projectsList all projects/teams from Insomnia
list_insomnia_collectionsList all workspaces/collections from Insomnia
get_insomnia_collectionGet full details of a specific Insomnia workspace
get_insomnia_requestGet full details of a specific Insomnia request
sync_from_insomniaImport a workspace from Insomnia to MCP
sync_all_from_insomniaImport all workspaces from Insomnia to MCP
sync_to_insomniaExport an MCP collection back to Insomnia
execute_insomnia_requestExecute a request directly from Insomnia without syncing (supports environment resolution and timeouts — see Request execution)
set_environment_variableSet environment variable
get_environment_variablesGet environment variables
searchSearch across all collections, folders, and requests
get_statsGet global statistics of all collections

How to install the mcp-insomnia MCP Server

{
  "mcpServers": {
    "insomnia": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-insomnia"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.