This repository was archived by the owner on Apr 13, 2026. It is now read-only.
feat: add Google Vertex AI support for Claude models - #146
Merged
ezynda3 merged 1 commit intoJan 10, 2026
Conversation
shanemcd
force-pushed
the
feat/google-vertex-anthropic-provider
branch
from
December 26, 2025 21:52
41e7c1a to
d128d1c
Compare
shanemcd
added a commit
to tndrl/tndrl
that referenced
this pull request
Dec 26, 2025
Use mcphost fork with google-vertex-anthropic provider until mark3labs/mcphost#146 merges. Add vertex.yaml example config. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2 tasks
shanemcd
added a commit
to tndrl/tndrl
that referenced
this pull request
Dec 26, 2025
Use mcphost fork with google-vertex-anthropic provider until mark3labs/mcphost#146 merges. Add vertex.yaml example config. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add support for using Claude models via Google Cloud Vertex AI through the `google-vertex-anthropic` provider. This enables users who have Claude access through their Google Cloud account to use mcphost with Vertex AI authentication. Changes: - Add `google-vertex-anthropic` provider case and createVertexAnthropicProvider() - Support multiple env var names for project/region to match eino-claude: - Project: ANTHROPIC_VERTEX_PROJECT_ID, GOOGLE_CLOUD_PROJECT, GCLOUD_PROJECT - Region: CLOUD_ML_REGION (defaults to "global" if not set) - Upgrade eino from v0.5.11 to v0.7.11 (required by eino-claude v0.1.12) - Migrate schema API from OpenAPI v3 to JSON Schema (eino v0.7.11 change) Usage: # Authenticate with Google Cloud gcloud auth application-default login # Set required environment variables export ANTHROPIC_VERTEX_PROJECT_ID="your-project-id" export CLOUD_ML_REGION="us-east5" # or use default "global" # Run mcphost mcphost --model google-vertex-anthropic:claude-sonnet-4@20250514 Reference: https://docs.anthropic.com/en/docs/claude-code/google-vertex-ai 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
shanemcd
force-pushed
the
feat/google-vertex-anthropic-provider
branch
from
January 9, 2026 18:49
d128d1c to
4088422
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds support for using Claude models via Google Cloud Vertex AI through the
google-vertex-anthropicprovider. This enables users who have Claude access through their Google Cloud account to use mcphost with Vertex AI authentication.Changes
google-vertex-anthropicprovider case andcreateVertexAnthropicProvider()functionANTHROPIC_VERTEX_PROJECT_ID,GOOGLE_CLOUD_PROJECT,GCLOUD_PROJECTCLOUD_ML_REGION(defaults to "global" if not set)Usage
Dependencies
This PR depends on Vertex AI support added to eino-claude:
Reference
Test Plan
🤖 Generated with Claude Code