Skip to content

gparida1989/custom-mcp-server

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages