MCP.so
登录

TypeSpec MCP Server and Emitter

@microsoft

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

microsoft

关于 TypeSpec MCP Server and Emitter

Create an MCP Server for your API using the TypeSpec MCP Server

TypeSpec MCP Server and Emitter 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

TypeSpec MCP Server and Emitter 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is TypeSpec MCP Server and Emitter?

The TypeSpec MCP Server and Emitter is a set of packages for building Model Context Protocol (MCP) servers using the TypeSpec language. It includes an MCP server that assists in developing MCP extensions, a TypeSpec library for describing MCP servers (e.g., the @tool decorator), and emitters that automatically generate JavaScript server implementations or HTTP wrappers for REST APIs.

How to use TypeSpec MCP Server and Emitter?

Install via VS Code’s one-click buttons or by manually adding an .vscode/mcp.json config with npx -y mcp-server-typespec@latest. After installation, switch GitHub Copilot to Agent mode, refresh the tools list, and invoke commands like init, compile, or build. Requires Node.js 20 or later and VS Code with GitHub Copilot and Copilot Chat extensions.

Key features of TypeSpec MCP Server and Emitter

  • MCP server with tools for authoring TypeSpec extensions
  • TypeSpec library including the @tool decorator
  • Emitter generates JavaScript MCP server implementation
  • Emitter generates JS server for calling remote REST APIs
  • Built-in tools: learnTypeSpec, init, compile, build

Use cases of TypeSpec MCP Server and Emitter

  • Scaffold a new MCP project with example tool implementations
  • Auto‑generate server code from TypeSpec definitions
  • Learn TypeSpec syntax and patterns via the learnTypeSpec tool

常见问题

1

How does it differ from alternative MCP toolkits?

It focuses on using TypeSpec to define MCP servers and provides emitters to automatically generate runnable JavaScript code.

2

What are the runtime requirements?

Node.js 20 or later; VS Code (stable or Insiders) with the GitHub Copilot and GitHub Copilot Chat extensions.

3

What is the current maturity level?

This project is in Public Preview; implementation may significantly change before General Availability.

评论

其他 分类下的更多 MCP 服务器