Skip to main content
Glama
Invoker MCP Server
by doossee

⚡ Invoker MCP Server

Позволяет ИИ-агентам создавать, запускать и управлять HTTP-запросами в формате .ivk.

npm License: MIT


Сервер MCP (Model Context Protocol), который оборачивает ivkjs, позволяя ИИ-инструментам взаимодействовать с HTTP-клиентом Invoker.

Установка

npm install -g invoker-mcp

Related MCP server: Swagger/Postman MCP Server

Настройка

Claude Desktop

Добавьте в ~/Library/Application Support/Claude/claude_desktop_config.json:

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

Claude Code

claude mcp add invoker -- npx invoker-mcp

Инструменты

Инструмент

Описание

invoker_list_collection

Сканирование папки на наличие файлов .ivk и .md

invoker_read_request

Чтение и парсинг файла .ivk

invoker_create_request

Создание нового файла запроса .ivk

invoker_send_request

Выполнение запроса (из файла или встроенного)

invoker_list_environments

Список всех окружений с переменными

invoker_set_variable

Установка переменной окружения

invoker_switch_environment

Переключение активного окружения

invoker_add_environment

Создание нового окружения

invoker_build_site

Сборка статического сайта документации

Пример использования (в диалоге с ИИ)

"Просканируй мою коллекцию API в ./invoker и отправь запрос на вход"

ИИ-агент выполнит следующее:

  1. Вызовет invoker_list_collection с параметром folder_path: "./invoker"

  2. Вызовет invoker_send_request с параметром file_path: "./invoker/auth/login.ivk"

  3. Вернет вам ответ

Лицензия

MIT

Available Tools

9 tools
invoker_add_environmentAdd EnvironmentA

Create a new environment with optional initial variables.

Inputs: name (required), variables.

invoker_build_siteBuild Documentation SiteA

Build a static documentation site from an Invoker collection folder. Produces a deployable dist/ with markdown docs and inline runnable .ivk request widgets. Requires the invoker-app to be installed.

Inputs: collection_path (required), output_path, title.

invoker_create_requestCreate RequestA

Create a new .ivk request file. Specify the HTTP method, URL, and optionally headers, body, auth, scripts. The file is written to disk in .ivk format.

Inputs: file_path (required), method (required), url (required), name, +7 more.

invoker_list_collectionList CollectionA
Read-only

Scan a folder for .ivk request files and .md documentation files. Returns the file tree with counts. Use this to discover what requests and docs exist in a collection.

Inputs: folder_path (required).

invoker_list_environmentsList EnvironmentsA
Read-only

List all environments with their variables. Shows which environment is currently active. Use this to see available environments before switching or setting variables.

Inputs: no named parameters.

invoker_read_requestRead RequestA
Read-only

Read and parse an .ivk file. Returns the parsed request with method, URL, headers, body, directives, and scripts. Use this to inspect what a request does before sending it.

Inputs: file_path (required).

invoker_send_requestSend RequestA

Execute an HTTP request from an .ivk file or inline params. Resolves {{variables}} from the active environment, runs pre/post scripts, and returns the full response with status, headers, body, test results, and console logs.

Inputs: file_path, method, url, headers, +1 more.

invoker_set_variableSet VariableA
Idempotent

Set an environment variable in the active environment. The variable will be used to resolve {{name}} placeholders in subsequent requests.

Inputs: name (required), value (required).

invoker_switch_environmentSwitch EnvironmentA
Idempotent

Switch the active environment by name or index. All subsequent variable resolution will use the new environment's values.

Inputs: environment (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 9 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose with no overlap: creating environments, building sites, creating/reading/sending requests, listing collections/environments, and managing variables. The descriptions clearly differentiate their functions, preventing misselection.

    Naming Consistency5/5

    All tools follow a consistent 'invoker_verb_noun' pattern (e.g., invoker_add_environment, invoker_build_site). This predictable naming makes it easy for agents to understand and navigate the toolset without confusion.

    Tool Count5/5

    With 9 tools, the server is well-scoped for managing Invoker collections, environments, and requests. Each tool serves a specific role in the workflow, from setup to execution, without being overly sparse or bloated.

    Completeness4/5

    The toolset covers core CRUD and lifecycle operations for environments, variables, and requests, with good workflow support. A minor gap exists in lacking tools for deleting or updating environments/requests, but agents can work around this with file system operations.

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables AI assistants to interact with Istek API Client for managing workspaces, collections, environments, variables, and request history. Allows natural language control of API development workflows including creating collections, adding requests, and managing environment configurations.
      -
    • F
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables AI agents to dynamically discover and interact with APIs through Swagger/OpenAPI specifications and Postman collections using a strategic four-tool approach. It streamlines API integration by providing universal tools for endpoint discovery, detailed request information, and authenticated execution.
      1
      -
    • A
      license
      C
      quality
      B
      maintenance
      Enables AI agents to create, manage, and execute API collections, requests, and environments in Insomnia-compatible formats. It supports direct synchronization with the local Insomnia app database and importing from OpenAPI, Postman, and cURL.
      30
      625 npm
      27
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to inspect, test, validate, compare, and debug HTTP APIs through a structured toolkit, with features such as secret redaction, response contract validation, regression comparison, health checks, and incident investigation workflows.
      MIT