Clixon MCP Server

Clixon MCP Server

Enables AI agents to fetch and query network device configurations from Clixon-based or other RESTCONF-capable devices. It provides tools to extract specific configuration sections, such as interfaces and routing, through the Model Context Protocol.

Category
Visit Server

README

Clixon MCP Server

A Model Context Protocol server for fetching and querying network device configuration via RESTCONF. Connects to Clixon-based (or any RESTCONF-capable) devices and makes the configuration available to AI coding agents like OpenCode.

Setup

uv sync

Run

uv run server.py --restconf-url https://localhost:8443/restconf/

CLI Arguments

Argument Default Description
--restconf-url https://localhost:8443/restconf/ RESTCONF URL to fetch config from
--restconf-username (empty) HTTP basic auth username for RESTCONF (optional)
--restconf-password (empty) HTTP basic auth password for RESTCONF (optional)
--restconf-verify-ssl False Verify SSL certificates when fetching RESTCONF config

Tools

Tool Description
fetch_config Fetch device configuration via RESTCONF (supports basic auth and TLS)
write_config Write cached configuration back to the device via RESTCONF
get_config Return the currently cached configuration
get_config_path Extract a specific section by dot-separated path (e.g. ietf-interfaces:interfaces.interface)
get_config_url Return the RESTCONF URL used to fetch the configuration
set_config_url Set the RESTCONF URL for fetching configuration
clear_config_cache Clear the cached configuration
list_tools List available tools
help Return a help message describing the server and available tools

Resources

  • config://server-info — Server metadata (name, version, available tools)

Prompts

  • analyze_config — Fetch and analyze device configuration (interfaces, routing, etc.)

Connect to OpenCode

Add to your opencode.json (~/.opencode/opencode.json):

{
    "$schema": "https://opencode.ai/config.json",
    "mcp": {
      "clixon": {
        "type": "remote",
        "url": "http://localhost:8000/mcp",
        "enabled": true
      }
    }
}

Example Usage in OpenCode

Once connected, ask questions like:

  • Fetch the config and summarize it.
  • What interfaces are configured?
  • Show me the routing configuration
  • Are there any interfaces that are down?

The AI agent will call fetch_config to pull the RESTCONF data, cache it in memory, and then use get_config / get_config_path to answer follow-up questions about the device configuration.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured