Skip to main content
Glama
mc-server-demo

mc-server-demo

by PanGan21

mc-server-demo

A Model Context Protocol (MCP) server implementation that can retieve the latest documentation of a queried library.

Setup locally

  • The MCP tool is using Serper API to seach or Google therefore an api key should be specified. See .env.example on how to define it.

  • Create a virtual environment: python -m venv .venv

  • Activate the virtual environemt: source .venv/bin/activate

  • Install the required dependencies: pip install -r requirements.txt

Related MCP server: docs-mcp-server

Debug

  • Run usin Model Context Protocol inspector: npx @modelcontextprotocol/inspector python main.py

  • Visit the local inspector url displayed on terminal.

  • List the available tools and use get_docs to input queries.

Client integration

  • Example of Cursor IDE

  • Navigate to AI settings

  • Under "Custom MCP Server", add the following configuration:

    {
      "command": "${workspaceFolder}/.venv/bin/python",
      "args": ["main.py"]
    }

License

This project is licensed under the MIT License - see the LICENSE file for details.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      A Model Context Protocol (MCP) server that scrapes, indexes, and searches documentation for third-party software libraries and packages, supporting versioning and hybrid search.
      2,312 npm
      1,866
      MIT
    • F
      license
      C
      quality
      D
      maintenance
      A Model Context Protocol server that enables LLMs to perform Google searches via the Serper API, allowing models to retrieve current information from the web.
      13
      39
      -
    • A
      license
      B
      quality
      D
      maintenance
      A Model Context Protocol server that enables web searching using the Serper API for Google search results, with optional web page content fetching.
      2
      MIT