MCP.so
登录

MCP Nlp

@tivaliy

基本信息

分类

其他

传输方式

stdio

作者

tivaliy

关于 MCP Nlp

MCP-NLP is a FastMCP application designed to provide NLP (Natural Language Processing) capabilities using the Model Context Protocol (MCP)

MCP Nlp 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp-nlp": {
      "command": "uv",
      "args": [
        "sync"
      ]
    }
  }
}

MCP Nlp 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is mcp-nlp?

MCP-NLP is a FastMCP application built with the FastMCP v2 framework that provides NLP capabilities, specifically text distance metrics via the textdistance module, using the Model Context Protocol (MCP).

How to use mcp-nlp?

Clone the repository, install dependencies with uv sync, then run locally using uvicorn app.main:http_app --reload or build and run a Docker container with docker build -t mcp-nlp . followed by docker run --rm -p 8000:8000 mcp-nlp. The MCP server endpoint is accessible at http://127.0.0.1:8000/mcp/ using the streamable-http transport.

Key features of mcp-nlp

  • Built on the FastMCP v2 framework for Pythonic MCP servers
  • Provides NLP text distance calculations via textdistance
  • Supports local and Docker deployment
  • Uses streamable-http transport
  • Requires Python 3.12, Docker, and uv

Use cases of mcp-nlp

  • Compute text similarity or distance between strings
  • Add NLP functionality to LLM context management pipelines
  • Deploy a lightweight MCP server for text analysis tasks

常见问题

1

What is MCP-NLP?

MCP-NLP is a FastMCP application that provides NLP capabilities, including text distance metrics, using the Model Context Protocol.

2

What are the prerequisites?

Python 3.12, Docker, and uv are required.

3

How do I run the MCP server locally?

Create a `.env` file, then run `uvicorn app.main:http_app --reload` and access the endpoint at `http://127.0.0.1:8000/mcp/`.

4

How do I run it using Docker?

Build the image with `docker build -t mcp-nlp .` and run the container with `docker run --rm -p 8000:8000 mcp-nlp`.

评论

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