MCP Insomnia MCP Server

MCP server for making HTTP requests and managing API collections

Local serverstdioPython

What is the MCP Insomnia MCP Server?

MCP server for making HTTP requests and managing API collections

The short version

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, requests, and environments that can be exported to Insomnia.

What it needs from you

  • Node.js 18+ - npm or yarn There are three ways to use mcp-insomnia.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

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
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, ocaml, php, powershell, python, ruby, shell, swift. Optional cl

How to install the MCP Insomnia MCP Server

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

Configuration as documented by the project. Restart the client after saving.

Configuration

  • Node.js 18+ - npm or yarn There are three ways to use mcp-insomnia.
VariableDescriptionRequired
INSOMNIA_DATA_DIRFilesystem location the server is allowed to use.Optional

Example prompts to try

  • “Use MCP Insomnia to import from curl.”
  • “Use MCP Insomnia to import from postman.”
  • “Use MCP Insomnia to import from openapi.”

Frequently asked questions

MCP server for making HTTP requests and managing API collections Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.