You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@erudita/mcp-server

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@erudita/mcp-server

MCP server for managing documentation cache

0.0.0
latest
npmnpm
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Erudite MCP Server

A Model Context Protocol (MCP) server for managing and serving documentation for JavaScript/TypeScript packages.

Features

  • Download and cache documentation for npm packages
  • List available documentation packages
  • Update documentation for specific packages
  • Serve documentation content to LLMs

Usage

Starting the server

# From the root of the repository
pnpm mcp:start

Available Tools

The server provides the following tools:

  • list_documentation

    • Description: List all available documentation packages and their versions
    • Input: {}
    • Output: { docs: Array<{name: string, version: string, lastUpdated: string, paths: string[]}> }
  • update_documentation

    • Description: Update documentation for a specific package
    • Input: { packageName: string, version?: string }
    • Output: { success: boolean, message: string }
  • get_documentation

    • Description: Get documentation content for a specific package and path
    • Input: { packageName: string, version?: string, path?: string }
    • Output: { content: string }

Configuration

The server can be configured with the following environment variables:

  • PORT: Port to run the server on (default: 3000)
  • CACHE_DIR: Directory to store cached documentation (default: ./.erudite/cache)

Development

# Install dependencies
pnpm install

# Build the package
pnpm build

# Start in development mode
pnpm dev

License

MIT

FAQs

Package last updated on 06 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts