demo-mcp-server

xu1211/demo-mcp-server

3.1

If you are the rightful owner of demo-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A TypeScript-based MCP server demonstrating core concepts through a project management system.

The demo-mcp-server is a Model Context Protocol (MCP) server implemented in TypeScript, designed to showcase the fundamental concepts of MCP through a project management system. It allows users to query and manage projects using URIs and hierarchical paths. The server provides tools to create and open projects programmatically, making it a versatile solution for project management tasks. The server is built to handle resources efficiently, offering plain text mime type for simple content access. It is equipped with development tools for building, watching, and debugging, ensuring a smooth development experience. The server can be integrated with platforms like Claude Desktop, providing a seamless user experience.

Features

  • Resources: List and access projects via `project://` URIs, with each project having a name, path, and metadata.
  • Tools: Includes `create_project` to create new text projects and `open_project` to open existing projects.

Usages

usage with Claude Desktop

{
    "demo-mcp-service": {
      "command": "/usr/local/bin/node",
      "args": [
        ".../demo-mcp-server/build/index.js"
      ],
      "disabled": false,
      "autoApprove": []
    }
}

Tools

  1. create_project

    Create new text projects with title and content as required parameters.

  2. open_project

    Open existing projects programmatically.