Skip to main content
Glama

Vercel MCP Python Server

by amitpuri
setup.pyโ€ข1.21 kB
#!/usr/bin/env python3 """ Setup script for MCP Client """ import subprocess import sys import os def install_requirements(): """Install required packages""" print("๐Ÿ“ฆ Installing required packages...") try: subprocess.check_call([sys.executable, "-m", "pip", "install", "-r", "requirements.txt"]) print("โœ… Requirements installed successfully!") return True except subprocess.CalledProcessError as e: print(f"โŒ Failed to install requirements: {e}") return False def main(): """Main setup function""" print("๐Ÿš€ Setting up MCP Client...") # Check if we're in a virtual environment if hasattr(sys, 'real_prefix') or (hasattr(sys, 'base_prefix') and sys.base_prefix != sys.prefix): print("โœ… Virtual environment detected") else: print("โš ๏ธ No virtual environment detected. Consider using one for better isolation.") # Install requirements if install_requirements(): print("\n๐ŸŽ‰ Setup complete!") print("Run the client with: python mcp_client.py") else: print("\nโŒ Setup failed. Please check the error messages above.") if __name__ == "__main__": main()

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/amitpuri/vercel-mcp-python'

If you have feedback or need assistance with the MCP directory API, please join our Discord server