typespec-mcp

typespec-mcp

16

The TypeSpec MCP Server is a project designed to help users quickly build MCP servers using the TypeSpec framework. It offers tools for building REST APIs and other protocols with ongoing development to introduce more features.

Overview

What packages are in this repository?

  • mcp-server-typespec helps in developing MCP extensions using TypeSpec.
  • typespec-mcp is a TypeSpec library for describing MCP servers.
  • typespec-mcp-server-js generates a server implementation in JavaScript for an MCP tool.
  • typespec-mcp-http-server-js generates a server implementation in JavaScript for calling a remote REST API.

Currently Supported Tools

  • learnTypeSpec
  • init
  • compile
  • build

Getting Started

Requires Node.js to install and run. Provides assistance with TypeSpec authoring and can be used with GitHub Copilot in VS Code.

Installation

Supports one-click install or manual setup with .vscode/mcp.json.