MCP Hub Tools
mcphub_tools MCP-сервер
Инструменты mcp, работающие на aimcp, найдите mcps, что хотите. Этот сервер позволяет искать MCP Hub для доступных MCP.
Открытый протокол
Этот сервер реализует протокол контекста модели (MCP) . Он действует как сервер MCP, к которому могут подключаться клиенты MCP (например, совместимые помощники ИИ или инструменты разработки).
Related MCP server: Glama MCP Server Search
Введение
mcphub_tools — это сервер MCP, предназначенный для взаимодействия с MCP Hub . Его основная функция — предоставить инструмент, позволяющий пользователям искать MCP (Model Context Protocols/Servers), зарегистрированные на концентраторе, на основе ключевых слов.
Инструменты
Этот сервер предоставляет следующий инструмент:
search_mcp_hub
Описание: Поиск MCP в MCP Hub.
Схема ввода:
{ "type": "object", "properties": { "keywords": { "type": "string", "description": "Keywords to search for MCPs" } }, "required": ["keywords"] }Вывод: возвращает строку JSON, содержащую результаты поиска из API MCP Hub.
get_mcp_info
Описание: Получает подробную информацию о конкретном MCP.
Схема ввода:
{ "type": "object", "properties": { "id": { "type": "string", "description": "MCP identifier (UUID)" } }, "required": ["id"] }Вывод: возвращает строку JSON, содержащую подробную информацию об указанном MCP.
Варианты реализации
MCP Hub поддерживает два различных способа реализации MCP-серверов:
1. Стандартный сервер MCP на базе stdio
Это традиционная реализация, в которой сервер MCP взаимодействует с клиентами через стандартный ввод/вывод (stdio). Этот подход идеально подходит для автономных инструментов командной строки, которые могут быть интегрированы с клиентами MCP, такими как Claude Desktop.
Самый простой способ использовать реализацию на основе stdio — через наш опубликованный пакет:
# Using npx (recommended for most users)
npx @aimcp/tools
# Using uvx (faster startup)
uvx @aimcp/tools2. MCP-сервер на базе HTTP
MCP Hub также предоставляет реализацию на основе HTTP, которая позволяет помощникам AI и другим инструментам подключаться к серверу MCP по HTTP. Это реализовано в API MCP Hub в /api/open/v1/streamable .
Конечная точка HTTP доступна по адресу:
https://mcp.aimcp.info/api/open/v1/streamableИспользование
Предпосылки
Для реализации на основе stdio установлены Node.js и npm (или pnpm/yarn).
API-ключ от MCP Hub ( https://www.aimcp.info ).
Как получить API-ключ
Перейдите по ссылке https://www.aimcp.info .
Зарегистрируйтесь или войдите в систему.
Перейдите в свой профиль или настройки учетной записи.
Найдите возможность сгенерировать или получить свой ключ API.
Или вы можете зайти сюда , чтобы сгенерировать ключ API. ПРИМЕЧАНИЕ: Ключ API имеет ограничение по частоте запросов — 20 в час.
Аутентификация
API MCP требует аутентификации с действительным ключом API. Этот ключ должен быть предоставлен через:
Для реализации на основе stdio: переменная среды
MCP_HUB_API_KEY.Для реализации на основе HTTP: заголовок
Authorizationкак токен носителя.
Authorization: Bearer YOUR_API_KEYИнтеграция с помощниками на основе искусственного интеллекта и клиентами MCP
Конфигурация рабочего стола Клода
Чтобы использовать MCP Hub с Claude Desktop:
Найдите файл конфигурации Claude Desktop:
Windows:
%APPDATA%\claude\config.jsonmacOS:
~/Library/Application Support/claude/config.jsonили~/.config/claude/config.jsonLinux:
~/.config/claude/config.json
Добавьте следующую конфигурацию:
{
"mcpServers": {
"mcp-hub": {
"command": "npx",
"args": ["@aimcp/tools"],
"environment": {
"MCP_HUB_API_KEY": "YOUR_API_KEY"
}
}
}
}Перезапустите Claude Desktop, чтобы изменения вступили в силу.
В своем разговоре вы можете получить доступ к инструментам MCP Hub, набрав «@mcp-hub».
Cline и другие инструменты CLI
Для инструментов на основе командной строки, таких как Cline:
Создайте файл конфигурации с именем
servers.jsonв каталоге вашего проекта:
{
"servers": [
{
"name": "mcp-hub-tools",
"command": ["npx", "@aimcp/tools"],
"environment": {
"MCP_HUB_API_KEY": "YOUR_API_KEY"
}
}
]
}Запустите инструмент, используя следующую конфигурацию:
cline --mcp-servers-config ./servers.jsonДля инструментов, поддерживающих удаленные серверы MCP
Некоторые новые клиенты MCP поддерживают прямые HTTP-соединения. Настройте их с помощью:
{
"mcpServers": {
"mcp-hub-http": {
"url": "https://mcp.aimcp.info/api/open/v1/streamable",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}Для инструментов, использующих файловую конфигурацию (курсор и т. д.)
Создайте файл конфигурации:
{
"mcpServers": {
"mcp-hub": {
"command": "npx",
"args": ["@aimcp/tools"],
"environment": {
"MCP_HUB_API_KEY": "YOUR_API_KEY"
}
}
}
}Укажите этот файл в настройках вашего инструмента или запустите его с соответствующим параметром конфигурации.
Запуск вручную
Вы также можете запустить сервер на основе stdio вручную для тестирования (убедитесь, что в вашей среде установлен MCP_HUB_API_KEY ):
export MCP_HUB_API_KEY="YOUR_API_KEY_HERE"
npx @aimcp/toolsAPI-интерфейс
Этот сервер взаимодействует со следующей конечной точкой API MCP Hub:
Конечная точка:
GET https://www.aimcp.info/api/open/v1/searchАутентификация: требуется токен Bearer в заголовке
Authorizationс использованиемMCP_HUB_API_KEY.Параметр запроса:
keywords(строка)
Использование API MCP на основе HTTP
MCP Hub предоставляет HTTP-сервер MCP в /api/open/v1/streamable , который реализует протокол контекста модели. Это позволяет помощникам и инструментам ИИ искать MCP и напрямую получать информацию MCP.
Этапы подключения
Сначала установите соединение, чтобы получить идентификатор сеанса:
GET /api/open/v1/streamable
Authorization: Bearer YOUR_API_KEYОтвет:
{
"success": true,
"sessionId": "194830ab-eb0b-4d17-a574-af96705276c2",
"message": "Connection established. Use this sessionId for subsequent calls."
}Вызовите инструмент с идентификатором сеанса:
POST /api/open/v1/streamable?sessionId=194830ab-eb0b-4d17-a574-af96705276c2
Content-Type: application/json
Authorization: Bearer YOUR_API_KEY
{
"jsonrpc": "2.0",
"method": "callTool",
"params": {
"name": "search_mcp_hub",
"arguments": {
"keywords": "example"
}
},
"id": "call-1"
}Разработка и внедрение
Разработка
Зависимости установки:
pnpm installСборка:
pnpm run build(компилирует TypeScript в JavaScript вbuild/)Режим наблюдения:
pnpm run watch(автоматически перекомпилирует при изменениях)Тестирование с помощью Inspector:
pnpm run inspector(запускает сервер с помощью инструмента MCP Inspector)
Создание собственного сервера MCP на базе stdio
Если вы хотите создать свой собственный сервер MCP на базе stdio, выполните следующие действия:
Настройте свой проект:
mkdir my-mcp-server cd my-mcp-server npm init -y npm install @modelcontextprotocol/sdkСоздайте свою реализацию сервера:
// index.ts
import { Server } from '@modelcontextprotocol/sdk/server';
import {
CallToolRequestSchema,
ListToolsRequestSchema,
McpError,
ErrorCode
} from '@modelcontextprotocol/sdk/types';
import { StdioTransport } from '@modelcontextprotocol/sdk/transports/stdio';
// Create an MCP server instance
const server = new Server(
{
name: "my-mcp-server",
version: "1.0.0"
},
{
capabilities: {
tools: {},
}
}
);
// Set up tool handlers
server.setRequestHandler(ListToolsRequestSchema, async () => ({
tools: [
{
name: 'my_tool',
description: 'Description of my tool',
inputSchema: {
type: 'object',
properties: {
param1: {
type: 'string',
description: 'Description of param1',
},
},
required: ['param1'],
},
},
],
}));
server.setRequestHandler(CallToolRequestSchema, async (request) => {
// Extract tool name and arguments
const toolName = request.params.name;
const args = request.params.arguments;
if (toolName === 'my_tool') {
// Validate arguments
if (typeof args !== 'object' || args === null || typeof args.param1 !== 'string') {
throw new McpError(
ErrorCode.InvalidParams,
'Invalid arguments. Requires "param1" (string).'
);
}
try {
// Implement your tool logic here
const result = `Processed: ${args.param1}`;
return {
content: [
{
type: 'text',
text: result,
},
],
};
} catch (error) {
return {
content: [
{
type: 'text',
text: `Error: ${error instanceof Error ? error.message : String(error)}`,
},
],
isError: true,
};
}
} else {
throw new McpError(
ErrorCode.MethodNotFound,
`Unknown tool: ${toolName}`
);
}
});
// Connect the server to stdin/stdout
const transport = new StdioTransport();
server.connect(transport).catch(console.error);Скомпилируйте и запустите свой сервер:
npx tsc node dist/index.jsПроверьте свой сервер с помощью инструмента MCP Inspector:
npx @modelcontextprotocol/inspector
Развертывание
Убедитесь, что сервер собран (
pnpm run build).Каталог
buildсодержит необходимые файлы JavaScript.Сервер можно запустить с помощью
node build/index.jsили командыmcphub_tools, если пакет установлен соответствующим образом (например, глобально или связан).Настройте клиент/менеджер MCP так, чтобы он указывал на исполняемый файл сервера, и укажите переменную среды
MCP_HUB_API_KEY.
Вы также можете опубликовать свой сервер MCP в npm, чтобы другие могли установить и использовать его.
Available Tools
1 toolsearch_mcp_hubC
Search for MCPs on the MCP Hub
| Name | Required | Description | Default |
|---|---|---|---|
| keywords | Yes | Keywords to search for MCPs |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It states the tool's function but doesn't describe how it behaves: no information on search scope (e.g., partial/full matches), result format, pagination, rate limits, or error handling. This leaves significant gaps for a search operation.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence with zero wasted words. It's appropriately sized for a simple search tool and front-loads the core purpose immediately.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a search tool with no annotations and no output schema, the description is incomplete. It doesn't explain what the search returns (e.g., list of MCPs with details), how results are structured, or any behavioral traits like sorting or filtering. This leaves the agent guessing about the tool's full context.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 100% description coverage, with the 'keywords' parameter fully documented in the schema. The description adds no additional meaning beyond what the schema provides, such as search syntax examples or keyword formatting rules, so it meets the baseline for high schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Search for MCPs') and the target resource ('on the MCP Hub'), providing a specific verb+resource combination. However, with no sibling tools mentioned, there's no opportunity to differentiate from alternatives, preventing a perfect score.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus other methods or tools. It doesn't mention prerequisites, context for searching, or any limitations on its applicability, leaving the agent with minimal usage direction.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
1 tool update
v1.0.0- First observed
search_mcp_hub
TDQS
Scored across 1 tool
With only one tool, there is no possibility of ambiguity or overlap between tools, as there are no other tools to confuse it with. The tool's purpose is clearly defined and distinct by default.
The single tool name follows a consistent verb_noun pattern (search_mcp_hub), and with only one tool, there is no inconsistency to evaluate. The naming is clear and predictable.
One tool is too few for a server named 'MCP Hub Tools', which suggests a broader scope for managing or interacting with MCPs on the hub. A single search tool feels thin and incomplete for this apparent purpose.
The tool surface is severely incomplete for the inferred domain of MCP hub management. With only a search tool, there are obvious gaps such as installing, listing, updating, or removing MCPs, which are likely needed for full functionality.
Maintenance
Related MCP Connectors
Search and browse every MCP server in the Model Context Protocol registry.
Publish and discover MCP servers via the official MCP Registry. Powered by HAPI MCP server.
Search the public universe of MCP servers. This data comes from the Official MCP Registry.
Search the official MCP registry: 17,000+ servers with trust grades, stars, tools, install config.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn intelligent server that helps discover and research MCP servers using the Exa AI search engine, enabling users to find appropriate Model Context Protocol servers for specific requirements.3-
- AlicenseAqualityDmaintenanceAn MCP server for searching and exploring MCP servers from the Glama MCP directory. This server provides tools to search for MCP servers, get detailed information about specific servers, and explore available server attributes using the Glama MCP API.33MIT
- AlicenseNot gradedqualityDmaintenanceEnables searching and retrieving detailed information about MCP servers from the official MCP registry. Provides tools to list servers with filtering options and get comprehensive details about specific servers.49 npm3MIT
- AlicenseAqualityCmaintenanceAn MCP server designed for interacting with the Model Context Protocol Registry API to discover and retrieve information about available MCP servers. It provides tools to search, list, and view detailed configurations and version history for servers within the registry.4MIT