MCPInstall
mcp-cvp-fun logo

mcp-cvp-fun

by noredistribution 5 stars noredistribution/mcp-cvp-fun

MCP Server Demo integrates with Arista CloudVision for enhanced API functionality.

READMEmain

MCP Server Demo with Arista CloudVision

[!WARNING] Please note that this is not officially supported by Arista.

You might not want to do this in your production environment as it is not using a local LLM.

The free plan of Claude might cause anxiety!

Kudos to @burnyd for the inspiriation and for writing this blog post: https://danielhertzberg.net/posts/mcp-servers/

Expanding on that, I've added a few more API calls to be able to ask Claude to get connectivity monitor data, and create tags for Studios and dashboards, but obviously any API call can be added very easy with the @mcp.tool() decorator.

To learn more about MCP please visit https://modelcontextprotocol.io/introduction.

Example usage

1. Create a .env file like the following.

CVPTOKEN="Insert CloudVision Service account token here"
CVP="www.arista.io"

2. Download Claude Desktop

3. In Claude's developer settings update the claude_desktop_config.json and tell it to run your script like below:

{
  "mcpServers": {
    "CVP MCP Server": {
      "command": "uv",
      "args": [
        "run",
        "--with",
        "fastmcp",
        "fastmcp",
        "run",
        "/home/ansible/mcp-cvp-fun/mcp_server_rest.py"
      ]
    }
  }
}

4. Reload Claude and start prompting

creattag

How to generate service account tokens

Service accounts can be created from the Settings page where a service token can be generated as seen below:

serviceaccount1 serviceaccount2 serviceaccount3

More API Development MCP servers

Similar servers from the same category.

Integrates with DeepL to provide high-quality text translation and rephrasing between numerous languages with formality controls for supported language pairs.

API Development

Integrates with Kong API Gateway to enable management and analysis of API configurations, traffic patterns, and control plane settings through Kong's cloud APIs for DevOps teams maintaining API infrastructure.

API Development

Maton

maton-ai

Integrate with Maton APIs through function calling. This protocol supports various apps and actions to interact with different Maton services.

API Development

Converts OpenAPI specifications from API.market into tools for accessing over 200 services including image generation, geocoding, and content detection through a unified authentication system

authentication