Street View Publish API MCP Server
MCP-Server
Dieses Projekt ist ein MCP-Server (Multi-Agent Conversation Protocol) für die angegebene OpenAPI-URL – https://api.apis.guru/v2/specs/googleapis.com/streetviewpublish/v1/openapi.json , automatisch generiert mit dem MCP-Builder von AG2.
Voraussetzungen
Python 3.9+
Pip und UV
Related MCP server: Google Maps MCP Server
Installation
Klonen Sie das Repository:
git clone <repository-url> cd mcp-serverAbhängigkeiten installieren: Das Skript .devcontainer/setup.sh übernimmt die Installation von Abhängigkeiten mit
pip install -e ".[dev]". Wenn Sie den Dev-Container nicht verwenden, können Sie diesen Befehl manuell ausführen.pip install -e ".[dev]"Alternativ können Sie
uvverwenden:uv pip install --editable ".[dev]"
Entwicklung
Dieses Projekt verwendet ruff zum Lint-Test und Formatieren, mypy zur statischen Typprüfung und pytest zum Testen.
Lintierung und Formatierung
So prüfen Sie, ob Probleme mit der Flusenbildung vorliegen:
ruff checkSo formatieren Sie den Code:
ruff formatDiese Befehle sind auch über das Skript scripts/lint.sh verfügbar.
Statische Analyse
So führen Sie eine statische Analyse aus (mypy, bandit, semgrep):
./scripts/static-analysis.shDieses Skript ist auch als Pre-Commit-Hook in .pre-commit-config.yaml konfiguriert.
Ausführen von Tests
So führen Sie Tests mit Abdeckung durch:
./scripts/test.shDadurch wird pytest ausgeführt und ein Abdeckungsbericht generiert. Für einen kombinierten Bericht und eine Bereinigung können Sie Folgendes verwenden:
./scripts/test-cov.shPre-Commit-Hooks
Dieses Projekt verwendet Pre-Commit-Hooks, die in .pre-commit-config.yaml definiert sind. So installieren Sie die Hooks:
pre-commit installDie Hooks werden vor jedem Commit automatisch ausgeführt.
Ausführen des Servers
Der MCP-Server kann mit dem Skript mcp_server/main.py gestartet werden. Er unterstützt verschiedene Transportmodi (z. B. stdio , sse ).
So starten Sie den Server (z. B. im Standardmodus):
python mcp_server/main.py stdioDer Server kann mithilfe von Umgebungsvariablen konfiguriert werden:
CONFIG_PATH: Pfad zu einer JSON-Konfigurationsdatei (z. B. mcp_server/mcp_config.json ).CONFIG: Eine JSON-Zeichenfolge, die die Konfiguration enthält.SECURITY: Umgebungsvariablen für Sicherheitsparameter (z. B. API-Schlüssel).
Weitere Informationen zum Laden finden Sie im Block if __name__ == "__main__": in mcp_server/main.py .
Die Datei tests/test_mcp_server.py zeigt, wie Sie den Server zum Testen programmgesteuert starten und mit ihm interagieren.
Erstellen und Veröffentlichen
Dieses Projekt verwendet Hatch zum Erstellen und Veröffentlichen. So erstellen Sie das Projekt:
hatch buildSo veröffentlichen Sie das Projekt:
hatch publishDiese Befehle sind auch über das Skript scripts/publish.sh verfügbar.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Sort, search and tidy your Google Photos from chat: find photos and videos, read their details, dow…
Manage Google Business Profiles (Google My Business): hours, posts, photos, reviews and insights.
Live Google Maps business search, review, and photo data for AI agents over MCP.
Work with connected business profiles and available Google Maps publication workflows. This listing retains the complete 25-tool Maps service and its existing full endpoint. For new tasks, start with Samuelz® Maps · Profile maintenance. Choose from Profile maintenance, Posts and drafts, Review replies, Image sources, Provenance and search terms at https://platform.samuelz.com/integrations?lang=en#maps. Each task view is a subset, not a replacement for the full service. Existing URLs and conversations keep working. Changing views grants no additional rights and does not migrate a running conversation. Prepared operations keep their identity and approval requirements; read their status before any recovery. Setup: In a remote MCP client that supports Streamable HTTP and OAuth, add https://platform.samuelz.com/api/v1/mcp/operator?toolset=maps. Sign in to Samuelz and select your authorized workspace. Active workspace membership and the relevant module permissions are required. Review requested permissions before authorizing. Existing human approvals and separate cost permissions continue to apply.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to access Google Maps services including places search, details, directions, geocoding, and nearby search through natural language.636 PyPI3MIT
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Google Maps API for geocoding, place search, directions, distance matrices, and elevation data through natural language.19 PyPIMIT
- AlicenseAqualityBmaintenanceEnables managing Google Business Profiles through natural language: list locations, reply to reviews, create local posts, and fetch performance metrics.26344 npm3MIT
- AlicenseAqualityBmaintenanceEnables AI agents to work with a user's Google Photos through Google's picker, letting users choose exactly what the agent sees while providing tools for uploading media, creating and sharing albums, writing captions and enrichments, searching app-created media, and managing multiple Google accounts.2948 npm1MIT