mcp-client-and-server

mcp-client-and-server

3.5

Model Context Protocol Client and Server to chain together between clients and servers.

Top Comments

The mcp-client-and-server is a Model Context Protocol (MCP) server designed to facilitate communication and data exchange between clients and servers. It implements a simple note storage system using a custom URI scheme and provides tools for adding and summarizing notes. The server is capable of generating summaries of stored notes with varying levels of detail, and it notifies clients of any changes to resources. The server is configured to run on different platforms, and it supports development, building, and publishing processes. Debugging is supported through the MCP Inspector, which provides a user-friendly interface for monitoring server operations.

Features

  • Custom note:// URI scheme for accessing individual notes.
  • Summarize-notes prompt for generating summaries of stored notes.
  • Add-note tool for adding new notes to the server.
  • Notifies clients of resource changes.
  • Supports development, building, and publishing processes.

MCP Tools

  • {'add-note': "Adds a new note to the server with 'name' and 'content' as required arguments."}

MCP Resources

  • {'summarize-notes': "Creates summaries of all stored notes with an optional 'style' argument."}

Usage with Different Platforms

Claude Desktop


{
  "mcpServers": {
    "mcp-client-and-server": {
      "command": "uv",
      "args": [
        "--directory",
        "/Users/mlrsmith/Library/Mobile Documents/com~apple~CloudDocs/Family_Shared/AI/mcp/mcp-client-and-server",
        "run",
        "mcp-client-and-server"
      ]
    }
  }
}

Published Servers


{
  "mcpServers": {
    "mcp-client-and-server": {
      "command": "uvx",
      "args": [
        "mcp-client-and-server"
      ]
    }
  }
}