custom-mcp-server

gparida1989/custom-mcp-server

3.1

If you are the rightful owner of custom-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The Custom MCP Server is a specialized server setup designed to handle model context protocols efficiently, leveraging the capabilities of the MCP and UV libraries.

Custom MCP Server Setup Guide

Installation

pip install mcp
pip install uv
uv init custom-mcp-server

Refer to the MCP PyPI page for more details.


VS Code User Settings

Edit your VS Code user settings file:

C:\Users\<your-pc-name>\AppData\Roaming\Code\User\settings.json

Add or update the following configuration:

{
    "editor.minimap.enabled": false,
    "extensions.ignoreRecommendations": true,
    "python.createEnvironment.trigger": "off",
    "mcp": {
        "inputs": [],
        "servers": {
            "custom-mcp-server": {
                "command": "python",
                "args": [
                    "main.py",
                    "--local-timezone=America/Los_Angeles"
                ],
                "env": {},
                "cwd": "<your path>/mcp-practice-copilot/custom-mcp-server"
            }
        }
    }
}

Test Prompts

  • Apply Leave:

    Use the apply_leave tool to apply 2 days of annual leave for John starting 2025-06-01.

  • List Employees and Leave Balances:

    List all employees and show their leave balances.

    Use the get_all_employees resource and the get_leave_balance resource to list all employees along with their leave balance.