OAuth 2.0 + PKCE
Рекомендуемый вариант для AI-клиентов и пользовательских приложений. После OAuth-flow клиент получает Bearer access token.
Authorization: Bearer <access_token>
Подключайте NexIP к AI-клиентам через Model Context Protocol: запускайте DNS, WHOIS, SSL, HTTP и другие диагностические инструменты через единый защищённый endpoint.
NexIP поддерживает два сценария подключения MCP.
Рекомендуемый вариант для AI-клиентов и пользовательских приложений. После OAuth-flow клиент получает Bearer access token.
Authorization: Bearer <access_token>
Подходит для серверных и ручных интеграций.
Используйте ключ формата nxp_live_....
Authorization: Bearer nxp_live_...
Remote MCP endpoint:
https://nexip.ru/mcp
MCP-Protocol-Version: 2026-07-28.
Метод JSON-RPC дублируется в заголовке Mcp-Method.
Для tools/call дополнительно указывается Mcp-Name.
Параметр params._meta должен содержать версию протокола и возможности клиента.
server/discover. Для клиентов 2025 года сохраняется
initialize с согласованием версии. Ответы возвращаются в JSON;
отдельный GET/SSE-поток не поддерживается. Размер запроса — до 1 МиБ.
При обращении в поддержку укажите X-Request-ID из ответа.
Проектный ключ ограничен своей организацией и проектом; при HTTP 429
учитывайте Retry-After, если он присутствует.
Пример remote HTTP подключения с API-ключом:
{
"servers": {
"nexip": {
"type": "http",
"url": "https://nexip.ru/mcp",
"headers": {
"Authorization": "Bearer ${input:nexip-api-key}",
"MCP-Protocol-Version": "2026-07-28"
}
}
}
}
curl https://nexip.ru/mcp \
-H "MCP-Protocol-Version: 2026-07-28" \
-H "Mcp-Method: server/discover" \
-H "Accept: application/json, text/event-stream" \
-H "Content-Type: application/json" \
--data '{"jsonrpc":"2.0","id":1,"method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/protocolVersion":"2026-07-28","io.modelcontextprotocol/clientCapabilities":{}}}}'
curl https://nexip.ru/mcp \
-H "MCP-Protocol-Version: 2026-07-28" \
-H "Mcp-Method: tools/list" \
-H "Accept: application/json, text/event-stream" \
-H "Content-Type: application/json" \
--data '{"jsonrpc":"2.0","id":2,"method":"tools/list","params":{"_meta":{"io.modelcontextprotocol/protocolVersion":"2026-07-28","io.modelcontextprotocol/clientCapabilities":{}}}}'
Пример вызова check_dns:
curl https://nexip.ru/mcp \
-H "Authorization: Bearer <TOKEN>" \
-H "MCP-Protocol-Version: 2026-07-28" \
-H "Mcp-Method: tools/call" \
-H "Mcp-Name: check_dns" \
-H "Accept: application/json, text/event-stream" \
-H "Content-Type: application/json" \
--data '{
"jsonrpc":"2.0",
"id":3,
"method":"tools/call",
"params":{
"_meta":{"io.modelcontextprotocol/protocolVersion":"2026-07-28","io.modelcontextprotocol/clientCapabilities":{}},
"name":"check_dns",
"arguments":{"target":"nexip.ru"}
}
}'
Список и схемы инструментов доступны публично через tools/list. Для выполнения tools/call требуется OAuth-токен или API-ключ; анонимный вызов не запускает диагностику. Неверное имя инструмента также не позволяет обойти проверку авторизации.
check_ip
Check an IP address or host using NexIP IP diagnostics. Runs on NexIP servers, uses account quota and stores history. Example: target="1.1.1.1".
check_dns
Read DNS records for a domain using NexIP. Runs on NexIP servers, uses account quota and stores history. Example: target="example.com".
check_whois
Read public WHOIS information for a domain. Runs on NexIP servers, uses account quota and stores history. Example: target="example.com".
check_ssl
Inspect SSL/TLS certificate and connection information. Runs on NexIP servers, uses account quota and stores history. Example: target="example.com".
check_site
Check website availability, HTTP status and response information. Runs on NexIP servers, uses account quota and stores history. Example: target="https://example.com".
check_headers
Inspect HTTP response headers and security-related headers. Runs on NexIP servers, uses account quota and stores history. Example: target="https://example.com".
check_redirects
Follow and inspect an HTTP redirect chain. Runs on NexIP servers, uses account quota and stores history. Example: target="https://example.com".
check_robots
Inspect robots.txt availability and directives. Runs on NexIP servers, uses account quota and stores history. Example: target="https://example.com".
check_sitemap
Validate and inspect an XML sitemap. Runs on NexIP servers, uses account quota and stores history. Example: target="https://example.com/sitemap.xml".
check_meta
Inspect page title, description, canonical, robots and social metadata. Runs on NexIP servers, uses account quota and stores history. Example: target="https://example.com".
render_website_report
Render a NexIP website report card from already obtained tool results. First call check_site, check_dns or check_ssl, then pass only verified fields; never invent statuses. This tool does not perform a network check, persist data, or consume diagnostic quota. Example: target="https://example.com", http_status=200.
get_account_plan
Return the current NexIP account plan available to this MCP connection. Example: arguments={}.
get_api_limits
Return API and MCP-related limits for the current NexIP account. Example: arguments={}.
mcp.use
Доступ к MCP-серверу и служебным MCP-операциям.
tools.run
Разрешение на запуск диагностических инструментов NexIP.
Тарифные ограничения и rate limits продолжают действовать для MCP.