Hub Tools MCP server

Provides HTTP-based access to the MCP Hub database for discovering and searching Model Context Protocol implementations with keyword-based search and detailed information retrieval using UUID identifiers.
Back to servers
Setup instructions
Provider
MCP Hub Team
Release date
May 06, 2025
Stats
1 star

The HTTP MCP Server provides a standardized way to search and discover Model Context Protocols (MCPs) through a modern HTTP interface. It offers JSON-RPC 2.0 endpoints for finding and retrieving detailed information about MCPs registered on MCP Hub.

Server Overview

The MCP Hub server implements the Model Context Protocol over HTTP, providing tools to search for MCPs and retrieve their details. This server only supports HTTP-based MCP connections, as the traditional stdio-based implementation has been deprecated.

Available Tools

The server provides two main tools:

  • search_mcp: Search for MCPs using keywords
  • get_mcp_detail: Retrieve comprehensive information about a specific MCP

Installation Requirements

Prerequisites

You need an API key from MCP Hub to use the HTTP MCP server.

Getting an API Key

  1. Visit https://www.aimcp.info
  2. Sign up or log in to your account
  3. Navigate to the API Keys page
  4. Generate a new API key for your application

Note: API keys have a rate limit of 20 requests per hour.

Configuration

HTTP-based Configuration (Recommended)

Configure your MCP client to connect to the HTTP server:

{
  "mcpServers": {
    "mcp-hub": {
      "url": "https://www.aimcp.info/api/open/mcp",
      "transport": "sse",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Simplified Configuration

For clients supporting simplified configuration:

{
  "mcpServers": {
    "mcp-hub": {
      "url": "https://www.aimcp.info/api/open/mcp",
      "apiKey": "YOUR_API_KEY"
    }
  }
}

Cursor IDE Configuration

For Cursor IDE, add to your MCP configuration:

{
  "mcpServers": {
    "mcp-hub": {
      "url": "https://www.aimcp.info/api/open/mcp",
      "transport": "sse",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Usage

Authentication

All requests require authentication using a Bearer token:

Authorization: Bearer YOUR_API_KEY

Testing the Connection

You can test the server using curl:

# Initialize connection
curl -X POST https://www.aimcp.info/api/open/mcp \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "id": 1, "method": "initialize"}'

# List available tools
curl -X POST https://www.aimcp.info/api/open/mcp \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "id": 2, "method": "tools/list"}'

# Search for MCPs
curl -X POST https://www.aimcp.info/api/open/mcp \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "id": 3, "method": "tools/call", "params": {"name": "search_mcp", "arguments": {"keywords": "blockchain", "limit": 5}}}'

Supported Methods

The server implements these JSON-RPC 2.0 methods:

  • initialize: Establish connection and get server capabilities
  • tools/list: Retrieve available tools
  • tools/call: Execute specific tools with arguments

Using the Tools

Search for MCPs

To search for MCPs using keywords:

{
  "jsonrpc": "2.0", 
  "id": 3, 
  "method": "tools/call", 
  "params": {
    "name": "search_mcp", 
    "arguments": {
      "keywords": "blockchain", 
      "limit": 5
    }
  }
}

Example response:

{
  "success": true,
  "data": [
    {
      "uuid": "550e8400-e29b-41d4-a716-446655440000",
      "name": "Blockchain MCP",
      "brief": "A Model Context Protocol for blockchain data analysis",
      "clicks": 142
    }
  ],
  "count": 1,
  "total_results": 1,
  "keywords": "blockchain"
}

Get MCP Details

To retrieve detailed information about a specific MCP:

{
  "jsonrpc": "2.0", 
  "id": 4, 
  "method": "tools/call", 
  "params": {
    "name": "get_mcp_detail", 
    "arguments": {
      "mcp_id": "550e8400-e29b-41d4-a716-446655440000"
    }
  }
}

Troubleshooting

Common Issues

  1. "0 tools enabled": Ensure your MCP client properly handles the initialize response and capabilities.tools.listChanged flag.

  2. Authentication errors: Verify your API key is valid and included in the Authorization header.

  3. Connection timeouts: Verify that the MCP Hub server is accessible.

  4. CORS errors: Ensure your client includes proper headers and handles preflight OPTIONS requests.

Server Information

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "mcp-hub" '{"url":"https://www.aimcp.info/api/open/mcp","transport":"sse","headers":{"Authorization":"Bearer YOUR_API_KEY"}}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "mcp-hub": {
            "url": "https://www.aimcp.info/api/open/mcp",
            "transport": "sse",
            "headers": {
                "Authorization": "Bearer YOUR_API_KEY"
            }
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Add this to your configuration file:

{
    "mcpServers": {
        "mcp-hub": {
            "url": "https://www.aimcp.info/api/open/mcp",
            "transport": "sse",
            "headers": {
                "Authorization": "Bearer YOUR_API_KEY"
            }
        }
    }
}

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later