mcp-watchtower-campaign-config-agent MCP server
An agent for managing campaign configurations and channel bindings in the MCP ecosystem.
Components
Tools
The server implements three tools:
-
get-campaign-info: Retrieves detailed campaign information
- Takes either "campaignId" or "campaignName" as input
- Returns comprehensive campaign details
-
bind-campaign-channel: Binds a campaign to a specified channel
- Requires "channelName", "campaignId", and "campaignName"
- Updates campaign-channel binding and confirms success
-
list-c-type-campaigns: Lists all C-type campaigns
- No input required
- Returns detailed information for each campaign including name, ID, channel, partner, creator, and timestamps
Configuration
The agent requires the following environment variables:
- MCP_HOST: MCP server host (default: localhost)
- MCP_PORT: MCP server port (default: 8080)
- MCP_API_KEY: Authentication key for MCP server access
- MCP_PUBLIC_KEY: Public key for secure communication
- MCP_SERVICE_NAME: Service name for routing (default: castle_datawork)
Create a .env file in the project root with these variables:
MCP_HOST=localhost
MCP_PORT=8080
MCP_API_KEY=your_api_key
MCP_PUBLIC_KEY=your_public_key
MCP_SERVICE_NAME=castle_datawork
Quickstart
Install
Claude Desktop
On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
Development/Unpublished Servers Configuration
``` "mcpServers": { "mcp-watchtower-campaign-config-agent": { "command": "uv", "args": [ "--directory", "/Users/user/Documents/projects/mcp-server/mcp-watchtower-campaign-config-agent", "run", "mcp-watchtower-campaign-config-agent" ] } } ```Published Servers Configuration
``` "mcpServers": { "mcp-watchtower-campaign-config-agent": { "command": "uvx", "args": [ "mcp-watchtower-campaign-config-agent" ] } } ```Development
Building and Publishing
To prepare the package for distribution:
- Sync dependencies and update lockfile:
uv sync
- Build package distributions:
uv build
This will create source and wheel distributions in the dist/ directory.
- Publish to PyPI:
uv publish
Note: You'll need to set PyPI credentials via environment variables or command flags:
- Token:
--tokenorUV_PUBLISH_TOKEN - Or username/password:
--username/UV_PUBLISH_USERNAMEand--password/UV_PUBLISH_PASSWORD
Debugging
Since MCP servers run over stdio, debugging can be challenging. For the best debugging experience, we strongly recommend using the MCP Inspector.
You can launch the MCP Inspector via npm with this command:
npx @modelcontextprotocol/inspector uv --directory /Users/user/Documents/projects/mcp-server/mcp-watchtower-campaign-config-agent run mcp-watchtower-campaign-config-agent
Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.
Metadata
Release files for mcp-watchtower-campaign-config-agent 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| mcp_watchtower_campaign_config_agent-0.1.1.tar.gz | 42.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mcp_watchtower_campaign_config_agent-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 49.4 kB
Release files / mcp_watchtower_campaign_config_agent-0.1.1.tar.gz
| Download URL | mcp_watchtower_campaign_config_agent-0.1.1.tar.gz |
|---|---|
| Size | 42.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ce5d9418d7c46db5b3acbe360c275af65afaf15c90dd0768dae2d9bd423a0017
|
|
BLAKE2b-256 checksum How to use checksums |
d489fea4187b23320a1d833c4b38fa3dd22e1f93c93f29bb85b026ec7cd8bcbe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.8
|
Release files / mcp_watchtower_campaign_config_agent-0.1.1-py3-none-any.whl
| Download URL | mcp_watchtower_campaign_config_agent-0.1.1-py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
77671a61e785fcba53bb5cca217cf876c3dc6e1378e6299fa1b33b68b98c615a
|
|
BLAKE2b-256 checksum How to use checksums |
c7f30c9fbc2de561435ce8c1ae693bded481d062b3cb58e791f76e9a62bfe2f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.8
|
Security for mcp-watchtower-campaign-config-agent 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.