Skip to content
PluginStats

@mcpjam/sdk weekly downloads statistics

By mcpjam (3 listings) · npm · MCP servers

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

View on npm Fresh · Dec 6, 2026

@mcpjam/sdk has 43,584 recorded weekly downloads on npm, a decrease of 29.2% over the past 30 days, ranking #821 of 3,247 tracked listings.

Weekly downloads
43,584
Official API · Dec 5, 2026
7-day growth
-0.6%
-264 weekly downloads
30-day growth
-29.2%
-18K weekly downloads
90-day growth
+232%
+30.5K weekly downloads
Rank
#821
▼ 27 in 7 days

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: 43,584 weekly downloads as of Dec 5, 2026, +232% over 90 days.@mcpjam/sdkWeekly downloads on npm · Last 90 days43,584downloads / week+232% over 90 days020K40K60K80KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@mcpjam/sdk weekly downloads on npm, last 90 days: 43,584 weekly downloads as of Dec 5, 2026, +232% over 90 days.

7/30/90-day growth

@mcpjam/sdk weekly downloads growth on npm: -0.6% over 7 days, -29.2% over 30 days, +232% over 90 days.@mcpjam/sdkWeekly downloads growth on npm43,584downloads / week now7-day growth-264 weekly downloads-0.6%30-day growth-18,008 weekly downloads-29.2%90-day growth+30,463 weekly downloads+232%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@mcpjam/sdk weekly downloads growth on npm: -0.6% over 7 days, -29.2% over 30 days, +232% over 90 days.

Ranking history

@mcpjam/sdk npm ranking history: currently #821 (by weekly downloads).@mcpjam/sdknpm ranking · by weekly downloads · Last 90 days#821current rank#650#700#750#800#850#900Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
@mcpjam/sdk npm ranking history: currently #821 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 42, #1 (overall #821)
All npm: every listing in weekly downloads order

Listing placement

MCP servers468 listings · 24 pages · page 7, #4 (overall #124)
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 (170)
Recent weekly downloads observations for @mcpjam/sdk
Date (UTC)Weekly downloadsChange vs. previous
43,584-3.5K
47,035-658
47,693-680
48,373-1.4K
49,773+4.5K
45,306+1.5K
43,853+5
43,848+1.1K
42,705+3.8K
38,887+2.2K
36,642+2.1K
34,511-2.6K
37,089-5.6K
42,664—

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 Dec 6, 2026. See the methodology.