pip install mcp
pip install uv
uv init custom-mcp-serverRefer to the MCP PyPI page for more details.
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"
}
}
}
}-
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_employeesresource and theget_leave_balanceresource to list all employees along with their leave balance.