console-switch-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_portsA | 列出计算机上所有可用的串口(COM口)。用于查找通过Console线连接的交换机所在的端口号。 |
| connectA | 通过Console口连接到网络设备(如华为/H3C/思科交换机)。连接后可以发送命令进行配置和调试。 常用波特率:华为/H3C 默认 9600,部分设备 115200。 Windows 端口示例: COM1, COM3 Linux 端口示例: /dev/ttyUSB0, /dev/ttyS0 macOS 端口示例: /dev/cu.usbserial-xxxx |
| send_commandA | 向已连接的交换机发送一条命令,并获取返回结果。 华为交换机常用命令示例:
注意:进入 system-view 后提示符会从 变为 [Huawei],此时可执行配置命令。 |
| send_configA | 批量发送配置命令给交换机。自动逐条执行,适合批量配置场景。 使用前请确保已进入 system-view(系统视图)。 示例命令:
每行一条命令,按顺序执行。 |
| disconnectA | 断开与交换机的Console口连接。 |
| get_statusA | 获取当前连接状态,包括是否已连接、端口、波特率、检测到的设备类型等信息。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/yangyu2729/console-switch-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server