Skip to content

bharathjinka09/AI-MCP-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Steps to configure and run the custom MCP server in python

Youtube Tutorial

Tech with Tim - MCP Tutorial

Resources

MCP Resource

Steps

  1. Install uv and the dependency packages
  2. uv add "mcp[cli]"
  3. Download Claude desktop app
  4. Goto developer mode in Claude desktop and edit claude_desktop_config.json
  5. Add complete path of uv like below in claude_desktop_config.json
{
  "mcpServers": {
    "Calculator Server": {
      "command": "C:\\Users\\bhara\\.local\\bin\\uv.exe",
      "args": [
        "run",
        "--with",
        "mcp[cli]",
        "mcp",
        "run",
        "C:\\Users\\bhara\\Downloads\\mcp-server-demo\\calculator.py"
      ]
    },
    "AI Add Note Server": {
      "command": "C:\\Users\\bhara\\.local\\bin\\uv.EXE",
      "args": [
        "run",
        "--with",
        "mcp[cli]",
        "mcp",
        "run",
        "C:\\Users\\bhara\\Downloads\\mcp-server-demo\\main.py"
      ]
    }
  }
}
  1. Run the command -> uv run mcp install .\calculator.py
    uv run mcp install .\main.py
  2. End Claude desktop task from task manager and open claude desktop after adding any new mcp tools

About

Custom MCP using Claude desktop and Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages