- Home
- MCP servers
- Street View Publish API
Street View Publish API
- python
0
GitHub Stars
python
Language
7 months ago
First Indexed
3 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"ag2-mcp-servers-street-view-publish-api": {
"command": "python",
"args": [
"mcp_server/main.py",
"stdio"
],
"env": {
"CONFIG": "{\"transport\":\"stdio\",\"server\":\"streetview\"}",
"SECURITY": "API_KEY=YOUR_API_KEY",
"CONFIG_PATH": "PATH_TO_CONFIG.json"
}
}
}
}You run a local MCP server that exposes the Street View Publish API via a Model Context Protocol (MCP) interface. This lets MCP clients interact with the Street View Publish API in a consistent, streaming-friendly way, enabling automated workflows, testing, and integration with other MCP-enabled tools.
How to use
Start the MCP server in a local, stdio-based mode to run as a process on your machine. You then connect MCP clients to the running server through the standard MCP transport. The server reads configuration from environment variables or a configuration file if you provide one. Use the server to initiate operations against the Street View Publish API, query available contexts, and perform actions supported by the MCP interface.
How to install
# Prerequisites
# Ensure you have Python 3.9+ installed
# Install the required runtime components
# Option A: install dependencies directly
pip install -e ".[dev]"
# Option B: use uv as the runtime launcher
uv pip install --editable ".[dev]"
# Start the MCP server in stdio mode (from a project root)
python mcp_server/main.py stdio
Configuration and runtime options
Configure the MCP server using environment variables. The supported options are:
- CONFIG_PATH: Path to a JSON configuration file (for example, mcp_server/mcp_config.json).
- CONFIG: A JSON string containing the configuration.
- SECURITY: Environment variables for security parameters (for example, API keys).
Notes on running and environment
To start the server with a custom configuration file, set CONFIG_PATH to the path of your JSON configuration and then run the stdio startup command.
Available tools
ruff
Lints and formats code to enforce style and quality guidelines.
mypy
Performs static type checking to catch type errors before runtime.
pytest
Executes tests to verify functionality and regressions.
hatch
Builds and publishes the MCP project.