# MCP Connector Generator

> Scaffolds the McpToolset connection logic for standard servers (Reddit, Google Docs) or custom local Python scripts.

- Skill: `googlecloudplatform/mcp-connector-generator` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add googlecloudplatform/mcp-connector-generator`
- Raw SKILL.md: https://api.skillmd.com/api/skills/googlecloudplatform/mcp-connector-generator/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: GoogleCloudPlatform (https://skillmd.com/u/googlecloudplatform)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/googlecloudplatform/mcp-connector-generator

---


# mcp-connector-generator

This skill helps you connect your AI agent to external data and tools using the Model Context Protocol (MCP). It provides boilerplate for the three most common connection types seen in production.

## Usage

Ask Antigravity to:
- "Connect my agent to Reddit via MCP"
- "Add the Google Cloud Docs (Knowledge) toolset"
- "Create a connector for my local Nano Banana script"

## Connection Patterns

1. **Local Subprocess (stdio)**: Best for npm-based servers (like reddit-mcp) or local Python scripts. Injects secrets into the environment.
2. **Remote Endpoint (HTTP)**: Used for managed services like the Developer Knowledge MCP server. Pass API keys in headers.
3. **Local Script (uv run)**: Executes a specific entrypoint within a project folder.

## Python Boilerplate

Refer to the included `scripts/mcp_connectors.py` for the standard implementation of `get_reddit_mcp_toolset`, `get_dk_mcp_toolset`, and others.

