mcp-gitlab-bedrock-proxy
v1.0.0
Published
Schema proxy for @zereight/mcp-gitlab to fix AWS Bedrock oneOf/allOf/anyOf incompatibility
Readme
mcp-gitlab-bedrock-proxy
A thin stdio proxy around @zereight/mcp-gitlab that rewrites tool schemas to be compatible with AWS Bedrock.
Problem
AWS Bedrock's Claude API rejects MCP tool schemas that use oneOf, allOf, or anyOf at the top level of input_schema. @zereight/mcp-gitlab produces such schemas, causing:
tools.N.custom.input_schema: input_schema does not support oneOf, allOf, or anyOf at the top levelSolution
This proxy sits between the MCP client and @zereight/mcp-gitlab. It intercepts tools/list responses and replaces any top-level oneOf/allOf/anyOf schema with { type: "object", additionalProperties: true }.
Usage
Via npx (recommended)
No installation required:
"gitlab": {
"command": "npx",
"args": ["-y", "mcp-gitlab-bedrock-proxy"],
"env": {
"GITLAB_PERSONAL_ACCESS_TOKEN": "glpat-...",
"GITLAB_API_URL": "https://your-gitlab-instance/api/v4"
}
}Global install
npm install -g mcp-gitlab-bedrock-proxy"gitlab": {
"command": "mcp-gitlab-bedrock-proxy",
"env": {
"GITLAB_PERSONAL_ACCESS_TOKEN": "glpat-...",
"GITLAB_API_URL": "https://your-gitlab-instance/api/v4"
}
}Requirements
- Node.js 18+
- No dependencies — uses only Node.js built-ins
