Skip to content
PluginStats

@mcpjam/sdk weekly downloads statistics

By mcpjam (2 listings) · npm · MCP servers

MCP server unit testing, end to end (e2e) testing, and server evals

View on npm Fresh · Oct 18, 2026

@mcpjam/sdk has 33,333 recorded weekly downloads on npm, an increase of 81.9% over the past 30 days, ranking #664 of 2,322 tracked listings.

Weekly downloads
33,333
Official API · Oct 18, 2026
7-day growth
+35.3%
+8.7K weekly downloads
30-day growth
+81.9%
+15K weekly downloads
90-day growth
+330%
+25.6K weekly downloads
Rank
#664
Among tracked npm listings

About @mcpjam/sdk

@mcpjam/sdk

Use the MCPJam SDK to write unit tests and evals for your MCP server.

Installation

npm install @mcpjam/sdk

Compatible with your favorite testing framework like Jest and Vitest

Quick Start

Unit Test

Test the individual parts, request response flow of your MCP server. MCP unit tests are deterministic.

import { MCPClientManager, assertCallToolResult } from "@mcpjam/sdk";

describe("Everything MCP example", () => {
  let manager: MCPClientManager;

  beforeAll(async () => {
    manager = new MCPClientManager();
    await manager.connectToServer("everything", {
      command: "npx",
      args: ["-y", "@modelcontextprotocol/server-everything"],
    });
  });

  afterAll(async () => {
    await manager.disconnectServer("everything");
  });

  test("server has expected tools", async () => {
    const tools = await manager.listTools("everything");
    expect(tools.tools.map((t) => t.name)).toContain("get-sum");
  });

  test("get-sum tool returns correct result", async () => {
    // `executeTool` can also resolve to a task envelope, and a content block
    // can be an image or a resource, so narrow both before reading the text.
    const result = assertCallToolResult(
      await manager.executeTool("everything", "get-sum", { a: 2, b: 3 }),
    );
    const [block] = result.content;
    if (block.type !== "text") throw new Error("Expected a text block");
    expect(block.text).toBe("The sum of 2 and 3 is 5.");
  });
});
MCP evals

Test that an LLM correctly understands how to use your MCP server. Evals are non-deterministic and multiple runs are needed.

Heads up: renames in 1.11. TestAgent → HostRunner, EvalAgent → HostExecutor, .prompt() → .run(), Host.addServer() → Host.requireServer(). No deprecation aliases. See the changelog for the codemod.

import { MCPClientManager, HostRunner, EvalTest } from "@mcpjam/sdk";

describe("Asana MCP Evals", () => {
  let manager: MCPClientManager;
  let runner: HostRunner;

  beforeAll(async () => {
    manager = new MCPClientManager();
    await manager.connectToServer("asana", {
      url: "https://mcp.asana.com/sse",
      requestInit: {
        headers: { Authorization: `Bearer ${process.env.ASANA_TOKEN}` },
      },
    });

    runner = new HostRunner({
      tools: await manager.getToolsForAiSdk(["asana"]),
      model: "openai/gpt-4o",
      apiKey: process.env.OPENAI_API_KEY!,
    });
  });

  afterAll(async () => {
    await manager.disconnectServer("asana");
  });

  // Single-turn eval
  test("list workspaces > 80% accuracy", async () => {
    const evalTest = new EvalTest({
      id: "c_list_workspaces",
      name: "list-workspaces",
      test: async (runner) => {
        const result = await runner.run("Show me all my Asana workspaces");
        return result.hasToolCall("asana_list_workspaces");
      },
    });

    await evalTest.run(runner, {
      iterations: 10,
      onFailure: (report) => console.error(report), // Print the report when a test iteration fails.
    });

    expect(evalTest.accuracy()).toBeGreaterThan(0.8); // Pass threshold
  });

  // Multi-turn eval
  test("get user then list projects > 80% accuracy", async () => {
    const evalTest = new EvalTest({
      id: "c_user_then_projects",
      name: "user-then-projects",
      test: async (runner) => {
        const r1 = await runner.run("Who am I in Asana?");
        if (!r1.hasToolCall("asana_get_user")) return false;

        const r2 = await runner.run("Now list my projects", {
          context: [r1],
        }); // Continue the conversation from the previous prompt
        return r2.hasToolCall("asana_get_projects");
      },
    });

    await evalTest.run(runner, {
      iterations: 5,
      onFailure: (report) => console.error(report),
    });

    expect(evalTest.accuracy()).toBeGreaterThan(0.8);
  });

  // Validating tool arguments
  test("search tasks passes correct workspace_gid", async () => {
    const evalTest = new EvalTest({
      id: "c_search_args",
      name: "search-args",
      test: async (runner) => {
        const result = await runner.run(
          "Search for tasks containing 'bug' in my workspace"
        );
        const args = result.getToolArguments("asana_search_tasks");
        return (
          result.hasToolCall("asana_search_tasks") &&
          typeof args?.workspace_gid === "string"
        );
      },
    });

    await evalTest.run(runner, {
      iterations: 5,
      onFailure: (report) => console.error(report),
    });

    expect(evalTest.accuracy()).toBeGreaterThan(0.8);
  });
});
Host + HostRuntime: bring your own runtime

Host is the portable host-configuration spec — the same object the MCPJam Inspector uses to drive its Playground and eval suites. You can build one in your own code and run evals against it, so the inspector and your CI exercise the same host behavior (style, model, MCP profile, sandbox/permission policy, OpenAI-Apps compat, tool-visibility policy, etc.).

import { MCPClientManager, Host, EvalTest } from "@mcpjam/sdk";

const manager = new MCPClientManager();
await manager.connectToServer("everything", {
  command: "npx",
  args: ["-y", "@modelcontextprotocol/server-everything"],
});

// Build the spec — Host is just an editable wrapper around the canonical JSON.
const host = new Host({
  style: "mcpjam",
  model: "openai/gpt-4o",
  systemPrompt: "You are a helpful assistant.",
}).requireServer("everything");

// Bind the spec to a live MCP manager. `apiKey` lives on the runtime, not per-call.
const runtime = host.withManager(manager, {
  apiKey: process.env.OPENAI_API_KEY!,
});

const evalTest = new EvalTest({
  id: "c_add",
  name: "add",
  test: async (runner) => (await runner.run("Add 2 and 3")).hasToolCall("add"),
});
await evalTest.run(runtime, { iterations: 10 });
```…

Description from the npm listing.

  • mcp
  • model-context-protocol
  • testing
  • evals
  • unit-testing
  • e2e

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@mcpjam/sdk weekly downloads on npm, last 90 days: 33,333 weekly downloads as of Oct 18, 2026, +330% over 90 days.@mcpjam/sdkWeekly downloads on npm · Last 90 days33,333downloads / week+330% over 90 days010K20K30K40KJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 18, 2026 · 89 observations · Updated Oc…pluginstats.com
@mcpjam/sdk weekly downloads on npm, last 90 days: 33,333 weekly downloads as of Oct 18, 2026, +330% over 90 days.

7/30/90-day growth

@mcpjam/sdk weekly downloads growth on npm: +35.3% over 7 days, +81.9% over 30 days, +330% over 90 days.@mcpjam/sdkWeekly downloads growth on npm33,333downloads / week now7-day growth+8,703 weekly downloads+35.3%30-day growth+15,005 weekly downloads+81.9%90-day growth+25,582 weekly downloads+330%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
@mcpjam/sdk weekly downloads growth on npm: +35.3% over 7 days, +81.9% over 30 days, +330% over 90 days.

Ranking history

@mcpjam/sdk npm ranking history: currently #664 (by weekly downloads).@mcpjam/sdknpm ranking · by weekly downloads · Last 90 days#664current rank#660#680#700#720#740#760Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 18, 2026 – Oct 20, 2026 · 3 observations · Updated Oct 18, 2026pluginstats.com
@mcpjam/sdk npm ranking history: currently #664 (by weekly downloads).

Listing placement

All npm2,320 listings · 116 pages · 1,162 shown · page 34, #4 (overall #664)
All npm: every listing in weekly downloads order

Listing placement

MCP servers277 listings · 14 pages · page 5, #2 (overall #82)
MCP servers: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (122)
Recent weekly downloads observations for @mcpjam/sdk
Date (UTC)Weekly downloadsChange vs. previous
33,333+12.8K
20,485-1.9K
22,348+9.8K
12,531-5.5K
18,005-6.1K
24,0890
24,089-541
24,630+1.7K
22,920-854
23,774-1.9K
25,713-2.3K
27,964+633
27,331-7.1K
34,471—

Similar npm MCP servers plugins

All 20 @mcpjam/sdk alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@mcpjam/sdk. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.