NPM Types MCP Server
@JackVCurtis
关于 NPM Types MCP Server
An MCP (Model Context Protocol) server for providing TypeScript type definitions as MCP Resources.
基本信息
配置
工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is NPM Types MCP Server?
NPM Types MCP Server is a Model Context Protocol (MCP) server that provides TypeScript type definitions as MCP Resources. It allows AI assistants to fetch and use TypeScript type definitions from NPM packages, including specific versions.
How to use NPM Types MCP Server?
Install Node.js v23.6.0+ and yarn v1.22.22+, clone the repository, install dependencies with yarn, and start the server with yarn start. Configure it in Augment by adding an MCP server with the command /absolute/path/to/node /absolute/path/to/npm-types-mcp-server/index.ts. Once configured, the server exposes a tool called npm-types that accepts name (package name) and version parameters.
Key features of NPM Types MCP Server
- Fetches TypeScript type definitions from any NPM package
- Supports requesting the latest or specific version of package types
- Provides types as MCP Resources for AI assistant consumption
- Connects via stdio using the Model Context Protocol
- Integrates with Augment extension for code assistance
Use cases of NPM Types MCP Server
- AI assistants fetching type definitions for NPM packages to improve code suggestions
- Developers retrieving specific version types for package documentation or analysis
- Automated tooling that needs real-time access to TypeScript type information
- Enhancing IDE-like assistance in conversational coding environments
FAQ from NPM Types MCP Server
What is the purpose of NPM Types MCP Server?
It serves TypeScript type definitions from NPM packages as MCP Resources, enabling AI assistants to use those types for better code assistance.
What are the runtime requirements?
Node.js version 23.6.0 or higher and yarn version 1.22.22 or higher are required.
How does the server connect to clients?
The server listens for MCP connections via stdio. It can be configured with the Augment extension by specifying the node and index.ts paths.
What tool does it provide and what parameters does it need?
It provides a tool called npm-types that requires two parameters: name (the NPM package name) and version (the package version). It returns the TypeScript type definitions for that package.
How are type definitions obtained?
The server fetches type definitions from NPM packages, either the latest version or a specified version, by accessing the package’s type files.
其他 分类下的更多 MCP 服务器
Reactive Resume
amruthpillaiA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
ICSS
chokcoco不止于 CSS
Production-ready MCP integrations for AI applications
Klavis-AIKlavis AI: MCP integration platforms that let AI agents use tools reliably at any scale
评论