npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@mcpjam/sdk

v0.1.4

Published

Official MCPJam SDK with reusable client utilities

Downloads

20

Readme

@mcpjam/sdk

The official MCPJam SDK provides utilities for building, testing, and developing MCP clients and servers. Built on top of the @modelcontextprotocol/sdk, it offers high-level abstractions and tools to accelerate MCP development.

npm version License: Apache 2.0

Installation

npm install @mcpjam/sdk

Key Features

MCPClientManager

The primary utility in the SDK is MCPClientManager, a powerful client manager for connecting to and interacting with MCP servers:

  • Multi-server support - Manage multiple MCP server connections simultaneously
  • All transports - STDIO, HTTP/SSE, and Streamable HTTP support
  • Lifecycle management - Automatic connection handling and cleanup
  • Tools, resources, prompts - Full MCP protocol support including elicitation
  • Agent framework integration - Built-in adapters for Vercel AI SDK and other popular libraries
  • OAuth & authentication - Bearer token and custom header support

Use Cases

The SDK is designed for:

  • Building AI agents - Connect agents to MCP servers for tool access
  • Creating MCP clients - Build custom clients with full protocol support
  • Testing MCP servers - Write unit tests and E2E tests for your servers
  • LLM applications - Add MCP support to chat applications and AI workflows

Quick Start

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

// Initialize with server configurations
const manager = new MCPClientManager({
  // STDIO server
  filesystem: {
    command: "npx",
    args: ["-y", "@modelcontextprotocol/server-filesystem", "/tmp"],
  },
  // HTTP/SSE server with authentication
  asana: {
    url: new URL("https://mcp.asana.com/sse"),
    requestInit: {
      headers: {
        Authorization: "Bearer YOUR_TOKEN",
      },
    },
  },
});

// List and execute tools
const tools = await manager.getTools(["filesystem"]);
const result = await manager.executeTool("filesystem", "read_file", {
  path: "/tmp/example.txt",
});

// Integrate with Vercel AI SDK
import { generateText } from "ai";
import { openai } from "@ai-sdk/openai";

const response = await generateText({
  model: openai("gpt-4o-mini"),
  tools: manager.getToolsForAiSdk(),
  messages: [{ role: "user", content: "List files in /tmp" }],
});

Documentation

For detailed documentation on MCPClientManager including:

  • Connection configuration (STDIO, HTTP/SSE)
  • Tool execution and resource management
  • Elicitation handling
  • Agent framework integrations
  • API reference

See the MCPClientManager README.

Development

Building Locally

Build the entire SDK workspace:

npm run build

This compiles all sub-packages including mcp-client-manager and generates distributable bundles.

Development Mode

Watch for changes and rebuild automatically:

npm run dev

Resources

Contributing

We welcome contributions! The SDK is part of the MCPJam Inspector monorepo. Please see our Contributing Guide for guidelines.

License

Apache License 2.0 - see the LICENSE file for details.


Built with ❤️ for the MCP community🌐 MCPJam.com