MCP4Agent

Provides a multi-package MCP server for WeChat public account management and Docker monitoring.
  • python

0

GitHub Stars

python

Language

2 months ago

First Indexed

3 weeks ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

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.

How to use

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.

How to install

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 .

Available tools

create_draft

Create a new WeChat post as a draft that can be edited or published later.

upload_image

Upload an image to be attached to drafts or posts.

list_drafts

List existing drafts for review or publication.

publish_draft

Publish a draft to become a live WeChat post (requires proper permissions).

list_containers

List all Docker containers with their current status.

get_container_stats

Retrieve CPU, memory, and network usage for a specific container.

get_container_logs

Fetch the logs for a container to diagnose issues.

restart_container

Restart a running container to apply changes or recover from a fault.

TokenCache

Manage local token caching to minimize repeated authentication requests.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational