MCP Server and Client

by vuutla

56 downloads
Not rated
GitHub

Description

# MCP Server and Client This project demonstrates a simple implementation of an MCP server and client. ## Running the Server ```bash python mcp_server.py ``` The server will start and listen for incoming connections. ## Running the Client ```bash python mcp_client.py ``` The…

About

# MCP Server and Client This project demonstrates a simple implementation of an MCP server and client. ## Running the Server ```bash python mcp_server.py ``` The server will start and listen for incoming connections. ## Running the Client ```bash python mcp_client.py ``` The client will connect to the server and…

Details

Author
vuutla
Downloads
56
Categories
Other

- Simple MCP server and client implementation
- Client can list available tools and resources
- Client can call tools
- Client can fetch and access resource lists
- Client can fetch and access prompt lists

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name MCP Server and Client
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Run the server with python mcp_server.py, then run the client with python mcp_client.py. The client will automatically connect to the server and perform a set of demonstrations.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcp server and client": {
            "MCP_Server_and_Client": {
                "command": "python",
                "args": [
                    "mcp_server.py"
                ]
            }
        }
    }
}

McpServers

{
    "MCP_Server_and_Client": {
        "command": "python",
        "args": [
            "mcp_server.py"
        ]
    }
}

MCP Server and Client

This project demonstrates a simple implementation of an MCP server and client.

Running the Server

python mcp_server.py

The server will start and listen for incoming connections.

Running the Client

python mcp_client.py

The client will connect to the server and demonstrate the following:
- Listing available tools and resources.
- Calling tools.
- Fetching list of resources and accessing them.
- Fetching list of prompts and accessing them.

Video Demo

Watch the demo full walkthrough of this project here: https://youtu.be/-WogqfxWBbM
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.