Feedback

MCP Server-Client Example

@joeblockchain Claim

Basic information

Runtime
node
Category
License
Not specified
Transports
stdio
Author
joeblockchain
Submitted by
Community
Quality
10
Stars
2

About MCP Server-Client Example

# MCP Server-Client Example

MCP Server-Client Example is a MCP server in the Other category listed in the AddMCP.net directory, published by joeBlockchain. Supported transport: stdio. Runtime: node. The repository has 2 GitHub stars. Source code is hosted on github.com.

MCP Server-Client Example config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

MCP Server-Client Example 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-Client Example?

This project demonstrates a basic implementation of the Model Context Protocol (MCP) using the TypeScript SDK. It includes both an MCP server and client that communicate over stdio transport, providing resource listing and reading functionality.

How to use MCP Server-Client Example?

Clone the repository, install dependencies with npm install, then start the server with npm run start:server and the client with npm run start:client in separate terminal windows. The client connects to the server, requests a list of available resources, and reads the content of an example resource.

Key features of MCP Server-Client Example

  • MCP server and client implementation over stdio transport
  • Resource listing and reading via MCP protocol
  • Example resource accessible at file:///example.txt
  • Basic error handling for unknown resources

Use cases of MCP Server-Client Example

  • Learning how to implement MCP server-client communication
  • Prototyping MCP resource access workflows
  • Testing MCP SDK integration with TypeScript

Frequently asked questions

1 What are the runtime requirements?

Node.js v16 or higher and npm.

2 What dependencies does the project use?

The @modelcontextprotocol/sdk, ts-node, and typescript packages.

3 How do I add a new resource?

Modify the ListResourcesRequestSchema handler in src/index.ts and add the new resource URI and name to the returned resources array.

4 What transport protocol does MCP Server-Client Example use?

Communication between server and client uses stdio transport.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬