mcpField
S
Simple MCP Feature Sample

Simple MCP Feature Sample

Local
github.com/edom18Developer Tools3Updated 74w ago

About Simple MCP Feature Sample

Simple MCP Feature Sample is a small example project for learning to build MCP servers and try them with Claude Desktop or its sample clients. It demonstrates text-processing tools and a data-server feature through single- and multi-client demos.

Key features

  1. 01Basic MCP server setup
  2. 02Text reversal and uppercase tools
  3. 03Data server example
  4. 04Single-client demo script
  5. 05Multi-client demo script

Use cases

  1. 01Learn the basics of MCP server implementation
  2. 02Try text-processing tools with an AI client
  3. 03Run demos with one or multiple clients

MCP support

Demonstrates a basic MCP server and example tools for MCP clients, including Claude Desktop and the project's sample clients.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

Simple MCP Feature Sample

This project includes several example implementations of MCP features.

The server script demonstrates how to set up a basic MCP server that integrates with Claude Desktop.

These server scripts also work with the simple MCP clients I developed.

How to Verify Functionality

There are two shell scripts for launching demos: one for a single client and one for multiple clients.

Launch the single client demo

Run single-client-launch-demo.sh.

$ ./single-client-launch-demo.sh

and then the console shows like below.

Connecting to the MCP server...
Command is python
Connected to the server 'simple_server'!
Waiting for server to initialize...
Server initialized!

Connected to the server with tools:  ['reverse-text', 'uppercase']

MCP client started!

Type your queries or 'quit' to exit.

Query:

Please type something that you want to ask AI or quit to exit.

When you send a request containing reverse text or upper text, the AI will use the simple MCP server’s text-processing features.

Launch the multi client demo

Run multi-client-launch-demo.sh.

$ ./multi-client-launch-demo.sh

and then the console shows like below.

Connecting to the MCP server...
Command is python
Connected to the server 'simple_server'!
Waiting for server to initialize...
Server initialized!

Connected to the server with tools:  ['reverse-text', 'uppercase']
Connecting to the MCP server...
Command is python
Connected to the server 'profile_data_server'!
Waiting for server to initialize...
Server initialized!

Connected to the server with tools:  ['profile-data']

MultiMCP client started!

Type your queries or 'quit' to exit.

Query:

Please type something that you want to ask AI or quit to exit.

If you include Who am I? in your query, the AI will use the data MCP server feature to answer your question.

Installation for Claude Desktop

Add the following settings to your Claude Desktop configuration file:

"mcpServers": {
    "simple-mcp-sample": {
        "command": "python",
        "args": [
            "/path/to/simple-mcp-sample/server/simple_server.py"
        ]
    }
}
"mcpServers": {
    "simple-mcp-sample": {
        "command": "python",
        "args": [
            "/path/to/simple-mcp-sample/server/data_server.py"
        ]
    }
}

Note

If you receive a command not found error when launching the server, specify the full path to your Python executable.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.