Add bulk_operations & create_collection tools; fix Gemini JSON Schema compatibility and inspector vulnerabilities#20
Draft
Copilot wants to merge 3 commits into
Draft
Conversation
…ms schema Agent-Logs-Url: https://github.com/pixelsock/directus-mcp/sessions/bda85b3e-6d06-4351-b272-d8b9696b615e Co-authored-by: pixelsock <4932231+pixelsock@users.noreply.github.com>
…nd auth vulnerabilities Agent-Logs-Url: https://github.com/pixelsock/directus-mcp/sessions/bda85b3e-6d06-4351-b272-d8b9696b615e Co-authored-by: pixelsock <4932231+pixelsock@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix MCP server error with Gemini in Antigravity
Add bulk_operations & create_collection tools; fix Gemini JSON Schema compatibility and inspector vulnerabilities
Apr 20, 2026
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Gemini's function-calling API enforces strict JSON Schema validation and rejects any
array-typed parameter missing anitemsfield, causing HTTP 400 errors when using this MCP server via Antigravity. Additionally,@modelcontextprotocol/inspectorwas pinned to a version with two known CVEs.Schema fix — new tools with correct array definitions
Added two missing tools. Every
arrayproperty includes an explicititemsschema:Handlers call the standard Directus REST endpoints (
POST/PATCH/DELETE /items/:collection,POST /collections).Dependency — inspector security upgrade
@modelcontextprotocol/inspector0.10.20.16.6