Skip to main content
Glama
kongyo2

Glama MCP Server Search

by kongyo2
README.md
# Glama MCP Server Search
[![smithery badge](https://smithery.ai/badge/@kongyo2/glama-mcp-server-search)](https://smithery.ai/server/@kongyo2/glama-mcp-server-search)

<a href="https://glama.ai/mcp/servers/@kongyo2/Glama-MCP-Server-Search">
  <img width="380" height="200" src="https://glama.ai/mcp/servers/@kongyo2/Glama-MCP-Server-Search/badge" />
</a>

An MCP server for searching and exploring MCP servers from the [Glama MCP directory](https://glama.ai/mcp/servers).

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.

## Features

- **Search MCP Servers**: Search the Glama directory using free text queries
- **Get Server Details**: Retrieve detailed information about specific MCP servers
- **Browse Attributes**: Explore available filtering attributes for MCP servers
- **Pagination Support**: Handle large result sets with cursor-based pagination

## Available Tools

### 1. search_mcp_servers

Search for MCP servers in the Glama directory using free text queries.

**Parameters:**

- `query` (optional): Free text search query (e.g., "database", "weather", "hacker news")
- `first` (optional): Number of results to return (1-100, default: 10)
- `after` (optional): Cursor for pagination

**Example:**

```json
{
  "query": "database",
  "first": 5
}
```

### 2. get_mcp_server_details

Get detailed information about a specific MCP server.

**Parameters:**

- `namespace`: The namespace/organization (e.g., "microsoft", "openai")
- `slug`: The server slug/name (e.g., "playwright-mcp")

**Example:**

```json
{
  "namespace": "microsoft",
  "slug": "playwright-mcp"
}
```

### 3. get_mcp_server_attributes

Get available attributes that can be used to filter MCP servers.

**Parameters:** None

## Usage Examples

### Start the server

```bash
npm run start
```

### Development mode with CLI interaction

```bash
npm run dev
```

### Testing

```bash
npm run test
```

### Linting

Having a good linting setup reduces the friction for other developers to contribute to your project.

```bash
npm run lint
```

This boilerplate uses [Prettier](https://prettier.io/), [ESLint](https://eslint.org/) and [TypeScript ESLint](https://typescript-eslint.io/) to lint the code.

### Formatting

Use `npm run format` to format the code.

```bash
npm run format
```

TDQS

A3.7/5.0

Scored across 3 tools

Disambiguation5/5

Each tool has a clearly distinct purpose with no overlap: get_mcp_server_attributes retrieves filterable attributes, get_mcp_server_details fetches specific server information, and search_mcp_servers performs free-text queries. The descriptions make it impossible to confuse which tool to use for each task.

Naming Consistency5/5

All three tools follow a perfect verb_noun pattern with snake_case: get_mcp_server_attributes, get_mcp_server_details, and search_mcp_servers. The naming is highly predictable and consistent throughout the set.

Tool Count3/5

With only 3 tools, the set feels thin for a search server that might benefit from additional operations like filtering by attributes directly or pagination controls. While the core functions are covered, the count is borderline minimal for the apparent scope.

Completeness4/5

The tools cover the essential search workflow: getting attributes for filtering, searching servers, and retrieving details. A minor gap exists in not having a tool to directly filter servers using those attributes without free-text search, but agents can work around this by combining tools.

Maintenance

ActivityInactive
ResponsivenessNo issues