Back to Home
0x-Crisbanks icon

mcp-for-beginners

by 0x-Crisbanks

Overview

Demonstrates building custom Model Context Protocol (MCP) servers for various tasks like weather data retrieval, GitHub repository management, and integrating them with AI models via AI Toolkit and VS Code for enhanced developer workflows and study plan generation.

Installation

Run Command
python src/__init__.py sse

Environment Variables

  • AZURE_OPENAI_CHAT_DEPLOYMENT_NAME
  • AZURE_OPENAI_API_KEY
  • AZURE_OPENAI_ENDPOINT
  • AZURE_OPENAI_API_VERSION
  • GITHUB_TOKEN
  • LOG_LEVEL
  • PORT

Security Notes

The `git_clone_repo` tool within the `github_mcp_server` takes a `repo_url` as input without explicit validation or sanitization of the URL format. This could potentially allow an attacker to craft a malicious URL that exploits vulnerabilities in Git (e.g., via hooks, submodules, or path traversal within the cloned content) even if `shell=False` is the default for `subprocess.run`. Additionally, the `open_in_vscode` tool uses `shell=True` on Windows for the `start` command, which is generally riskier for user-supplied paths.

Similar Servers

Stats

Interest Score33
Security Score5
Cost ClassHigh
Avg Tokens2000
Stars3
Forks0
Last Update2025-11-19

Tags

MCPAI ToolkitPythonGitHubLLM IntegrationVS Code