mcp -cvp-demo
MCP server from burnyd/mcp-server-cvp-demo
claude mcp add --transport stdio burnyd-mcp-server-cvp-demo uv run --with fastmcp fastmcp run /mcp-server-cvp-demo/secondmcpserver.py \ --env CVP="www.arista.io" \ --env CVPTOKEN="Somesupersecuretoken"
How to use
This MCP server is a demonstration of running a CloudVision Portal (CVP) MCP workflow using Ultraviolet (uv). It leverages the fastmcp component to host a secondary MCP server script (secondmcpserver.py) that can interact with CVP data and expose MCP-style endpoints for automation tasks. To use it, prepare your environment with the required CVP credentials and then start uv to launch the embedded MCP logic. The example configuration shows how to point uv at the Python script that implements the demo MCP server behavior. Once running, you can interact with the exposed MCP endpoints using your standard MCP tooling to query, monitor, or push data through the CVP integration. This is a minimal, portable demonstration suitable for experimentation and learning how CVP-based MCP workflows can be composed.
How to install
Prerequisites:
- Python environment installed (3.8+)
- Access to CloudVision Portal (CVP) with appropriate tokens
- uv (Ultraviolet) installed, or installable via pipx/pip if available in your setup
Installation steps:
- Create a working directory for the MCP demo and clone/download the repository content containing secondmcpserver.py and related files.
- Create a .env file in the project root with your CVP credentials: CVPTOKEN="<your-token>" CVP="<your-cvp-host>"
- Ensure uv is installed. Example installation methods:
- Using pipx (recommended if available): pipx install uv
- Using pip if uv is available on PyPI: pip install uv
- Verify that the second MCP server script path referenced in the config exists at /mcp-server-cvp-demo/secondmcpserver.py or adjust the path accordingly in the config.
- Run the MCP server configuration (as shown in the example) to start the UV-based MCP workflow: uv run --with fastmcp fastmcp run /mcp-server-cvp-demo/secondmcpserver.py
- Monitor logs and ensure the environment variables are loaded from .env or your runtime environment. Adjust the config as needed for your environment.
Additional notes
Tips and notes:
- Keep CVPTOKEN and CVP in a secure environment; do not commit .env with secrets to public repos.
- The provided command uses the fastmcp path; ensure the fastmcp component is available in your uv installation.
- If you encounter path issues, make sure the secondmcpserver.py script is accessible at the exact path specified in the command.
- You can customize the server name under mcpServers to reflect your deployment environment (e.g., "CVP MCP Server").
- This is a demonstration; for production, consider adding error handling, authentication checks, and proper logging to your MCP server scripts.
Related MCP Servers
mcp-vegalite
MCP server from isaacwasserman/mcp-vegalite-server
github-chat
A Model Context Protocol (MCP) for analyzing and querying GitHub repositories using the GitHub Chat API.
nautex
MCP server for guiding Coding Agents via end-to-end requirements to implementation plan pipeline
pagerduty
PagerDuty's official local MCP (Model Context Protocol) server which provides tools to interact with your PagerDuty account directly from your MCP-enabled client.
futu-stock
mcp server for futuniuniu stock
mcp -boilerplate
Boilerplate using one of the 'better' ways to build MCP Servers. Written using FastMCP