0.0.7 • Published 7 months ago

@mcp-sdk/server v0.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

@mcp-sdk/server

A TypeScript SDK for the Model Context Protocol (MCP) server implementation.

Installation

# Using npm
npm install @mcp-sdk/server

# Using yarn
yarn add @mcp-sdk/server

# Using pnpm
pnpm add @mcp-sdk/server

# Using bun
bun add @mcp-sdk/server

Usage

Basic Example

import { MCP } from '@mcp-sdk/server';

// Initialize MCP
const mcp = new MCP();

// Configure and use as needed
// ... your code here

// Start the server
mcp.listen();

Example with Authentication

import { MCP } from '@mcp-sdk/server';

// Initialize MCP with authentication
const mcp = new MCP({ 
  auth: {
    // Configure authentication options here
  }
});

// Start the server
mcp.listen();

API Documentation

Link to API documentation

Development

This project uses Changesets for managing releases and tsup for bundling.

Setup

# Install dependencies
bun install

Scripts

  • bun run build: Build the package
  • bun run dev: Start development mode with watch
  • bun run lint: Run TypeScript type checking
  • bun run changeset: Create a new changeset
  • bun run version: Update versions and changelogs
  • bun run release: Build and publish the package

License

MIT

0.0.7

7 months ago

0.0.6

7 months ago

0.0.5

7 months ago

0.0.4

7 months ago

0.0.3

8 months ago

0.0.2

8 months ago