Skip to content

greeting

Purpose

Generate personalized greeting messages in different styles.

Description

The greeting prompt creates friendly, customizable greetings. It demonstrates basic prompt parameterization, showing how prompts can adapt their output based on user-provided arguments.

Parameters

ParameterTypeRequiredDescription
namestringNoName of person to greet (default: "there")
styleenumNoGreeting style: formal, casual, friendly (default: friendly)

Note: The style parameter is case-insensitive. Values like "Formal", "CASUAL", or "friendly" are all accepted.

Using in Claude Code

In Claude Code, MCP prompts appear as slash commands. To use the greeting prompt:

  1. Type /seed:greeting in the chat
  2. Claude Code will show seed:greeting (MCP) as an autocomplete option
  3. Select it to invoke the prompt with default values

Example

/seed:greeting

Note: Claude Code does not display parameter dialogs for MCP prompts. The prompt is invoked with default values (no name, friendly style). Parameters are only available in clients that support them like Claude Desktop.

Note: MCP prompts provide conversation context, not direct output. When you invoke this prompt, the greeting is injected into Claude's conversation history, and Claude responds based on that context.

Limitation: You cannot ask Claude to "use the greeting prompt" conversationally. MCP prompts must be invoked directly via slash commands. See claude-code#11054.

Using in Claude Desktop

In Claude Desktop, MCP prompts can be invoked through the prompt picker:

  1. Click the prompt icon (speech bubble with lines) in the chat input area
  2. Select seed from the server list
  3. Choose greeting from the available prompts
  4. Fill in the parameters in the dialog that appears

Alternatively, some clients support natural language invocation:

"Use the greeting prompt with name Alice and style formal"
"Generate a casual greeting for Bob"

Response Examples

Formal Style

Good day, Alice. How may I assist you today?

Casual Style

Hey Alice! What's up?

Friendly Style (Default)

Hello Alice! How can I help you today?

Style Comparison

AspectFormalCasualFriendly
ToneProfessionalRelaxedWarm
Greeting"Good day""Hey""Hello"
Closing"How may I assist you?""What's up?""How can I help?"
Best ForBusiness, officialFriends, peersGeneral use

Parameter Details

name

Type: string (optional) Default: "there"

The name to include in the greeting.

InputOutput
"Alice""Hello Alice!"
"Dr. Smith""Hello Dr. Smith!"
(omitted)"Hello there!"

style

Type: enum (optional, case-insensitive) Values: "formal" | "casual" | "friendly"Default: "friendly"

The tone of the greeting. Accepts any case variation (e.g., "Formal", "CASUAL").

Response Format

The prompt returns a message in MCP format:

json
{
  "messages": [
    {
      "role": "assistant",
      "content": {
        "type": "text",
        "text": "Hello Alice! How can I help you today?"
      }
    }
  ]
}

The role: "assistant" indicates this message appears as prior assistant output in the conversation context.

Authentication

Required: No

The greeting prompt does not require authentication.

  • user-context - Generate personalized messages using authenticated user data
  • All Prompts - Return to prompts overview

Released under the MIT License.