MCP.so
ログイン

MCP Text Tools Demo

@capybara-sfw

基本情報

カテゴリ

その他

ライセンス

MIT

トランスポート

stdio

作者

capybara-sfw

MCP Text Tools Demo について

概要はまだありません

MCP Text Tools Demo の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "mcp-server-demo-capybara-sfw": {
      "command": "python",
      "args": [
        "server.py"
      ]
    }
  }
}

MCP Text Tools Demo のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is MCP Text Tools Demo?

MCP Text Tools Demo is a simple Model Context Protocol (MCP) server example that provides a text reversal function. It is designed to be integrated with tools like Cursor for basic text manipulation.

How to use MCP Text Tools Demo?

Install using conda (Python 3.10) and pip. Run with python server.py for stdio mode (default) or python server.py --transport sse --port 8000 for SSE mode. Then configure it in Cursor's MCP settings using the appropriate type (stdio or sse) and command/URL.

Key features of MCP Text Tools Demo

  • Provides a single tool: reverse_text for reversing strings
  • Supports both stdio and SSE transport modes
  • Designed for easy integration with Cursor IDE
  • Lightweight conda-based Python environment
  • Simple command-line arguments for transport and port

Use cases of MCP Text Tools Demo

  • Quickly reverse text strings within a Cursor editor session
  • Serve as a minimal example for learning MCP server development
  • Test MCP protocol connectivity between clients and servers

よくある質問

1

What transport modes does this server support?

It supports stdio (default) and SSE with a configurable port (e.g., `--port 8000`).

2

How do I configure it in Cursor?

In Cursor, go to Features > MCP, click "+ Add New MCP Server", and choose Type: stdio (with a conda-run command) or Type: sse (with URL `http://localhost:8000/sse`).

3

What tool does this server provide?

The only tool is `reverse_text`, which accepts a string parameter `text` and returns its reversed version.

4

What are the runtime requirements?

It requires Python 3.10, a conda environment named `mcp-server-demo`, and dependencies listed in `requirements.txt`.

5

What should I watch out for when setting up?

Ensure the conda environment is activated before running the server, and replace `/path/to/server.py` with the actual path when configuring Cursor.

コメント

「その他」の他のコンテンツ