MCP-Insomnia

MCP-Insomnia is an MCP server that enables AI assistants to manage and execute API collections in an Insomnia-compatible format. It connects directly to local Insomnia database files across macOS, Linux, and Windows, as well as an isolated local storage space. Developers, QA engineers, and API designers use this server to automate API lifecycle management through conversational AI interfaces. The server provides tools to create and structure collections, manage nested request folders, configure layered environment variables, and trigger HTTP requests with custom timeouts and response size limits. It also includes utilities to convert API definitions from OpenAPI specs, Postman collections, and cURL commands directly into Insomnia requests. Additionally, MCP-Insomnia allows developers to generate client-side code snippets across numerous programming languages and synchronize modified workspaces bidirectionally with the local desktop Insomnia application.

Category: CRM, ERP & E-commerce

Tags: api testing, collections, http, insomnia, rest

Visit MCP-Insomnia

How to install and configure MCP-Insomnia

  1. Ensure Node.js 18 or higher is installed on your system. 2. Configure your MCP client (such as Claude Desktop) to run the server via npx, npm, or from source. 3. Add the following entry to your MCP client configuration file under mcpServers: json { "mcpServers": { "insomnia": { "command": "npx", "args": ["-y", "mcp-insomnia"] } } } 4. If your Insomnia data is stored in a custom path, add an env block setting INSOMNIA_DATA_DIR to your database directory. 5. Restart your MCP client to load the tools.

What you can do with MCP-Insomnia

  • Creating, updating, and structuring API request collections inside Insomnia workspaces using natural language commands. - Executing HTTP requests with runtime variable overrides, environment substitution, and configurable response timeouts. - Importing existing endpoints into Insomnia collections directly from OpenAPI definitions, Postman files, or raw cURL strings. - Generating multi-language code snippets for HTTP requests across targets like JavaScript, Python, Go, and Shell. - Bidirectionally synchronizing collections and requests between local MCP storage and desktop Insomnia NeDB databases.

Key facts

  • https://github.com/anggasct/mcp-insomnia
  • CRM, ERP & E-commerce, Developer Tools & Code Intelligence
  • api testing, collections, http, insomnia, rest

Part of MCP Servers

Related MCP servers

  • MCP LaTeX Server — MCP LaTeX Server is an MCP server that provides tools for creating, editing, validating, and compiling LaTeX documents directly through…
  • MCP JSON — MCP JSON is an MCP server collection that bundles tools for file system operations, Google search, browser-based web automation, and…
  • MCP Jupyter Complete — MCP Jupyter Complete is an MCP server that provides tools for manipulating Jupyter notebook files through position-based cell operations and…
  • MCP LSP Go — MCP LSP Go is an MCP server that connects AI assistants to the official Go Language Server Protocol implementation, gopls,…
  • MCP Manager — MCP Manager is an MCP server management tool that connects directly to your Claude Desktop environment, enabling users to discover,…
  • MCP Lab — MCP Lab is an MCP server development environment designed for building, testing, and debugging custom Model Context Protocol servers integrated…

What is MCP-Insomnia?

MCP-Insomnia is a Model Context Protocol server that lets AI assistants interact with Insomnia API collections. It allows agents to create, inspect, execute, and export API requests and environments, and interact directly with local Insomnia desktop storage.

How do I install MCP-Insomnia?

You can run MCP-Insomnia without prior installation using npx by specifying npx -y mcp-insomnia in your MCP client configuration. Alternatively, install it globally using npm install -g mcp-insomnia or clone the repository and build from source.

Does MCP-Insomnia modify my existing Insomnia desktop data?

By default, MCP-Insomnia saves working files in an isolated local storage path. Changes do not affect the Insomnia desktop application until you explicitly run synchronization tools like sync_to_insomnia to write updates to Insomnia's database.

What import formats does MCP-Insomnia support?

MCP-Insomnia includes tools to import API requests from cURL commands, Postman Collection version 2.1 JSON files, OpenAPI 3.x or Swagger 2.x JSON specifications, and standard Insomnia V4 export files.

Is MCP-Insomnia open source?

Yes, MCP-Insomnia is open-source software distributed under the MIT License on GitHub.

  • AI Tools
  • Categories
  • Industries
  • CLI Coding Agents
  • MCP Servers
  • MCP Categories