MCP Connector Generator
Agent Buildingmcp-connector-generatorMCP Connector Generator is an Agent Skill for agent building published in the GoogleCloudPlatform/devrel-demos repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Scaffolds the McpToolset connection logic for standard servers (Reddit, Google Docs) or custom local Python scripts.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/GoogleCloudPlatform/devrel-demos/blob/HEAD/ai-ml/dev-signal/.agent/skills/mcp-connector-generator/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/mcp-connector-generator, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
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
- Local Subprocess (stdio): Best for npm-based servers (like reddit-mcp) or local Python scripts. Injects secrets into the environment.
- Remote Endpoint (HTTP): Used for managed services like the Developer Knowledge MCP server. Pass API keys in headers.
- 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.