Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Dsh Gemini Tool Schema

MCP server by ChenXu233 Verified · npm:dsh-gemini-tool-schema

Normalizes tool schemas into the strict OpenAPI 3.0 subset that Gemini function declarations accept. Built for DeepSeek Harness users who get HTTP 400 errors from Gemini tool calls. It runs at Harness assembly time, so it covers built-in and MCP tools alike.

  • Score 79
  • 0 stars
  • 510 a week
  • MIT
  • Updated

Install Dsh Gemini Tool Schema

Built from the published package, never by AI.

claude mcp add dsh-gemini-tool-schema -- npx -y dsh-gemini-tool-schema

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Dsh Gemini Tool Schema in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the dsh-gemini-tool-schema block.

About

Dsh Gemini Tool Schema is a TypeScript plugin for DeepSeek Harness. It rewrites the tool schemas sent to the model into the strict OpenAPI 3.0 subset that Gemini function declarations accept. Gemini rejects the whole request with HTTP 400 when a schema has no type, an array has no items, or an enum contains an empty string.

Because it runs as a Harness hook at assembly time, it covers built-in tools and tools from other plugins, not only MCP servers. It applies to API routes matched by configured patterns such as gemini, google and vertex, and it has a dry-run mode that reports and lints without changing requests. It is aimed at DeepSeek Harness users who route tools to Gemini.

Written from the project's README and checked against it.

What you need

  • DeepSeek Harness with a profile to configure
  • Node.js and npm to build the plugin
  • Git to clone the repository

Try asking

  • Fix the HTTP 400 error from my Gemini tool declarations
  • Check my Gemini tool schemas in dry-run mode before sending them
  • Apply schema normalization to all requests on my Harness profile

Good to know

  • Applies only to API routes matching the configured patterns unless mode is set to all
  • The test suite requires Node.js 22.6 or later

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

What you can do with it

  • Fix Gemini HTTP 400 errors from tool schemas
  • Normalize MCP and built-in tool schemas
  • Audit tool schemas before sending them to a model

Alternatives to Dsh Gemini Tool Schema

All alternatives →
Oh My Posh Validator JanDeDobbeleer
100

Oh My Posh Validator is listed as an MCP server, but the source is the README for oh-my-posh, a cross platform prompt theme engine. It does not describe an MCP server, tools, or schema validation.

AAA Remote 24k
Sim simstudioai
100

Sim is a workspace for building, deploying and managing AI agents and workflows. Its MCP server lets Claude, Claude Code, Codex or another MCP client manage workspaces, workflows, tables, knowledge bases, files and logs.

AAA Remote 30k
Omnara omnara-ai
98

Omnara deploys durable AI agents on any model and any machine. It is an open-source, self-hostable managed agent platform under Apache 2.0, with a REST API, TypeScript SDK, CLI, and MCP server.

AAA Remote 3.5k
strata Klavis-AI
95

Strata is an MCP server from Klavis AI for progressive tool usage, described as a way to optimize the AI agent's context window. The repository is deprecated, but it remains public for reference and for local or hosted use.

AAA Remote 5.8k
voicemode mbailey
95

VoiceMode is an MCP server that adds voice conversations to Claude Code and other MCP capable agents. It uses speech-to-text and text-to-speech. It suits people whose hands or eyes are busy.

AAA Local 1.5k
OpenWork MCP Gateway different-ai
94

Gives an AI agent access to the skills, plugins, MCP connections, and Google Workspace and Microsoft 365 capabilities assigned to you by your OpenWork organization, through one OAuth MCP URL. Intended for people and teams who want to reuse the same setup across agents, tools, and machines.

AFA Remote 25k

Compare with Oh My Posh Validator, Sim or Omnara

Dsh Gemini Tool Schema: common questions

What error does this plugin fix?

It fixes HTTP 400 errors that Google Gemini returns when function declaration schemas use fields it does not accept, such as a missing type or items field. The source names these cases, including an array without items and an enum with an empty string.

Why is it a Harness hook instead of an MCP proxy?

An MCP proxy only reaches the servers it wraps. Built-in tools and tools registered by other plugins never cross an MCP transport, so normalizing at Harness assembly time covers every tool at once.

Can I apply the normalization to every request?

Yes. Setting mode to all applies it to every request, while the default list mode applies it only to matching APIs.

How do I install Dsh Gemini Tool Schema?

In Claude Code run claude mcp add dsh-gemini-tool-schema -- npx -y dsh-gemini-tool-schema. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Dsh Gemini Tool Schema the official server?

Dsh Gemini Tool Schema is published by npm:dsh-gemini-tool-schema from its verified domain in the official MCP Registry.

Is Dsh Gemini Tool Schema free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Dsh Gemini Tool Schema safe to use?

It scores 79 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Dsh Gemini Tool Schema?

Similar MCP servers: Oh My Posh Validator, Sim, Omnara, strata.

Does Dsh Gemini Tool Schema work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Dsh Gemini Tool Schema Install

Add to stack

Loading.