mcp

Provides access to Google's public developer documentation.

我该使用它吗

质量与安全性

A
描述质量
100%
模式完整度
100%
命名质量
93%
投毒风险
80%
权限匹配度
100%
协议合规性
100%

发现(2)

  • HIGHTool poisoning patterns detected
  • LOWTool description contains role marker that could confuse chat models在 search_documents 中

基于对工具定义和协议合规性的自动分析。

上下文开销

~1,352token 数(工具定义)
~3.6 KB典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 1.06%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "mcp": {
      "url": "https://developerknowledge.googleapis.com/mcp"
    }
  }
}

远程端点

https://developerknowledge.googleapis.com/mcpstreamable-http

它能做什么

工具清单

工具(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.

输入模式

{
  "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."
}

输出模式

{
  "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.

输入模式

{
  "type": "object",
  "properties": {
    "query": {
      "description": "Required. The query to answer.",
      "type": "string"
    }
  },
  "required": [
    "query"
  ],
  "description": "Request message for AnswerQuery."
}

输出模式

{
  "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.

输入模式

{
  "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`."
}

输出模式

{
  "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`."
}

社区

评价此服务器

证据

最近观测

已验证未记录版本3 个工具
已验证未记录版本3 个工具