MCP.so
登录

demo-mcp-server MCP Server

@xu1211

基本信息

分类

其他

传输方式

stdio

作者

xu1211

关于 demo-mcp-server MCP Server

暂无概览

demo-mcp-server MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "demo-mcp-server-xu1211": {
      "command": "npx",
      "args": [
        "@modelcontextprotocol/inspector",
        "node",
        ".../demo-mcp-server/build/index.js"
      ]
    }
  }
}

demo-mcp-server MCP Server 工具

2

Create new text projects

open project

概览

What is demo-mcp-server MCP Server?

demo-mcp-server MCP Server is a TypeScript‑based server that demonstrates core Model Context Protocol (MCP) concepts through a project management system. It exposes projects as resources and provides tools for AI to create and open projects programmatically.

How to use demo-mcp-server MCP Server?

Install dependencies with npm install, build with npm run build, then add the server configuration to Claude Desktop’s claude_desktop_config.json (MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json; Windows: %APPDATA%/Claude/claude_desktop_config.json). Invoke the tools create_project (with title and content) or open_project.

Key features of demo-mcp-server MCP Server

  • Access projects via project:// URIs (resources)
  • Create new text projects with the create_project tool
  • Open projects with the open_project tool
  • Projects store title, path, and metadata
  • Plain text MIME type for simple content access
  • Uses the Model Context Protocol over stdio

Use cases of demo-mcp-server MCP Server

  • AI‑assisted project creation and management
  • Demonstrating MCP resource and tool patterns
  • Testing and prototyping MCP integrations with Claude Desktop
  • Learning how to build MCP servers with TypeScript

常见问题

1

How do I debug demo-mcp-server MCP Server?

Use the MCP Inspector: run `npx @modelcontextprotocol/inspector node <path>/build/index.js` to launch a browser‑based debugging tool.

2

What tools does demo-mcp-server MCP Server provide?

Two tools: `create_project` (requires title and content, stores in server state) and `open_project`.

3

What resources does demo-mcp-server MCP Server expose?

Projects are available via `project://` URIs, each containing a project name, path, and metadata.

4

How do I install demo-mcp-server MCP Server for Claude Desktop?

Add a server entry to `claude_desktop_config.json` with the command `/usr/local/bin/node` and arguments pointing to the built `index.js`.

5

Does demo-mcp-server MCP Server require authentication?

The README does not mention any authentication mechanism. The server communicates over local stdio.

评论

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