mc-server-demo
@PanGan21
About mc-server-demo
Mini mcp server implementation
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-server-demo-pangan21": {
"command": "${workspaceFolder}/.venv/bin/python",
"args": [
"main.py"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is mc-server-demo?
mc-server-demo is a Model Context Protocol (MCP) server that retrieves the latest documentation for a queried library. It uses the Serper API to perform Google searches for the relevant documentation. The server is designed for developers who want to access library documentation programmatically via MCP tools, either for debugging or integration into IDEs like Cursor.
How to use mc-server-demo?
To use mc-server-demo, first set a SERPER_API_KEY in a .env file. Then create a virtual environment, activate it, and install dependencies with pip install -r requirements.txt. Run the server using the MCP inspector: npx @modelcontextprotocol/inspector python main.py. The inspector lists available tools, including get_docs, which accepts query strings. Alternatively, integrate the server with a client like Cursor IDE by adding a custom MCP server configuration that points to the Python interpreter and main.py.
Key features of mc-server-demo
- Retrieves the latest documentation for a queried library.
- Uses the Serper API for Google search.
- Exposes a single MCP tool:
get_docs. - Can be debugged via the MCP inspector.
- Integrates with Cursor IDE as a custom MCP server.
Use cases of mc-server-demo
- Fetching library documentation directly from within a development environment.
- Powering AI assistants that answer library documentation queries.
- Automating documentation lookups in CI/CD or documentation workflows.
FAQ from mc-server-demo
What API key is required?
The server requires a Serper API key, which must be set in a .env file as SERPER_API_KEY.
How do I run the server for debugging?
Run the MCP inspector command: npx @modelcontextprotocol/inspector python main.py, then visit the local inspector URL displayed in the terminal.
What tool is available for querying documentation?
The server provides a single tool called get_docs that accepts a query string.
How do I integrate mc-server-demo with Cursor IDE?
In Cursor, go to AI settings → Custom MCP Server, and add a configuration with the command "${workspaceFolder}/.venv/bin/python" and arguments ["main.py"].
What license is mc-server-demo released under?
The project is licensed under the MIT License.
Frequently asked questions
What API key is required?
The server requires a Serper API key, which must be set in a `.env` file as `SERPER_API_KEY`.
How do I run the server for debugging?
Run the MCP inspector command: `npx @modelcontextprotocol/inspector python main.py`, then visit the local inspector URL displayed in the terminal.
What tool is available for querying documentation?
The server provides a single tool called `get_docs` that accepts a query string.
How do I integrate mc-server-demo with Cursor IDE?
In Cursor, go to AI settings → Custom MCP Server, and add a configuration with the command `"${workspaceFolder}/.venv/bin/python"` and arguments `["main.py"]`.
What license is mc-server-demo released under?
The project is licensed under the MIT License.
Basic information
More Other MCP servers

DeepMark
DeepMark helps teachers deliver rapid, consistent marking with meaningful feedback for every student — in a fraction of the time. What once took a week, now takes one free period.
Codelf
unbugA search tool helps dev to solve the naming things problem.
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
Comments