Basic information
About MCP Server Demo
# MCP Server Demo ```bash # 创建并打开项目目录 mkdir mcp-server-demo cd mcp-server-demo npm init -y code . # 安装依赖 npm install @modelcontextprotocol/sdk zod npm install -D @types/node typescript # 创建源码目录和文件 mkdir -p src/cmd touch src/cmd/time.ts ``` * https://github.com/modelcontextprotocol/typescript-sdk * https://modelcontextprotocol.io/quickstart/server * https://github.com/modelcontextprotocol/servers/blob/main/src/filesystem/index.ts
MCP Server Demo is a MCP server in the Other category listed in the AddMCP.net directory, published by rectcircle. Supported transport: stdio. Runtime: node. License: MIT. Source code is hosted on github.com. Related topics: demo, javascript, mcp-server.
MCP Server Demo — by rectcircle config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
MCP Server Demo — by rectcircle tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is MCP Server Demo?
MCP Server Demo provides the setup commands and directory structure for a Model Context Protocol (MCP) server project using TypeScript. It includes an example time tool file and links to the official TypeScript SDK, a quickstart guide, and a reference server implementation.
How to use MCP Server Demo?
Follow the provided shell commands to create the project directory, initialize npm, and install the required dependencies (@modelcontextprotocol/sdk and zod). Then create the source directory and the example file src/cmd/time.ts.
Key features of MCP Server Demo
- Uses the MCP TypeScript SDK and Zod
- Includes an example time tool (
src/cmd/time.ts) - References official MCP server documentation
Frequently asked questions
1 What is the purpose of MCP Server Demo?
The README shows the initial project setup for a demo MCP server, including dependency installation and a skeleton file for a time tool.
2 What dependencies are required?
The project requires @modelcontextprotocol/sdk and zod as dependencies, and typescript with @types/node as dev dependencies.
3 How do I set up the project?
Execute the commands in order: create the directory, initialize npm, install dependencies and dev dependencies, then create the src/cmd directory and the time.ts file.
4 Where can I find more information?
The README links to the TypeScript SDK repository, the MCP quickstart server guide, and a filesystem server implementation.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In