Basic information
About MCP Server
# MCP Server
MCP Server is a MCP server in the Other category listed in the AddMCP.net directory, published by khaosans. Supported transport: stdio. Runtime: python. License: MIT. Source code is hosted on github.com. Related topics: fastapi, mcp-server, websocket.
Setup
{
"mcpServers": {
"mcp-server-khaosans": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
}
{
"mcpServers": {
"mcp-server-khaosans": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
}
{
"servers": {
"mcp-server-khaosans": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
}
MCP Server — by khaosans config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-server-khaosans": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
}
MCP Server — by khaosans tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
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
Frequently asked questions
1 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.
2 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.
3 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.
4 Can I run automated tests?
Yes, run python test_server.py to execute the included test suite.
5 Does MCP Server support authentication?
No authentication is mentioned in the README. The server runs on HTTP and WebSocket without built-in auth.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In