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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@lit-protocol/vincent-mcp-sdk

v1.1.8

Published

Vincent Model Context Protocol SDK

Readme

Vincent MCP SDK

Installation

npm install @lit-protocol/vincent-mcp-sdk

Model Context Protocol (MCP) Integration

Overview

The Vincent MCP SDK provides integration with the Model Context Protocol (MCP), allowing developers to transform their Vincent applications into MCP servers. This enables Large Language Models (LLMs) to interact with and operate Vincent abilities on behalf of delegators.

MCP provides a standardized way for LLMs to discover and use abilities, making it easier to build AI-powered applications that can leverage Vincent's capabilities.

Usage

The SDK provides abilities to transform your Vincent application into an MCP server, exposing your abilities to LLMs:

import { ethers } from 'ethers';
import { getVincentAppServer, VincentAppDef } from '@lit-protocol/vincent-mcp-sdk';
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';

// Create a signer for your delegatee account
const provider = new ethers.providers.JsonRpcProvider(
  'https://mainnet.infura.io/v3/YOUR_INFURA_KEY'
);
const delegateeSigner = new ethers.Wallet('YOUR_DELEGATEE_PRIVATE_KEY', provider);

// Define your Vincent application with abilities
const vincentApp: VincentAppDef = {
  id: '8462368',
  name: 'My Vincent App',
  version: '1',
  abilities: {
    'ipfs-cid-of-ability-1': {
      name: 'sendMessage',
      description: 'Send a message to a user',
      parameters: [
        {
          name: 'recipient',
          type: 'address',
          description: 'Ethereum address of the recipient',
        },
        {
          name: 'message',
          type: 'string',
          description: 'Message content to send',
        },
      ],
    },
    'ipfs-cid-of-ability-2': {
      name: 'checkBalance',
      description: 'Check the balance of an account',
      parameters: [
        {
          name: 'address',
          type: 'address',
          description: 'Ethereum address to check',
        },
      ],
    },
  },
};

// Create an MCP server from your Vincent application
const mcpServer = await getVincentAppServer(delegateeSigner, vincentApp);

// Connect the server to a transport (e.g., stdio for CLI-based LLM abilities)
const stdioTransport = new StdioServerTransport();
await mcpServer.connect(stdioTransport);
// For HTTP-based integration, you can use HTTP transport instead

How It Works

  1. Define Your Vincent Application: Create a Vincent application definition with the abilities you want to expose to LLMs.

  2. Create an MCP Server: Use getVincentAppServer() to transform your Vincent application into an MCP server.

  3. Connect to a Transport: Connect your MCP server to a transport mechanism (stdio, HTTP, etc.) to allow LLMs to communicate with it.

  4. LLM Interaction: LLMs can now discover and use your Vincent abilities through the MCP interface, executing them on behalf of authenticated users.

Benefits

  • Standardized Interface: MCP provides a standardized way for LLMs to discover and use your Vincent abilities.
  • Delegated Execution: LLMs can execute Vincent abilities on behalf of your app delegator users.
  • Flexible Integration: Support for various transport mechanisms allows integration with different LLM platforms and environments.
  • Extendability: MCP server can be extended with custom abilities and prompts to suit your specific needs.

Release

Pre-requisites:

  • You will need a valid npm account with access to the @lit-protocol organization.

Then run pnpm release on the repository root. It will prompt you to update the Vincent MCP SDK version and then ask you to confirm the release. This process will also generate a CHANGELOG.md record with the changes for the release.