
superagents-lab/search1api-mcp
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
superagents-lab/search1api-mcp — это кандидат на MCP-сервер, импортированный из https://github.com/superagents-lab/search1api-mcp.
Обзор
superagents-lab/search1api-mcp — это кандидат на MCP-сервер, импортированный из https://github.com/superagents-lab/search1api-mcp.
Обзор (машинный перевод)
中文文档
Официальный MCP-сервер для Search1API — веб-поиск, новости, поиск страниц, поиск карт сайта и трендовые темы в одном API.
Аутентификация
- Клиенты, осведомляющие OAuth, могут напрямую подключаться к URL удалённого MCP, затем войти и одобрить доступ в браузере.
- Существующие интеграции могут продолжать использовать API-ключ из панели управления Search1API.
- Каждый запрос MCP — включая обнаружение инструментов (
initialize,tools/list) — требует учетных данных. Неаутентифицированные запросы вызывают вызов OAuth, именно так клиенты запускают вход; проверка перед подключением осуществляется с помощью статической серверной карты.
Быстрый старт (Remote MCP)
Установка не требуется. Настройте свой MCP-клиент с удалённым URL. Используйте OAuth, когда клиент это поддерживает, или укажите API-ключ.
Аутентификация
Поддерживаются три метода — используйте тот, который поддерживает ваш клиент:
| Метод | Формат |
|---|---|
| OAuth 2.1 | Подключитесь к https://mcp.search1api.com/mcp без ключа и следуйте процессу входа клиента |
| Заголовок авторизации | Authorization: Bearer YOUR_SEARCH1API_KEY |
| Параметр запроса по URL (наследие) | https://mcp.search1api.com/mcp?apiKey=YOUR_SEARCH1API_KEY |
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
Search1API MCP Server
The official MCP server for Search1API — web search, news, page retrieval, sitemap discovery, and trending topics in one API.
Authentication
- OAuth-aware clients can connect to the Remote MCP URL directly, then sign in and approve access in the browser.
- Existing integrations can continue to use an API key from the Search1API dashboard.
- Every MCP request — including tool discovery (
initialize,tools/list) — requires a credential. Unauthenticated requests draw the OAuth challenge, which is how clients trigger sign-in; pre-connect inspection is served by the static server card instead.
Quick Start (Remote MCP)
No installation required. Configure your MCP client with the remote URL. Use OAuth when the client supports it, or provide an API key.
Authentication
Three methods are supported — use whichever your client supports:
| Method | Format |
|---|---|
| OAuth 2.1 | Connect to https://mcp.search1api.com/mcp without a key and follow the client sign-in flow |
| Authorization Header | Authorization: Bearer YOUR_SEARCH1API_KEY |
| URL Query Parameter (legacy) | https://mcp.search1api.com/mcp?apiKey=YOUR_SEARCH1API_KEY |
Prefer OAuth or the Authorization header. Query-parameter credentials can be exposed in URLs, logs, and shell history.
Optional search and news UI
Remote MCP exposes render_results at the standard endpoint above. Data tools such as search, news and ask return results without automatically showing cards. When a source list helps, the model can select or combine existing results and pass them to render_results. It returns source cards in MCP Apps clients and a complete readable text list elsewhere. Rendering does not repeat a search or consume search credits; no UI URL parameter is required.
Both HTTP and stdio advertise the square Search1API logo through standard serverInfo.icons metadata. The 512×512 PNG is served publicly at https://mcp.search1api.com/assets/icon-square.png, without authentication or redirects. The server card and registry manifest use the same icon. Clients choose whether to display it; this does not replace an icon stored separately by a plugin directory.
See the rendering contract for arguments, limits and fallback behavior. The npm package includes this renderer from version 0.8.0. Update existing installations and restart the MCP connection; npx -y search1api-mcp@latest starts the latest published package.
Установка
npx -y search1api-mcpКонфигурация
{
"mcpServers": {
"search1api": {
"url": "https://mcp.search1api.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_SEARCH1API_KEY"
}
}
}
}