We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/henilcalagiya/google-sheets-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
__main__.pyβ’1.2 KiB
#!/usr/bin/env python3
"""
Google Sheets MCP Server - Direct Execution Entry Point
This allows one-line execution: uvx google-sheets-mcp@latest
Environment variables are provided by the MCP client configuration.
"""
import os
import sys
def main():
"""Main entry point for direct execution."""
print("π Google Sheets MCP Server")
print("π¦ Package: google-sheets-mcp")
print("π οΈ Powerful tools for Google Sheets automation")
print("π‘ Environment Variables from MCP Config")
print("=" * 50)
print("\nβ Starting MCP server...")
print("π Ready to connect with MCP clients!")
print("π Available tools: Google Sheets operations")
print("π‘ Environment variables provided by MCP client configuration")
print("=" * 50)
# Import and run the MCP server
try:
from gsheet_mcp_server.server import mcp
mcp.run()
except ImportError as e:
print("β Error: Could not import MCP server")
print(f"π‘ Error details: {e}")
print("π‘ This package is designed to be used with MCP clients")
print("π‘ Configure your MCP client to use this package")
sys.exit(1)
if __name__ == "__main__":
main()