MCP server for making HTTP requests and managing API collections
Most developer tooling work still happens through a UI a human drives. MCP Insomnia MCP server moves it into the conversation instead. MCP server for making HTTP requests and managing API collections.
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.
The server publishes 6 tools. What each one is for:
import_from_curl — Parse cURL command into a requestimport_from_postman — Import Postman Collection (v2.1) JSONimport_from_openapi — Import OpenAPI 3.x or Swagger 2.x JSONimport_from_insomnia_export — Import collections from a standard Insomnia V4 export filegenerate_code_snippet — Generate a code snippet for a request. Requires requestId and target. Supported targets: c, clojure, csharp, go, http, java, javascript, kotlinPrerequisites — The Prerequisites tool exposed by this serverConfiguration is passed through the environment: INSOMNIA_DATA_DIR. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
mcp-insomnia.The server ships on npm as @modelcontextprotocol/inspector, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.
This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. MCP Insomnia's toolset — import_from_curl, import_from_postman, import_from_openapi and 3 more — is a fair guide to whether it matches your workflow. It is maintained by anggasct; worth a glance at recent repository activity before you build anything load-bearing on it.
We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.
| Tool | What it does |
|---|---|
| import_from_curl | Parse cURL command into a request |
| import_from_postman | Import Postman Collection (v2.1) JSON |
| import_from_openapi | Import OpenAPI 3.x or Swagger 2.x JSON |
| import_from_insomnia_export | Import collections from a standard Insomnia V4 export file |
| generate_code_snippet | Generate 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 |
| Prerequisites | The Prerequisites tool exposed by this server. |
{
"mcpServers": {
"insomnia": {
"command": "npx",
"args": ["mcp-insomnia"]
}
}
}Configuration as documented by the project. Restart the client after saving.
mcp-insomnia.| Variable | Description | Required |
|---|---|---|
| INSOMNIA_DATA_DIR | Filesystem location the server is allowed to use. | Optional |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.