From 2791aebda9106eb7b203eeb1b8860c84ba9c209b Mon Sep 17 00:00:00 2001 From: ggq-admin Date: Mon, 27 Oct 2025 01:42:23 +0100 Subject: [PATCH] chore: prepare for rename to mcp-multiagent-bridge MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updates for repository rename from claude-code-bridge to mcp-multiagent-bridge: 1. README.md: - Updated title to "MCP Multiagent Bridge" - Future-proof description (supports any LLM backends) - Emphasizes MCP ecosystem positioning - Removed Claude-specific wording 2. pyproject.toml (NEW): - Modern Python packaging metadata - Package name: mcp-multiagent-bridge - Keywords for SEO/discoverability - Console scripts for CLI tools - Ruff and Bandit configuration 3. scripts/update-repo-links.sh (NEW): - Automated script to update all repo references - Run after renaming repository on GitHub - Safe dry-run preview before replacement Repository will be renamed to mcp-multiagent-bridge for: - Better MCP ecosystem discoverability - Future-proof (not tied to Claude/Codex/specific AI) - Follows MCP naming conventions 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- README.md | 6 +++-- pyproject.toml | 50 ++++++++++++++++++++++++++++++++++++ scripts/update-repo-links.sh | 42 ++++++++++++++++++++++++++++++ 3 files changed, 96 insertions(+), 2 deletions(-) create mode 100644 pyproject.toml create mode 100644 scripts/update-repo-links.sh diff --git a/README.md b/README.md index 10a8142..06e0790 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ -# Secure Claude Code Multi-Agent Bridge +# MCP Multiagent Bridge -Production-lean MCP server enabling two Claude Code CLI sessions to communicate securely. +Lightweight Python MCP server for secure multi-agent coordination with configurable rate limiting, auditable actions, and 4-stage YOLO confirmation flow for safe execution. + +> MCP Multiagent Bridge coordinates multiple LLM agents via the Model Context Protocol (MCP). Designed for experiments and small-scale deployments, it provides battle-tested security safeguards without sacrificing developer experience. Use it to prototype agent orchestration securely — plug in Claude, Codex, GPT, or other backends without rewriting core code. > ⚠️ **Beta Software**: Suitable for development/testing. See [Security Policy](SECURITY.md) before production use. diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..64649fe --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,50 @@ +[build-system] +requires = ["setuptools>=61.0", "wheel"] +build-backend = "setuptools.build_meta" + +[project] +name = "mcp-multiagent-bridge" +version = "1.0.0-beta" +description = "Python MCP server for secure multi-agent coordination with 4-stage YOLO safeguards and rate limiting" +readme = "README.md" +license = {text = "MIT"} +authors = [ + {name = "Danny Stocker", email = "danny.stocker@gmail.com"} +] +keywords = ["mcp", "multi-agent", "agents", "ai", "llm", "bridge", "python", "security", "rate-limiting", "audit-logs"] +classifiers = [ + "Development Status :: 4 - Beta", + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Software Development :: Libraries :: Python Modules", + "Topic :: Scientific/Engineering :: Artificial Intelligence", +] +requires-python = ">=3.11" +dependencies = [ + "mcp>=1.0.0,<2.0.0", +] + +[project.urls] +Homepage = "https://github.com/dannystocker/mcp-multiagent-bridge" +Repository = "https://github.com/dannystocker/mcp-multiagent-bridge" +Issues = "https://github.com/dannystocker/mcp-multiagent-bridge/issues" +Documentation = "https://github.com/dannystocker/mcp-multiagent-bridge#readme" + +[project.scripts] +claude-bridge = "claude_bridge_secure:main" +bridge-cli = "bridge_cli:main" + +[tool.bandit] +exclude_dirs = ["tests", "scripts"] +skips = ["B101"] # Skip assert_used warnings in tests + +[tool.ruff] +line-length = 100 +target-version = "py311" + +[tool.ruff.lint] +select = ["E", "F", "W", "I", "N", "UP", "B", "A", "C4", "SIM"] +ignore = ["E501"] # Line length handled by formatter diff --git a/scripts/update-repo-links.sh b/scripts/update-repo-links.sh new file mode 100644 index 0000000..5c0ea1f --- /dev/null +++ b/scripts/update-repo-links.sh @@ -0,0 +1,42 @@ +#!/bin/bash +# Update all references from old repo name to new name +# Run this after renaming the repository on GitHub + +set -e + +OLD_NAME="claude-code-bridge" +NEW_NAME="mcp-multiagent-bridge" +OLD_URL="github.com/dannystocker/claude-code-bridge" +NEW_URL="github.com/dannystocker/mcp-multiagent-bridge" + +echo "Updating repository references..." +echo " Old: $OLD_NAME -> New: $NEW_NAME" +echo "" + +# Find all occurrences (dry run) +echo "Files to update:" +git grep -l "$OLD_NAME" | grep -v "scripts/update-repo-links.sh" || echo " (none found)" +echo "" + +# Confirm before proceeding +read -p "Proceed with replacement? (y/N) " -n 1 -r +echo +if [[ ! $REPLY =~ ^[Yy]$ ]]; then + echo "Aborted." + exit 1 +fi + +# Perform replacements +git grep -l "$OLD_NAME" | grep -v "scripts/update-repo-links.sh" | xargs sed -i "s|$OLD_NAME|$NEW_NAME|g" +git grep -l "$OLD_URL" | grep -v "scripts/update-repo-links.sh" | xargs sed -i "s|$OLD_URL|$NEW_URL|g" + +echo "" +echo "✅ Updated all repository references" +echo "" +echo "Files changed:" +git status --short + +echo "" +echo "Review changes, then commit:" +echo " git add -A" +echo " git commit -m 'chore: update repository references to mcp-multiagent-bridge'"