wechat-robot
微信机器人MCP服务端
claude mcp add --transport stdio hp0912-wechat-robot-mcp-server go run .
How to use
This MCP server is the WeChat robot MCP server. It is started with a Go runtime and exposes an HTTP-based robot interface that can send messages to a WeChat client. The README shows how to start the service using the typical Go workflow, and it provides an example of how to send a long text message to a WeChat client by posting to the client endpoint in the form: Post("http://client_<robot-code>:<port>/api/v1/robot/message/send/longtext"). The prefix client_ before the host indicates the conventional naming expected for the WeChat client endpoint in this setup. Once running, you can interact with the robot through the defined HTTP API to deliver messages to connected WeChat clients.
How to install
Prerequisites:
- Go programming language installed (https://golang.org/dl/)
- Basic familiarity with running Go applications
Install and run:
- Ensure you have Go installed and your GOPATH set up.
- Download or clone the MCP server repository containing wechat-robot-mcp-server.
- Navigate to the project directory in your terminal.
- To run the server in development mode: go run .
- To build a standalone binary: go build .
- Run the generated binary if you built it, for example: ./wechat-robot-mcp-server
Note: The README snippet shows the standard Go workflow (go run .) to start the server and go build . to compile a binary. Ensure any required environment variables or configuration are provided as needed by your deployment environment.
Additional notes
Tips and notes:
- The example endpoint suggests the server interacts with a WeChat client via a REST API at an endpoint like /api/v1/robot/message/send/longtext.
- The exact environment variables, ports, and client addressing depend on your deployment environment and network setup. If the server requires specific configuration, set them via environment variables or configuration files as per the project setup.
- When deploying in production, consider sandboxing, proper authentication, and secure communication (HTTPS) for the HTTP API endpoints.
- If you encounter issues starting the server, verify that you have Go installed and that you are running the server from the repository root where the main package is defined.
Related MCP Servers
trpc-agent-go
trpc-agent-go is a powerful Go framework for building intelligent agent systems using large language models (LLMs) and tools.
station
Station is our open-source runtime that lets teams deploy agents on their own infrastructure with full control.
tiger-cli
Tiger CLI is the command-line interface for Tiger Cloud. It includes an MCP server for helping coding agents write production-level Postgres code.
gopls
MCP server for golang projects development: Expand AI Code Agent ability boundary to have a semantic understanding and determinisic information for golang projects.
kubernetes
A Model Context Protocol (MCP) server for the Kubernetes API.
gcp-cost
💰 An MCP server that enables AI assistants to estimate Google Cloud costs, powered by Cloud Billing Catalog API and built with Genkit for Go