Skip to main content
Glama
polar3130

cloud-support-mcp

by polar3130
README.md
# Cloud Support MCP Server

MCP server for Google Cloud Support API v2.

Provides tools for managing Google Cloud support cases through AI assistants.
Supports case creation, updates, comments, and search functionality.

## Installation

```bash
npm install
npm run build
```

## Authentication

Set up Google Cloud authentication:

```bash
# Service account
export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account-key.json

# Or use gcloud
gcloud auth application-default login
```

## Usage

```bash
npm start
```

## Tools

- `list_support_cases` - List support cases
- `get_support_case` - Get case details
- `search_support_cases` - Search cases
- `search_case_classifications` - Search classifications
- `create_support_case` - Create new case
- `create_case_comment` - Add comment
- `update_support_case` - Update case
- `close_support_case` - Close case
- `get_case_comments` - Get comments
- `list_case_attachments` - List attachments

## Usage Examples

### List Cases

```json
{
  "name": "list_support_cases",
  "arguments": {
    "parent": "projects/your-project-id",
    "pageSize": 10
  }
}
```

### Create Case

```json
{
  "name": "create_support_case",
  "arguments": {
    "parent": "projects/your-project-id",
    "displayName": "Issue Summary",
    "description": "Detailed description",
    "classification": { "id": "technical-issue" }
  }
}
```

### Search Case Classifications

Search for appropriate case classifications using display name patterns:

```json
{
  "name": "search_case_classifications",
  "arguments": {
    "query": "displayName:*BigQuery*",
    "pageSize": 20
  }
}
```

**Query Format Examples:**

- `"displayName:*Billing*"` - Find billing-related classifications
- `"displayName:*Compute*"` - Find Compute Engine classifications
- `"displayName:*Storage*"` - Find storage-related classifications

**Note**: Use asterisks (\*) to wrap search terms in the displayName field. Direct text searches without the displayName: prefix may not work as expected.

## Development

```bash
npm run dev         # Development mode
npm test            # Run tests
npm run lint        # Code linting
npm run type-check  # TypeScript validation
```

## Requirements

- Node.js 18+
- Google Cloud Support API access
- Appropriate IAM permissions

## Author

polar3130

## License

MIT

TDQS

A3.7/5.0

Scored across 10 tools

Disambiguation5/5

Each tool targets a distinct operation on support cases: listing, getting, searching, creating, updating, closing, comments, attachments, and classifications. No two tools have overlapping purposes; even list vs search are clearly differentiated by description.

Naming Consistency4/5

Most tools follow a verb_noun pattern, but there is inconsistency in whether the noun is 'support_case' or 'case' (e.g., list_support_cases vs get_case_comments). This is a minor deviation that does not create confusion.

Tool Count5/5

10 tools is a well-scoped count for a support case management server. Each tool covers a necessary function without redundancy or bloat, making the set easy to navigate.

Completeness5/5

The tool set covers the full lifecycle of support cases: create, read (list/get/search), update, close, comment, and list attachments. It also includes classification search, which is needed for creation. There are no obvious dead ends or missing critical operations.

Maintenance

ActivityInactive
ResponsivenessNo issues