Awesome MCPTypeScript

rekog-labs/MCP-Nest

⭐ 706 TypeScript added to this list on 2025-05-06 repository created 2025-01-26

The project "rekog-labs/MCP-Nest" is a NestJS module designed to facilitate the creation of Model Context Protocol (MCP) servers. It enables developers to effortlessly expose AI tools, resources, and prompts from their NestJS applications. The module supports multiple transport types including Streamable HTTP, HTTP+SSE, and STDIO, providing flexibility in how MCP servers communicate. It features automatic discovery and registration of tools, resources, and prompts, which simplifies the development process. The module uses Zod for tool call validation, ensuring that inputs to tools are correctly validated. It also supports progress notifications, allowing tools to report their execution progress back to clients. Authentication is handled through NestJS Guards, enabling secure access to MCP endpoints. The module provides access to HTTP request information within MCP resources, which can be used for user identification and client-specific logic. The project includes detailed examples and quick start guides for both HTTP and STDIO transports, demonstrating how to define tools and resources, configure the module, and secure endpoints with authentication guards. It exposes several API endpoints for MCP operations, including SSE connections and tool execution endpoints, with support for stateful sessions in Streamable HTTP transport. The module is designed to integrate seamlessly with existing NestJS applications, leveraging dependency injection and familiar patterns. It also includes a playground directory with examples to test MCP features. Overall, this project is a comprehensive solution for building enterprise-ready MCP servers within the NestJS framework, focusing on ease of use, flexibility, and security.

https://github.com/rekog-labs/MCP-Nest

ai-promptsai-resourcesai-toolsapi-endpointsauthenticationdependency-injectionenterprise-readyguard-based-authenticationguardshttp+ssellmllmsmcpmcp-modulemcp-servermcp-serversmcp-transportmodel-context-protocolmodelcontextprotocolnestjsnestjs-guardsprogress-notificationsssestateful-sessionsstdiostreamable-httptransport-typeszod-validation

Also in TypeScript

modelcontextprotocol/typescript-sdk

Official TypeScript SDK for building and interacting with Model Context Protocol (MCP) servers and clients, enabling standardized context provision for large language models.

mnfst/manifest

Manifest is an open-source components library built on shadcn/ui for creating customizable and production-ready ChatGPT and MCP applications efficiently.

idosal/mcp-ui

mcp-ui is a TypeScript SDK that enhances the Model Context Protocol by enabling rich, interactive UI components through server-generated HtmlResourceBlocks and client-side React rendering, facilitating dynamic AI interactions.

punkpeye/fastmcp

FastMCP is a TypeScript framework that simplifies building Model Context Protocol (MCP) servers by handling client sessions, multiple content types, real-time updates, and flexible tool definitions using standard schema validation libraries.

modelcontextprotocol/use-mcp

use-mcp is a lightweight React hook that simplifies connecting to Model Context Protocol (MCP) servers by managing authentication, connection states, and tool invocation for AI applications.

QuantGeekDev/mcp-framework

MCP Framework is a TypeScript-based framework that simplifies building Model Context Protocol (MCP) servers with features like automatic discovery, multiple transport support, built-in authentication, and comprehensive validation tools.

jasonjmcghee/WebMCP

WebMCP is a protocol and toolkit enabling websites to act as MCP servers, sharing tools and resources securely with client-side large language models to enhance user interactions.

vercel/mcp-adapter

A Vercel adapter that enables easy deployment of Model Context Protocol (MCP) servers on Next.js and other frameworks, facilitating real-time communication between applications and AI models.