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
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | No | Name of person to greet (default: "there") |
| style | enum | No | Greeting style: formal, casual, friendly (default: friendly) |
Note: The
styleparameter 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:
- Type
/seed:greetingin the chat - Claude Code will show
seed:greeting (MCP)as an autocomplete option - Select it to invoke the prompt with default values
Example
/seed:greetingNote: 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:
- Click the prompt icon (speech bubble with lines) in the chat input area
- Select seed from the server list
- Choose greeting from the available prompts
- 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
| Aspect | Formal | Casual | Friendly |
|---|---|---|---|
| Tone | Professional | Relaxed | Warm |
| Greeting | "Good day" | "Hey" | "Hello" |
| Closing | "How may I assist you?" | "What's up?" | "How can I help?" |
| Best For | Business, official | Friends, peers | General use |
Parameter Details
name
Type: string (optional) Default: "there"
The name to include in the greeting.
| Input | Output |
|---|---|
"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:
{
"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.
Related
- user-context - Generate personalized messages using authenticated user data
- All Prompts - Return to prompts overview