drio
Open app

python-pip-mcp

Source

Minimal Example Implementation of a MCP Server / Client with Python and Pip. This example is tested in VSCode and Windows and both server and client are debuggable.

Catalog onlyCatalog onlySTDIO

Overview

python-pip-mcp is a minimal example implementation of a Model Context Protocol (MCP) client and server using Python and Pip, designed for easy debugging in VSCode on Windows.

To use python-pip-mcp, set up a Python virtual environment, install the required packages, configure your API key in a .env file, and run the client script to start querying.

  • Minimal example implementation of MCP client and server - Easy debugging in VSCode - Compatible with Windows and potentially other OS with minor adjustments
  1. Developing and testing MCP applications in Python.
  2. Learning how to implement client-server architecture using MCP.
  3. Debugging and experimenting with API interactions in a controlled environment.

Add to your AI client

Use these steps to connect python-pip-mcp in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "python-pip-mcp-lukeage": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-python-pip-mcp-lukeage"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "python-pip-mcp-lukeage": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-python-pip-mcp-lukeage"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "python-pip-mcp-lukeage": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-python-pip-mcp-lukeage"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "python-pip-mcp-lukeage": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-python-pip-mcp-lukeage"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "python-pip-mcp-lukeage": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-python-pip-mcp-lukeage"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "python-pip-mcp-lukeage": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-python-pip-mcp-lukeage"
      ]
    }
  }
}

FAQ

What is MCP?

MCP stands for Model Context Protocol, which is a protocol for managing interactions with AI models.

Is this project suitable for production use?

This project is intended as a minimal example and may require further development for production use.

Can I use this on operating systems other than Windows?

Yes, while this example is tested on Windows, it should work on other operating systems with minimal adjustments.