MCP-guide

MCP-guide is an MCP server and tutorial project that provides a reference implementation for running custom Python tools in an isolated virtual environment and connecting them directly to the Cline VS Code extension. Designed for Python developers and AI engineers, this setup demonstrates how to build and verify a local Model Context Protocol service from scratch. It connects Cline to a local Python runtime via the official MCP CLI development tools, allowing language models in the editor to discover and execute Python functions like arithmetic operations. In addition to serving as a functional tool provider, it illustrates testing workflows using the browser-based MCP Inspector to validate tool schemas and resource endpoints before linking them with coding agents. Developers can use this server template to prototype custom backend integrations, test local script execution inside editor chats, and safely isolate dependencies required for domain-specific automation without affecting global environments.

Category: AI & LLM Tooling

Tags: cline, python, setup, tutorial, vscode

Visit MCP-guide

How to install and configure MCP-guide

  1. Clone the repository: bash git clone https://github.com/m-hikichi/MCP-guide.git cd MCP-guide 2. Create and activate a Python virtual environment: bash python -m venv venv .\venv\Scripts\activate 3. Install dependencies: bash pip install -r requirements.txt 4. Test the server with MCP Inspector: bash mcp dev mcp_server.py 5. Open the VS Code Command Palette, select Cline: Configure MCP Servers, and add the configuration: json { "mcpServers": { "local_mcp_server": { "command": "<PROJECT_DIR>/venv/Scripts/mcp.exe", "args": [ "dev", "<PROJECT_DIR>/mcp_server.py" ] } } } Replace <PROJECT_DIR> with the absolute path to your cloned directory.

What you can do with MCP-guide

  • Testing custom Python functions and server endpoints interactively using the built-in browser-based MCP Inspector interface. * Connecting the Cline VS Code extension to execute local Python scripts during interactive agent coding sessions. * Serving as a starter boilerplate for building isolated, virtual-environment-backed Model Context Protocol servers in Python. * Demonstrating how to configure developmental MCP servers using the official MCP CLI execution tools inside VS Code.

Key facts

  • https://github.com/m-hikichi/MCP-guide
  • AI & LLM Tooling, Developer Tools & Code Intelligence
  • cline, python, setup, tutorial, vscode

Part of MCP Servers

Related MCP servers

  • MCP LaTeX Server — MCP LaTeX Server is an MCP server that provides tools for creating, editing, validating, and compiling LaTeX documents directly through…
  • MCP JSON — MCP JSON is an MCP server collection that bundles tools for file system operations, Google search, browser-based web automation, and…
  • MCP Jupyter Complete — MCP Jupyter Complete is an MCP server that provides tools for manipulating Jupyter notebook files through position-based cell operations and…
  • MCP LSP Go — MCP LSP Go is an MCP server that connects AI assistants to the official Go Language Server Protocol implementation, gopls,…
  • MCP Memory Dashboard — MCP Memory Dashboard is an MCP server desktop interface that connects to the MCP Memory Service to provide visual semantic…
  • MCP Manager — MCP Manager is an MCP server management tool that connects directly to your Claude Desktop environment, enabling users to discover,…

What is MCP-guide?

MCP-guide is an instructional reference repository that demonstrates how to set up a Python Model Context Protocol server inside a Python virtual environment and configure it to work with the Cline extension in Visual Studio Code.

Which MCP clients work with MCP-guide?

The guide specifically targets the Cline extension for Visual Studio Code. It also uses the MCP Inspector development interface running on localhost to test tool definitions, schemas, and resource access before connecting to an agent.

How do I test MCP-guide using MCP Inspector?

After activating your virtual environment and installing the required packages from requirements.txt, run the command mcp dev mcp_server.py. This launches a local development server and automatically opens the MCP Inspector interface in your default web browser.

What tools are included in the sample server?

The sample mcp_server.py script includes basic callable utility functions such as an add tool, which takes numerical arguments and returns computed results to demonstrate proper client-to-server tool invocation.

  • AI Tools
  • Categories
  • Industries
  • CLI Coding Agents
  • MCP Servers
  • MCP Categories