Cover image
Try Now
2025-04-14

一个简单的MCP服务器,用于个人实验

3 years

Works with Finder

1

Github Watches

1

Github Forks

0

Github Stars

simple-mcp - MCP Project

A complete MCP project with both client and server components, using stdio transport.

Features

  • Robust Communication: Reliable stdio transport with proper error handling and timeout management
  • Multiple Connection Methods: Connect to an already running server or start a new server process
  • Interactive Mode: Choose tools and provide parameters interactively
  • One-shot Mode: Run queries directly from the command line
  • Comprehensive Logging: Detailed logging for debugging and monitoring

Project Structure

  • client/: The MCP client implementation
  • server/: The MCP server implementation with tools
  • test.sh: A test script to run both client and server

Building

# Build the server
cd server
cargo build

# Build the client
cd ../client
cargo build

Running

Start the Server

cd server
cargo run

Run the Client

cd client
cargo run -- --name "Your Name"

Interactive Mode

cd client
cargo run -- --interactive

Testing

./test.sh

Available Tools

  • hello: A simple tool that greets a person by name

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Lists Tailwind CSS classes in monospaced font

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • Yasir Eryilmaz
  • AI scriptwriting assistant for short, engaging video content.

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • deemkeen
  • 用电源组合控制您的MBOT2:MQTT+MCP+LLM

  • jae-jae
  • MCP服务器使用剧作《无头浏览器》获取网页内容。

    Reviews

    2 (1)
    Avatar
    user_dmD3XVdU
    2025-04-15

    I recently started using the Pyro2 MCP Server by magic-fo, and I am thoroughly impressed with its performance and reliability. It's an absolute game-changer for anyone needing efficient and dependable server solutions. The user-friendly interface and robust functionality make it a standout in its category. Highly recommend! Check it out here: https://mcp.so/server/pyro2-mcp/magic-fo.