mcp
Provides access to Google's public developer documentation.
¿Debería usar esto?
Calidad y seguridad
Hallazgos (2)
- HIGH
- LOWen search_documents
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"mcp": {
"url": "https://developerknowledge.googleapis.com/mcp"
}
}
}Puntos de conexión remotos
https://developerknowledge.googleapis.com/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (3)
🟢search_documents(query)
Use this tool to find documentation about Google developer products. The documents contain official APIs, code snippets, release notes, best practices, guides, debugging info, and more. It covers the following products and domains: * ADK: adk.dev * Android: developer.android.com * Apigee: docs.apigee.com * Chrome: developer.chrome.com * Dart: dart.dev * Firebase: firebase.google.com * Flutter: docs.flutter.dev * Fuchsia: fuchsia.dev * Gemini CLI: geminicli.com * Genkit: genkit.dev * Go: go.dev * Google AI: ai.google.dev * Google Antigravity: antigravity.google * Google Cloud: cloud.google.com & docs.cloud.google.com * Google Developers, Ads, Search, Google Maps, Youtube: developers.google.com * Google Home: developers.home.google.com * Google Maps Platform: mapsplatform.google.com * TensorFlow: www.tensorflow.org * Web: web.dev This tool returns chunks of text, names, and URLs for matching documents. If the returned chunks are not detailed enough to answer the user's question, use `get_documents` with the `parent` from this tool's output to retrieve the full document content.
Esquema de entrada
{
"type": "object",
"properties": {
"query": {
"description": "Required. The raw query string provided by the user, such as \"How to create a Cloud Storage bucket?\".",
"type": "string"
}
},
"required": [
"query"
],
"description": "Request schema for `search_documents`. Use the `query` field to search for related Google developer documentation."
}Esquema de salida
{
"type": "object",
"properties": {
"results": {
"description": "The search results for the given query. Each DocumentChunk in this list contains a snippet of content relevant to the search query. Use the `DocumentChunk.parent` field of each result with `get_documents` to retrieve the full document content.",
"items": {
"$ref": "#/$defs/DocumentChunk"
},
"type": "array"
}
},
"$defs": {
"DocumentChunk": {
"description": "A DocumentChunk represents a piece of content from a Document in the DeveloperKnowledge corpus. To fetch the entire document content, pass the `parent` to `get_documents`.",
"properties": {
"content": {
"description": "Output only. The content of the document chunk.",
"readOnly": true,
"type": "string"
},
"id": {
"description": "Output only. The ID of this chunk within the document. The chunk ID is unique within a document, but not globally unique across documents. The chunk ID is not stable and may change over time.",
"readOnly": true,
"type": "string"
},
"parent": {
"description": "Output only. The resource name of the document this chunk is from. Format: `documents/{uri_without_scheme}` Example: `documents/docs.cloud.google.com/storage/docs/creating-buckets`",
"readOnly": true,
"type": "string"
}
},
"type": "object"
}
},
"description": "Response schema for `search_documents`."
}🟢answer_query(query)
Use answer_query to get a grounded answer to a query about Google developer products. This tool has limited quota. This tool will synthesize information from the corpus to generate an answer to the query. answer_query grounds answers using the same corpus as search_documents. This tool returns the generated answer_text and a list of document names (references) used to generate the answer. Use get_documents with the document names to fetch the entire document content if needed. If you get a 429 out of quota error, use search_documents instead.
Esquema de entrada
{
"type": "object",
"properties": {
"query": {
"description": "Required. The query to answer.",
"type": "string"
}
},
"required": [
"query"
],
"description": "Request message for AnswerQuery."
}Esquema de salida
{
"type": "object",
"properties": {
"answerText": {
"description": "The answer to the query.",
"type": "string"
},
"references": {
"description": "Output only. The resource names of the documents used to generate the answer.",
"items": {
"type": "string"
},
"readOnly": true,
"type": "array"
}
},
"description": "Response message for AnswerQuery."
}🟢get_documents(names)
Use this tool to retrieve the full content of a single document or up to 20 documents in a single call. The document names should be obtained from the `parent` field of results from a call to the `search_documents` tool. Set the `names` parameter to a list of document names.
Esquema de entrada
{
"type": "object",
"properties": {
"names": {
"description": "Required. The names of the documents to retrieve, as returned by `search_documents`. A maximum of 20 documents can be retrieved in one call. The documents are returned in the same order as the `names` in the request. Format: `documents/{uri_without_scheme}` Example: `documents/docs.cloud.google.com/storage/docs/creating-buckets`",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"names"
],
"description": "Request schema for `get_documents`."
}Esquema de salida
{
"type": "object",
"properties": {
"documents": {
"description": "Documents requested.",
"items": {
"$ref": "#/$defs/Document"
},
"type": "array"
}
},
"$defs": {
"Document": {
"description": "A Document represents a piece of content from the Developer Knowledge corpus.",
"properties": {
"content": {
"description": "Output only. The content of the document in Markdown format.",
"readOnly": true,
"type": "string"
},
"description": {
"description": "Output only. A description of the document.",
"readOnly": true,
"type": "string"
},
"name": {
"description": "Identifier. The resource name of the document. Format: `documents/{uri_without_scheme}` Example: `documents/docs.cloud.google.com/storage/docs/creating-buckets`",
"type": "string",
"x-google-identifier": true
},
"title": {
"description": "Output only. The title of the document.",
"readOnly": true,
"type": "string"
},
"uri": {
"description": "Output only. The URI of the content, such as `https://cloud.google.com/storage/docs/creating-buckets`.",
"readOnly": true,
"type": "string"
}
},
"type": "object"
}
},
"description": "Response schema for `get_documents`."
}Comunidad
Evidencia