JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 71
  • Score
    100M100P100Q72641F
  • License AGPL-3.0-only

MCP SDK for Node.js. Helps you manage MCP projects programmatically.

Package Exports

  • @mcpm/sdk

Readme

MCPM SDK

npm version npm downloads Build Status GitHub license GitHub issues GitHub stars

A Node.js SDK for managing MCP projects programmatically.

Highlights

  • 🚀 Programmatic MCP Management: Manage MCP projects programmatically using our Node.js SDK
  • 🔄 Claude Integration: Interact with Claude App programmatically using our SDK
  • 🛠️ Package Discovery: Search and discover MCP packages from the community
  • 🔌 MCP Server Control: Start and manage MCP servers programmatically
  • 📝 JSON Configuration: Manage MCP projects through JSON configuration files

Installation

npm install @mcpm/sdk

Usage

import { ClaudeHostService, registrySrv } from '@mcpm/sdk';

// Search for packages
const packages = await registrySrv.searchPackages('your-search-query');

// Work with Claude
const claudeSrv = new ClaudeHostService();
// ... use Claude service

// Start MCP server programmatically
import { MCPServer } from '@mcpm/sdk';
const server = new MCPServer();
await server.start();

Configuration

  • MCP projects are stored in JSON configuration files
  • Claude App configuration is managed programmatically using our SDK

Development

Publish A new version

GitHub Actions will automatically publish a new version when a new tag is created

git tag v1.4.1
git push origin v1.4.1

TODO

  • Add Remote MCP Discovery (A MCPHub for search and recommendation)
  • Auto Install MCP Servers For you
  • A GUI for MCPM SDK

For more information, visit our MCP.md.