MCP.so
登录

MCP Server

@khaosans

关于 MCP Server

暂无概览

基本信息

分类

其他

许可证

MIT

运行时

python

传输方式

stdio

发布者

khaosans

配置

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

{
  "mcpServers": {
    "mcp-server-khaosans": {
      "command": "python",
      "args": [
        "-m",
        "venv",
        "venv"
      ]
    }
  }
}

工具

未检测到工具

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

概览

What is MCP Server?

MCP Server is a FastAPI-based server that provides WebSocket communication, file management, and a tools endpoint for summarization. It is designed for developers needing a lightweight backend with file search, real-time messaging, and static file serving.

How to use MCP Server?

Clone the repository, create a Python virtual environment, install dependencies from requirements.txt, then run the server with uvicorn server:app --reload --host 0.0.0.0 --port 8080. Use python test_server.py to run the test suite.

Key features of MCP Server

  • File Management API (search, read files)
  • WebSocket communication for real-time interactions
  • Tools endpoint supporting summarization
  • Static file serving from the public directory
  • Comprehensive test suite included

Use cases of MCP Server

  • Building a real-time chat or collaboration tool with file sharing
  • Serving static assets and providing file search in a local directory
  • Integrating lightweight summarization capabilities into an application
  • Prototyping a FastAPI backend with WebSocket and REST endpoints

FAQ from MCP Server

How do I install and run MCP Server?

Clone the repo, create a virtual environment, install dependencies, then run uvicorn server:app --reload --host 0.0.0.0 --port 8080.

What endpoints does MCP Server expose?

HTTP endpoints include GET /files?q=<query>, GET /files/{filename}, POST /tools, and GET /public/* for static files. A WebSocket endpoint is available at ws://localhost:8080/ws.

What are the runtime requirements?

Python 3, a virtual environment, and the packages in requirements.txt (including FastAPI and uvicorn). No external database or authentication is required.

Can I run automated tests?

Yes, run python test_server.py to execute the included test suite.

Does MCP Server support authentication?

No authentication is mentioned in the README. The server runs on HTTP and WebSocket without built-in auth.

评论

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