Skip to main content
Glama
PanGan21

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

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.

A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/PanGan21/mcp-server-demo'

If you have feedback or need assistance with the MCP directory API, please join our Discord server