A local MCP (Model Context Protocol) server that connects Claude Code, Claude Desktop, Gemini CLI, or any MCP-compatible client to the agentic-minions fleet running on GCP.
- gcloud CLI installed and authenticated
- Access to the
mslarkin-agentsGCP project (or your own deployment)
Authenticate so the MCP server can obtain ID tokens for Cloud Run:
gcloud auth application-default logingemini extensions install https://github.com/mlarkin00/agentic-minions-toolsThen configure the gateway URL:
gemini extensions config agentic-minions "Gateway URL"
# enter: https://gateway-845186993936.us-central1.run.appPre-built binaries are downloaded automatically — no Go required.
Add the marketplace and install the plugin:
/plugin marketplace add mlarkin00/agentic-minions-tools
/plugin install agentic-minions@agentic-minionsYou'll be prompted for the gateway URL during setup:
Gateway URL: https://gateway-845186993936.us-central1.run.app
The plugin registers the MCP server globally — the agentic-minions tools
are available in every Claude Code session.
When working inside this repo, Claude Code picks up the committed .mcp.json
automatically — no plugin install needed.
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
(macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"agentic-minions": {
"command": "go",
"args": ["run", "."],
"cwd": "/path/to/agentic-minions-tools",
"env": {
"GATEWAY_URL": "https://gateway-845186993936.us-central1.run.app"
}
}
}
}If you prefer manual MCP config over the extension, add to
~/.gemini/settings.json:
{
"mcpServers": {
"agentic-minions": {
"command": "go",
"args": ["run", "."],
"cwd": "/path/to/agentic-minions-tools",
"env": {
"GATEWAY_URL": "https://gateway-845186993936.us-central1.run.app"
}
}
}
}go build -o mcp-server .Then replace "command": "go" and "args": ["run", "."] with
"command": "/path/to/mcp-server" and "args": [].
| Environment variable | Required | Description |
|---|---|---|
GATEWAY_URL |
Yes | Base URL of the gateway service (Cloud Run) |
Authentication is automatic via:
- Service account credentials (if
GOOGLE_APPLICATION_CREDENTIALSis set) - Application Default Credentials (from
gcloud auth application-default login) - gcloud CLI fallback (calls
gcloud auth print-identity-token)
| Tool | Description |
|---|---|
create_session |
Start a new conversation with an agent role |
send_message |
Send a prompt and receive the agent's response |
list_sessions |
List active sessions for a user/role |
delete_session |
Clean up a session |
> create a session with the coding-design agent
> ask it to design a rate limiter in Go
> list my active sessions
> delete the session when done
| Role | Description | Backend |
|---|---|---|
coding-design |
System design, code architecture, implementation, code review | Claude Opus 4.6 via Vertex AI |
"GATEWAY_URL environment variable is required"
The MCP server requires GATEWAY_URL in its env block. Check your MCP config.
"gcloud auth print-identity-token failed"
Run gcloud auth application-default login to refresh credentials.
"create session failed (403)"
Your Google identity doesn't have access to the Cloud Run gateway. Verify
with: gcloud auth print-identity-token | head -c 20 (should print a token).
"send message failed (502/504)" The backend agent pod may be starting up. GKE pods take ~30s on cold start. Retry after a moment.