glm
GLM 4.6 MCP server with custom json config for integration with Warp Terminal
claude mcp add --transport stdio bobvasic-glm-mcp-server node /absolute/path/to/glm-mcp-server/build/index.js \ --env GLM_API_KEY="your_glm_api_key_here"
How to use
GLM-4.6 MCP Server acts as a bidirectional bridge that exposes GLM-4.6’s architectural intelligence to Claude 4.5 Sonnet via the MCP protocol. This enables real-time architectural consultation, code architecture analysis, system design, and technical decision reviews within your Warp Terminal workflows. Available tools cover high-level architectural guidance (consult_architecture), code-architecture analysis (analyze_code_architecture), end-to-end system design (design_system_architecture), and formal technical decision reviews (review_technical_decision). To use them, run the MCP server in your environment, then invoke the corresponding MCP tool methods from Claude or Warp Terminal as part of your development session. The server authenticates with GLM-4.6 using your GLM API key and relays queries to GLM-4.6, returning structured guidance and recommendations for architecture, scalability, security, and design patterns.
How to install
Prerequisites:
- Node.js v18 or later
- npm v9 or later
- Access to GLM-4.6 API via GLM_API_KEY
Installation steps:
-
Clone the repository or set up your project directory: git clone https://github.com/your-org/bobvasic-glm-mcp-server.git cd glm-mcp-server
-
Install dependencies: npm install
-
Build the server (if a build step is defined): npm run build
-
Create a .env file in the project root and add your GLM API key: GLM_API_KEY=your_api_key_here
-
Run the MCP server (example): node build/index.js
-
Configure Warp Terminal with the provided mcp_servers.json example (see README) and restart Warp Terminal.
Additional notes
Environment variables and configuration:
- GLM_API_KEY is required for authenticating with GLM-4.6. Do not commit this key to version control.
- In Warp Terminal, ensure the absolute path to the built server (build/index.js) is correctly set in mcp_servers.json.
- Restart Warp Terminal after changing the MCP server configuration.
- If you encounter connectivity issues, verify network access to GLM-4.6 API and check that the GLM_API_KEY has the necessary permissions.
- For production deployments, consider securing the GLM_API_KEY via secret management and enabling proper rotation and access controls.
Related MCP Servers
iterm
A Model Context Protocol server that executes commands in the current iTerm session - useful for REPL and CLI assistance
mcp
Octopus Deploy Official MCP Server
furi
CLI & API for MCP management
editor
MCP Server for Phaser Editor
DoorDash
MCP server from JordanDalton/DoorDash-MCP-Server
mcp
MCP сервер для автоматического создания и развертывания приложений в Timeweb Cloud