MCP Insomnia
未认领MCP-Insomnia is an MCP server for creating and managing Insomnia-compatible API collections, requests, and environments.
01 / 选择客户端
03 / 添加配置
claude mcp add --transport stdio 'mcp-insomnia' -- 'npx' '-y' '@modelcontextprotocol/inspector' 'node' 'dist/index.js'04 / 在客户端中确认
打开客户端的 MCP 设置,确认服务器已连接并列出工具。复制配置不代表连接成功。
更多Developer Tools服务器
浏览完整目录安全概况
已认领和已认证的服务器每周接受一次静态扫描,显示代码能触及的范围(外部服务、环境变量、shell 命令、代理配置目录)以及带有已知公告的依赖。认领此列表即可获得。 安全概况的工作原理
35 个工具中显示 35 个
文档中列出的工具 (35)
内容来自项目文档。服务器握手不会验证每个工具的说明或行为。
create_collection
Create new collection/workspace
create_folder
Create folder within collection
create_request_in_collection
Create new request
delete_request
Delete request
environmentId
✓
environmentVariables
✓
execute_insomnia_request
Execute a request directly from Insomnia without syncing (supports environment resolution and timeouts — see Request execution)
execute_request
Execute an MCP-stored request and return the response (supports environment resolution, timeouts, and response size limits — see Request execution)
export_collection
Export collection to JSON format
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 client selects a library (e.g. axios for javascript, curl for shell).
get_collection_detail
Get full details and statistics of a collection
get_environment_variables
Get environment variables
get_insomnia_collection
Get full details of a specific Insomnia workspace
get_insomnia_request
Get full details of a specific Insomnia request
get_request
Get full details of a specific request
get_request_history
Get execution history of a request (up to 20 entries per request)
get_stats
Get global statistics of all collections
import_from_curl
Parse cURL command into a request
import_from_insomnia_export
Import collections from a standard Insomnia V4 export file
import_from_openapi
Import OpenAPI 3.x or Swagger 2.x JSON
import_from_postman
Import Postman Collection (v2.1) JSON
list_collections
List all collections
list_insomnia_collections
List all workspaces/collections from Insomnia
list_insomnia_projects
List all projects/teams from Insomnia
list_requests
List all requests, optionally filter by collection
maxResponseBytes
✓
overrideVariables
✓
requestId
✓
search
Search across all collections, folders, and requests
set_environment_variable
Set environment variable
sync_all_from_insomnia
Import all workspaces from Insomnia to MCP
sync_from_insomnia
Import a workspace from Insomnia to MCP
sync_to_insomnia
Export an MCP collection back to Insomnia
timeoutMs
✓
update_request
Update existing request