Skip to main content
Glama
README.md
# Drake Lyrics MCP

A small first MCP server + MCP App: type a situation, get Drake-style bars, inspect everything in MCPJam.

## What this teaches

| Piece | What it is |
| --- | --- |
| **Tool** `write_drake_bars` | Model-callable function with a Zod input schema |
| **Resource** `drake://style-guide` | Readable static data (not a function) |
| **Prompt** `drake_mode` | Reusable message template |
| **MCP App UI** | HTML resource linked from the tool via `_meta.ui.resourceUri` |
| **STDIO transport** | How MCPJam spawns this process and speaks JSON-RPC |

## Setup

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

## Run the server (STDIO)

```bash
npm start
```

The process waits on stdin/stdout — that's expected. MCPJam (or another host) launches it for you.

## Inspect in MCPJam

```bash
npx @mcpjam/inspector@latest
```

1. Open **Servers** and add a STDIO server:
   - **Command:** `npx`
   - **Args:** `tsx server.ts`
   - **CWD:** this project folder (`drake-mcp`)
2. Connect, then open **Tools** and run `write_drake_bars` with a situation like `my Figma file corrupted before critique`.
3. Check **Resources** → `drake://style-guide` and **Prompts** → `drake_mode`.
4. In the **Playground**, call the tool again to see the widget + JSON-RPC log.

## Dev (rebuild UI on change)

```bash
npm run dev
```

TDQS

A4.2/5.0

Scored across 1 tool

Disambiguation5/5

Only one tool exists, so there is no possibility of confusion. The purpose of write_drake_bars is clearly described and distinct.

Naming Consistency5/5

With a single tool, the naming is trivially consistent. The name write_drake_bars follows a clear verb_noun pattern and accurately conveys functionality.

Tool Count4/5

While the server has only one tool, the scope is extremely narrow (generating Drake-style lyrics). The single tool fully addresses this purpose, though the count is slightly below the typical range.

Completeness5/5

For its stated domain, the tool fully covers the only required operation. There are no obvious gaps in functionality for generating Drake-style lyrics from a topic.

Maintenance

ActivitySlowing
ResponsivenessNo issues