home / mcp / mcp4agent mcp server
Provides a multi-package MCP server for WeChat public account management and Docker monitoring.
Configuration
View docs{
"mcpServers": {
"jungley8-mcp4agent": {
"command": "python",
"args": [
"-m",
"mcp4agent",
"--app",
"wechat"
],
"env": {
"WECHAT_APP_ID": "YOUR_WECHAT_APP_ID",
"WECHAT_APP_SECRET": "YOUR_WECHAT_APP_SECRET",
"WECHAT_TOKEN_CACHE_DIR": "~/.cache/wechat-mcp"
}
}
}
}You can run a multi-package MCP server that combines a WeChat public account management tool with Docker container monitoring. This server lets you publish and manage WeChat drafts, images, and drafts, while also keeping an eye on Docker containers and their resource usage from a single, convenient interface.
To operate the WeChat MCP service, start the server component dedicated to WeChat management and expose commands to create drafts, upload images, list drafts, and publish drafts with appropriate permissions.
To operate the Docker monitoring service, start the server component dedicated to Docker status and use the available commands to list containers, view resource usage, fetch logs, and restart containers.
Prerequisites: ensure you have Python installed on your system and access to the command line.
Install the package in editable mode to pull in the multi-package MCP server functionality.
Step-by-step commands:
pip install -e .Create a new WeChat post as a draft that can be edited or published later.
Upload an image to be attached to drafts or posts.
List existing drafts for review or publication.
Publish a draft to become a live WeChat post (requires proper permissions).
List all Docker containers with their current status.
Retrieve CPU, memory, and network usage for a specific container.
Fetch the logs for a container to diagnose issues.
Restart a running container to apply changes or recover from a fault.
Manage local token caching to minimize repeated authentication requests.