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.

评论

其他 分类下的更多 MCP 服务器