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
Website
FunnyWolfAdversary simulation and Red teaming platform with AI
MCP Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
Activepieces
activepiecesAI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
ghidraMCP
LaurieWiredMCP Server for Ghidra
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
Comments