🏓 MCP Ping-Pong Server by Remote Call

Created By
kimttha year ago
🏓 An experimental and educational script for Ping-pong server demonstrating remote MCP (Model Context Protocol) calls
Overview

What is MCP Ping-Pong Server?

MCP Ping-Pong Server is an experimental and educational application that demonstrates the Model Context Protocol (MCP) calls using FastAPI, allowing users to interact with a ping-pong server.

How to use MCP Ping-Pong Server?

To use the MCP Ping-Pong Server, install the necessary dependencies using Poetry, run the server, and access the client UI to interact with the server.

Key features of MCP Ping-Pong Server?

  • FastAPI backend for remote MCP calls through API endpoints.
  • Integration of MCP for handling commands like ping and pong.
  • Thread-safe session management for reliable interactions.

Use cases of MCP Ping-Pong Server?

  1. Educational demonstrations of the Model Context Protocol.
  2. Testing and experimenting with remote procedure calls.
  3. Developing applications that require real-time command handling.

FAQ from MCP Ping-Pong Server?

  • What is the purpose of the MCP Ping-Pong Server?

It serves as an educational tool to demonstrate how MCP calls work in a server-client architecture.

  • How do I run the server?

You can run the server by executing python mcp-api-server.py after installation.

  • What commands can I use with the server?

You can use commands like ping, pong, and count through the API endpoints.

Project Info
Created At
a year ago
Updated At
a year ago
Author Name
kimtth
Star
1
Language
HTML
License
-
Tags

Recommend Servers

View All
Shadcn Space MCP
@shadcnspace

Integrate the shadcn/ui MCP server from shadcn space into your IDE to generate accurate, production-ready Shadcn UI components. Official Model Context Protocol (MCP) server for [Shadcn Space](https://shadcnspace.com). This MCP server allows AI-powered IDEs and agents to discover, search, and install **Shadcn Space** UI blocks directly into your projects - no copy-paste required. ## Install MCP configuration. ```bash npx shadcnspace-cli install <client> ``` ### Supported Clients - [x] cursor - [x] windsurf - [x] claude - [x] cline - [x] antigravity ## Manual Installation Add to your IDE's MCP config: ```json { "mcpServers": { "shadcnspace-mcp": { "command": "npx", "args": ["-y", "shadcnspace-mcp@latest"] } } } ``` For more information visit our documentation of [**How to use MCP Server**](https://shadcnspace.com/docs/getting-started/mcp-server-docs) ## Available Tools The server provides the following tools callable via MCP: | Tool Name | Description | |-----------|-------------| | `listBlocks` | Provides a comprehensive list of all shadcnspace blocks. | | `listComponents` | Provides a comprehensive list of all shadcnspace components. | | `getBlockInstall` | Returns the official installation command for a specific Shadcn Space block. | | `searchBlocks` | Search Shadcn Space blocks using keywords or tags. | | `listInstalledBlocks` | Lists all blocks that are currently installed in the project and get their files. | ### Available Prompts The server provides the following prompts callable via MCP: | Prompt/Command | Description | |----------------|-------------| | `search` | Find specific UI block by name. | | `create-ui` | Create a new UI block using our exisitng blocks. | ## Example Usage Once configured, you can ask questions like: > "List all available UI blocks" > "Give me the code for the accordion-01 component" > "Create a landing page for a coffee shop using a hero-01 block, a 3-column feature grid, and a dark-themed footer." ## Credits Created by [shadcnspace](https://shadcnspace.com). [Shadcn MCP](https://shadcnspace.com/mcp) [MIT](LICENSE)

7 hours ago
Shivang

4 hours ago