Overview
What is mcp-client-and-server?
mcp-client-and-server is a Model Context Protocol (MCP) server that implements both client and server roles to chain together between MCP clients and servers. It provides a simple note storage system with resources, prompts, and tools, and is built using Python with uv.
How to use mcp-client-and-server?
Configure the server in your Claude Desktop configuration file (JSON) under mcpServers. For development, use uv with a directory argument; for published versions, use uvx mcp-client-and-server. Run the server via command line: uv run mcp-client-and-server or uvx mcp-client-and-server.
Key features of mcp-client-and-server
- Custom
note://URI scheme for accessing individual notes summarize-notesprompt with optional style argument (brief/detailed)add-notetool to add new notes with name and content- Supports both development (local) and published distribution
- Built and published via PyPI using
uv
Use cases of mcp-client-and-server
- Chaining multiple MCP servers together by acting as an intermediary
- Creating and summarizing notes through natural language prompts
- Demonstrating client-server interaction within the Model Context Protocol
- Building a simple note‑taking assistant integrated with Claude Desktop
FAQ from mcp-client-and-server
What is the note URI scheme?
The server implements a custom note:// URI scheme for accessing individual notes. Each note resource has a name, description, and text/plain mimetype.
What tools does the server provide?
It provides one tool: add-note, which requires name and content as required string arguments. Adding a note updates server state and notifies clients of resource changes.
What prompt is available?
A single summarize-notes prompt that creates summaries of all stored notes. It accepts an optional style argument to control detail level (brief or detailed).
How is the server installed and configured?
Install via PyPI using uvx. For Claude Desktop, add the configuration under mcpServers in claude_desktop_config.json. Use uv --directory <path> run for development and uvx mcp-client-and-server for published versions.
How do I debug the server?
Debug over stdio using the MCP Inspector. Run npx @modelcontextprotocol/inspector uv --directory <path> run mcp-client-and-server and access the provided URL in a browser.