Clixon MCP Server
The Clixon MCP Server enables AI coding agents to fetch, query, and manage network device configurations via RESTCONF.
Fetch device configuration (
fetch_config): Pull configuration from RESTCONF-capable devices, with support for HTTP basic authentication and optional SSL certificate verification.Retrieve cached configuration (
get_config): Return the full configuration previously fetched and stored in memory.Query a specific config section (
get_config_path): Extract a targeted portion of the cached configuration using a dot-separated path (e.g.,ietf-interfaces:interfaces.interface).Write configuration back (
write_config): Push the cached configuration back to the device via RESTCONF.Manage the RESTCONF URL (
get_config_url/set_config_url): Retrieve or update the target device URL without restarting the server.Clear the config cache (
clear_config_cache): Remove the in-memory cached configuration.Analyze configuration (
analyze_config): Use a built-in prompt to fetch and analyze device configuration details such as interfaces and routing in one step.Discover available tools (
list_tools/help): List all tools and get usage guidance from within the agent interface.AI agent integration: Designed to integrate with AI coding agents like OpenCode, enabling natural language queries about network configurations.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Clixon MCP Server show me the current routing and interface configuration"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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.
This project uses UV (https://github.com/astral-sh/uv) for package control.
Setup
uv syncRelated MCP server: network-mcp
Run
uv run server.py --restconf-url https://localhost:8443/restconf/CLI Arguments
Argument | Default | Description |
|
| RESTCONF URL to fetch config from |
| (empty) | HTTP basic auth username for RESTCONF (optional) |
| (empty) | HTTP basic auth password for RESTCONF (optional) |
|
| Verify SSL certificates when fetching RESTCONF config |
Tools
Tool | Description |
| Fetch device configuration via RESTCONF (supports basic auth and TLS) |
| Write cached configuration back to the device via RESTCONF |
| Return the currently cached configuration |
| Extract a specific section by dot-separated path (e.g. |
| Return the RESTCONF URL used to fetch the configuration |
| Set the RESTCONF URL for fetching configuration |
| Clear the cached configuration |
| List available tools |
| 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 configurationAre 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.
Available Tools
3 toolsfetch_configB
Fetch network device configuration via RESTCONF.
Args:
url: RESTCONF URL, e.g. https://device:8443/restconf/data
username: HTTP basic auth username (optional).
password: HTTP basic auth password (optional).
verify_ssl: Whether to verify SSL certificates (default: False).
Inputs: url (required), username, password, verify_ssl. Returns: result
get_configA
Return the currently cached RESTCONF configuration.
Call fetch_config first to load configuration from a device.
Inputs: no named parameters. Returns: result
get_config_pathA
Extract a specific section from the cached configuration by dot-separated path.
Args:
path: Dot-separated path into the config, e.g.
"ietf-interfaces:interfaces" or
"ietf-interfaces:interfaces.interface"
Inputs: path (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose: fetch_config retrieves configuration from a device, get_config accesses the cached configuration, and get_config_path extracts specific sections from the cache. There is no overlap or ambiguity in their functions.
All tool names follow a consistent verb_noun pattern with snake_case (fetch_config, get_config, get_config_path). The verbs 'fetch' and 'get' are semantically related but used distinctly to differentiate between external retrieval and internal access.
With only 3 tools, the set feels thin for a network device configuration server, potentially lacking operations like update, delete, or validation. However, it covers basic fetch and query workflows, making it borderline but functional for limited use cases.
The toolset is severely incomplete for network device configuration management. It only supports fetching and reading configuration, with no tools for creating, updating, deleting, or validating configurations, leaving significant gaps that will hinder agent workflows.
Related MCP Connectors
Protocol-native energy infrastructure orchestration for AI data centers. Provides 46 MCP tools across 8 grid protocols (IEC-61850, DNP3, Modbus, OCPP, OpenADR, IEEE 2030.5, IEC 60870-5-104, ICCP) with 5 core API primitives: connect, dispatch, settle, comply, and intel. Enables AI agents to programmatically interact with substations, grid interfaces, and energy assets for real-time workload-grid coordination.
Open network for AI agents to find, exchange and reuse structured knowledge via MCP and JSON.
Autonomous Website Intelligence & OSINT Suite for AI Agents (10 Tools) Surgically extract clean token-optimized Markdown for RAG, detect 65+ tech stacks, identify corporate mail providers (Google Workspace vs Microsoft 365), and audit SSL/security posture with hardened SSRF protection. Quick Install in Claude Desktop (claude_desktop_config.json): json { "mcpServers": { "webintel": { "command": "npx", "args": ["-y", "@modelcontextprotocol/server-fetch", "https://webintel-apis.vercel.app/api/mcp"] } } }
Read-only MCP tools for AI agent discovery, structured resources, and NIULAI information.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI-powered network automation through natural language interactions with Cisco NSO, providing access to device management, configuration retrieval, sync operations, and service orchestration via the RESTCONF API.929 PyPI4MIT
- AlicenseNot gradedqualityDmaintenanceProvides AI assistants with direct access to multi-vendor network devices for tasks like configuration management, health checks, and topology discovery through 35 specialized tools. It enables natural language control over platforms including Cisco, Juniper, and Nokia using SSH, NETCONF, and SNMP protocols.12MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with Cisco IOS-XE network devices over SSH using structured tools. Provides read and write capabilities for network management with built-in validation and security.-
- FlicenseNot gradedqualityBmaintenanceEnables AI assistants to manage network devices via gNMI protocol, including querying capabilities, reading/modifying configurations, and subscribing to telemetry data through natural language.-