diff --git a/README.md b/README.md index aa393fd..f58a007 100644 --- a/README.md +++ b/README.md @@ -57,6 +57,29 @@ npx ctx7 skills install /google-gemini/gemini-skills npx ctx7 skills install /google-gemini/gemini-skills vertex-ai-api-dev ``` +## Gemini API docs MCP + +A public Model Context Protocol (MCP) server for the Gemini API is available at +`https://gemini-api-docs-mcp.dev`. Connecting your coding agent to this server ensures that +all queries have access to the latest APIs, code updates, and optimal configuration examples. + +Run the following command in your agent's terminal or project root to install +the server: + + npx add-mcp "https://gemini-api-docs-mcp.dev" + +This server adds a `search_docs` tool that your agent can use to +retrieve real-time API definitions and integration patterns from the official +Gemini API documentation. + +Note that the `gemini-api-dev` skill works with or without the MCP server, so +we recommend installing them both. + +## More info + +You can find additional information about setting up your coding assistant with +Gemini API MCP and Skills in [the docs](https://ai.google.dev/gemini-api/docs/coding-agents). + ## Disclaimer This is not an officially supported Google product. This project is not diff --git a/skills/gemini-api-dev/SKILL.md b/skills/gemini-api-dev/SKILL.md index 242a16f..992e6a2 100644 --- a/skills/gemini-api-dev/SKILL.md +++ b/skills/gemini-api-dev/SKILL.md @@ -128,9 +128,9 @@ public class GenerateTextFromTextInput { ### When MCP is Installed (Preferred) -If the **`search_documentation`** tool (from the Google MCP server) is available, use it as your **only** documentation source: +If the **`search_docs`** tool (from the Google MCP server) is available, use it as your **only** documentation source: -1. Call `search_documentation` with your query +1. Call `search_docs` with your query 2. Read the returned documentation 2. **Trust MCP results** as source of truth for API details — they are always up-to-date. diff --git a/skills/gemini-interactions-api/SKILL.md b/skills/gemini-interactions-api/SKILL.md index 3d32eb9..c9bb8e6 100644 --- a/skills/gemini-interactions-api/SKILL.md +++ b/skills/gemini-interactions-api/SKILL.md @@ -277,9 +277,9 @@ An `Interaction` response contains `outputs` — an array of typed content block ### When MCP is Installed (Preferred) -If the **`search_documentation`** tool (from the Google MCP server) is available, use it as your **only** documentation source: +If the **`search_docs`** tool (from the Google MCP server) is available, use it as your **only** documentation source: -1. Call `search_documentation` with your query +1. Call `search_docs` with your query 2. Read the returned documentation 2. **Trust MCP results** as source of truth for API details — they are always up-to-date. @@ -293,4 +293,4 @@ If no MCP documentation tools are available, fetch from the official docs: - [Interactions Full Documentation](https://ai.google.dev/gemini-api/docs/interactions.md.txt) - [Deep Research Full Documentation](https://ai.google.dev/gemini-api/docs/deep-research.md.txt) -These pages cover function calling, built-in tools (Google Search, code execution, URL context, file search, computer use), remote MCP, structured output, thinking configuration, working with files, multimodal understanding and generation, streaming events, and more. \ No newline at end of file +These pages cover function calling, built-in tools (Google Search, code execution, URL context, file search, computer use), remote MCP, structured output, thinking configuration, working with files, multimodal understanding and generation, streaming events, and more. diff --git a/skills/gemini-live-api-dev/SKILL.md b/skills/gemini-live-api-dev/SKILL.md index 60733d2..73c95c6 100644 --- a/skills/gemini-live-api-dev/SKILL.md +++ b/skills/gemini-live-api-dev/SKILL.md @@ -248,9 +248,9 @@ When migrating from `gemini-2.5-flash-native-audio-preview-12-2025` to `gemini-3 ### When MCP is Installed (Preferred) -If the **`search_documentation`** tool (from the Google MCP server) is available, use it as your **only** documentation source: +If the **`search_docs`** tool (from the Google MCP server) is available, use it as your **only** documentation source: -1. Call `search_documentation` with your query +1. Call `search_docs` with your query 2. Read the returned documentation 3. **Trust MCP results** as source of truth for API details — they are always up-to-date. @@ -282,4 +282,4 @@ This index contains links to all documentation pages in `.md.txt` format. Use we ## Supported Languages -The Live API supports 70 languages including: English, Spanish, French, German, Italian, Portuguese, Chinese, Japanese, Korean, Hindi, Arabic, Russian, and many more. Native audio models automatically detect and switch languages. \ No newline at end of file +The Live API supports 70 languages including: English, Spanish, French, German, Italian, Portuguese, Chinese, Japanese, Korean, Hindi, Arabic, Russian, and many more. Native audio models automatically detect and switch languages.