- Home
- MCP servers
- Meraki Dashboard API
Meraki Dashboard 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": {
"xaviervalette-meraki-dashboard-api": {
"command": "python",
"args": [
"mcp_server/main.py",
"stdio"
],
"env": {
"CONFIG": "{\"example\":\"config\"}",
"SECURITY": "YOUR_API_KEY",
"CONFIG_PATH": "path/to/mcp_config.json"
}
}
}
}You run an MCP server to expose a Meraki Dashboard API surface via the Model Context Protocol, enabling clients to interact with the API in a structured, scalable way. This server acts as a bridge between an OpenAPI-defined surface and MCP clients, handling requests and coordinating responses in a consistent format.
How to use
Start the MCP server in stdio mode to run locally and connect with your MCP client. Use the standard startup command and then point your client to the local runtime. The server supports other transport modes if needed, but stdio is the simplest for development and testing.
How to install
Prerequisites you need before installing and running the server are a Python 3.9+ environment, a working installation of pip, and the uv tool for optional startup.
# Step 1: Clone the MCP server repository
git clone <repository-url>
cd mcp-server
# Step 2: Install development dependencies
pip install -e ".[dev]"
# Alternative using uv to install editable dependencies
uv pip install --editable ".[dev]"
Additional setup and run notes
Configuration is done via environment variables. Common options include CONFIG_PATH for a JSON configuration file, CONFIG for a JSON string, and SECURITY for security parameters like API keys.
# Example: start the server in stdio mode with a config path
SECURITY=YOUR_SECURITY_TOKEN CONFIG_PATH=./mcp_config.json python mcp_server/main.py stdio
Configuration and security
The server can be started with configuration supplied through environment variables. Use a JSON config file to define MCP client connections, endpoints, and security policies, or pass a JSON string directly via CONFIG. Security tokens or API keys should be supplied through SECURITY.
If you already have a configuration file, store it at a known path and reference it when starting the server.
Available tools
ruff
Linting and formatting for Python code to ensure consistent style and catch issues early.
mypy
Static type checking to detect type errors before runtime.
pytest
Running unit and integration tests to verify server behavior.
pre-commit
Pre-commit hooks to run lint, type checks, and tests before commits.
hatch
Builds and publishes the MCP server package.