Skip to main content
Glama
goluntsov

yandex-search-api

by goluntsov
README.md
# Yandex Cloud Search API MCP Function

Cloud Function tool for AI Studio MCP Hub. It exposes `search_web`, calls
Yandex Cloud Search API v2, decodes `rawData`, and returns compact JSON results.

## Deploy

```bash
cd search-mcp-deploy
export SEARCH_API_FOLDER_ID="<folder-id>"
export SEARCH_API_API_KEY="<service-account-api-key>"
./deploy_search_mcp.sh
```

The service account behind the API key needs `search-api.webSearch.user` on the
folder. By default the function stays private for AI Studio MCP Hub invocation.
Credentials are not stored in this repository; pass them only through
environment variables.

## AI Studio MCP Hub

- Tool Type: `Cloud Functions`
- Server Name: `yandex-search-api`
- Tool Name: `search_web`
- Function: `search-api-mcp`
- Instruction: `Ищи актуальную информацию через Yandex Cloud Search API. На вход принимает query, max_results, search_type, region.`

## Input

```json
{
  "query": "Yandex Cloud Search API",
  "max_results": 3,
  "search_type": "SEARCH_TYPE_RU",
  "region": "225"
}
```