A
anggasct/mcp-insomnia
Create Insomnia collections, requests and environments
View on GitHub ↗Link checked 2026-11-12 · HTTP 200 · opens the vendor's own site
Install & config
- Copy the command above
- Paste it as one entry under
mcpServersinclaude_desktop_config.json— local servers take command + args (example: clients) - Restart your client
Client config (built from the install command this repo gives)
{
"mcpServers": {
"anggasct-mcp-insomnia": {
"command": "npx",
"args": ["-y", "mcp-insomnia"]
}
}
}Parsed from the README we fetched on 2026-11-05; we have not executed it.
command/args come from the install command the repository states. When it is ambiguous, the project README wins.
VS Code (.vscode/mcp.json - the key is servers)
{
"servers": {
"anggasct-mcp-insomnia": {
"command": "npx",
"args": ["-y", "mcp-insomnia"]
}
}
}Same server, but VS Code keeps it under <code>servers</code>.
Claude Code (command line)
claude mcp add --transport stdio anggasct-mcp-insomnia -- npx -y mcp-insomnia
Claude Code does not read a config file; add the server with this command.
Key names differ by client: Clients & CLI
- Source
- collected from the abordage/awesome-mcp list · type: MCP server
- Harvest history
- first seen 2026-11-05 · last seen 2026-11-14 · seen 10× · listed by 10 sources
- Score
- score 1,003 · 10 sources · mcp
- Install
npx -y mcp-insomnia
FAQ (answers come from our records)
How do I install it?
The repository provides this install command:
npx -y mcp-insomnia. It comes from the repository itself; we cannot guarantee it runs as-is in your client.Who is it for?
We filed it under these tags: MCP 服务. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
first catalogued 2026-11-05;last seen 2026-11-14。There is no official certification or quality rating here — we record sources and dates only.
# MCP-Insomnia
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
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.
## Installation and Usage
### Prerequisites
Node.js 18+
npm or yarn
There are three ways to use mcp-insomnia.
### 1. Run with NPX (Recommended)
You can run mcp-insomnia directly using npx without a global installation.
Configuration:
json
"mcpServers": {
"insomnia": {
"command": "npx",
"args": ["-y", "mcp-insomnia"]
### 2. Install Globally from NPM
Install the package globally using npm.
Installation:
bash
npm install -g mcp-insomnia
Configuration:
json
"mcpServers": {
"insomnia": {
"command": "mcp-insomnia"
### 3. Install from Source
Clone the repository and build the project.
Installation:
bash
git clone https://github.com/anggasct/mcp-insomnia.git
cd mcp-insomnia
npm install
npm run build
Configuration:
json
"mcpServers": {
"insomnia": {
"command": "node",
"args": ["/path/to/mcp-insomnia/dist/index.js"]
## Available Tools
### Collection Management
createcollection - Create new collection/workspace
listcollections - List all collections
getcollectiondetail - Get full details and statistics of a collection
exportcollection - Export collection to JSON format
### Folder Management
createfolder - Create folder within collection
### Request Management
listrequests - List all requests, optionally filter by collection
getrequest - Get full details of a specific request
createrequestincollection - Create new request
updaterequest - Update existing request
deleterequest - Delete request
executerequest - Execute an MCP-stored request and return the response (supports environment resolution, timeouts, and response size limits — see Request execution)
getrequesthistory - Get execution history of a request (up to 20 entries per request)
### Import Tools
importfromcurl - Parse cURL command into a request
importfrompostman - Import Postman Collection (v2.1) JSON
importfromopenapi - Import OpenAPI 3.x or Swagger 2.x JSON
importfrominsomniaexport - Import collections from a standard Insomnia V4 export file
### Utility Tools
generatecodesnippet - 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 client selects a library (e.g. axios for javascript, curl for shell).
### Insomnia Direct Integration (NeDB)
Interact directly with the local Insomnia application database (macOS, Linux, Windows).
listinsomniaprojects - List all projects/teams from Insomnia
listinsomniacollections - List all workspaces/collections from Insomnia
getinsomniacollection - Get full details of a specific Insomnia workspace
getinsomniarequest - Get full details of a specific Insomnia request
syncfrominsomnia - Import a workspace from Insomnia to MCP
syncallfrominsomnia - Import all workspaces from Insomnia to MCP
synctoinsomnia - Export an MCP collection back to Insomnia
executeinsomniarequest - Execute a request directly from Insomnia without syncing (supports environment resolution and timeouts — see Request execution)
## Installation and Usage
### Prerequisites
Node.js 18+
npm or yarn
There are three ways to use mcp-insomnia.
### 1. Run with NPX (Recommended)
You can run mcp-insomnia directly using npx without a global installation.
Configuration:
json
"mcpServers": {
"insomnia": {
"command": "npx",
"args": ["-y", "mcp-insomnia"]
### 2. Install Globally from NPM
Install the package globally using npm.
Installation:
bash
npm install -g mcp-insomnia
Configuration:
json
"mcpServers": {
"insomnia": {
"command": "mcp-insomnia"
### 3. Install from Source
Clone the repository and build the project.
Installation:
bash
git clone https://github.com/anggasct/mcp-insomnia.git
cd mcp-insomnia
npm install
npm run build
Configuration:
json
"mcpServers": {
"insomnia": {
"command": "node",
"args": ["/path/to/mcp-insomnia/dist/index.js"]
## Available Tools
### Collection Management
createcollection - Create new collection/workspace
listcollections - List all collections
getcollectiondetail - Get full details and statistics of a collection
exportcollection - Export collection to JSON format
### Folder Management
createfolder - Create folder within collection
### Request Management
listrequests - List all requests, optionally filter by collection
getrequest - Get full details of a specific request
createrequestincollection - Create new request
updaterequest - Update existing request
deleterequest - Delete request
executerequest - Execute an MCP-stored request and return the response (supports environment resolution, timeouts, and response size limits — see Request execution)
getrequesthistory - Get execution history of a request (up to 20 entries per request)
### Import Tools
importfromcurl - Parse cURL command into a request
importfrompostman - Import Postman Collection (v2.1) JSON
importfromopenapi - Import OpenAPI 3.x or Swagger 2.x JSON
importfrominsomniaexport - Import collections from a standard Insomnia V4 export file
### Utility Tools
generatecodesnippet - 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 client selects a library (e.g. axios for javascript, curl for shell).
### Insomnia Direct Integration (NeDB)
Interact directly with the local Insomnia application database (macOS, Linux, Windows).
listinsomniaprojects - List all projects/teams from Insomnia
listinsomniacollections - List all workspaces/collections from Insomnia
getinsomniacollection - Get full details of a specific Insomnia workspace
getinsomniarequest - Get full details of a specific Insomnia request
syncfrominsomnia - Import a workspace from Insomnia to MCP
syncallfrominsomnia - Import all workspaces from Insomnia to MCP
synctoinsomnia - Export an MCP collection back to Insomnia
executeinsomniarequest - Execute a request directly from Insomnia without syncing (supports environment resolution and timeouts — see Request execution)
Listed badge (optional)
Copy this line into the README if you want the listing mark. Optional, and it does not affect being listed.
[](https://anclum.com/en/s/anggasct-mcp-insomnia/)
- Source
- awesome · https://github.com/anggasct/mcp-insomnia
- Browse by field
- MCP servers
- Listed by
- 10 independent sources
- added
- today
More like this
Filed under
Every tag opens the full list for that filter. Counts are the live catalogue figures.