Skip to main content
Glama
Invoker MCP Server
by doossee

⚡ Invoker MCP Server

Let AI agents create, run, and manage HTTP requests in .ivk format.

npm License: MIT


An MCP (Model Context Protocol) server that wraps ivkjs to let AI tools interact with the Invoker API client.

Install

npm install -g invoker-mcp

Related MCP server: Swagger/Postman MCP Server

Configure

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

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

Claude Code

claude mcp add invoker -- npx invoker-mcp

Tools

Tool

Description

invoker_list_collection

Scan a folder for .ivk and .md files

invoker_read_request

Read and parse an .ivk file

invoker_create_request

Create a new .ivk request file

invoker_send_request

Execute a request (from file or inline)

invoker_list_environments

List all environments with variables

invoker_set_variable

Set an environment variable

invoker_switch_environment

Switch the active environment

invoker_add_environment

Create a new environment

invoker_build_site

Build a static documentation site

Example usage (in an AI conversation)

"Scan my API collection at ./invoker and send the login request"

The AI agent would:

  1. Call invoker_list_collection with folder_path: "./invoker"

  2. Call invoker_send_request with file_path: "./invoker/auth/login.ivk"

  3. Return the response to you

License

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.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    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