Prompt Intents in MCP
π§ What are prompts in the context of MCP?β
Prompts in MCP are declarative mappings between natural language triggers and agent-exposed actions.
They allow agents to know what they can be asked β and what each question is expected to activate.
A prompt block is not just an example:
β itβs a signal that says: βI want agents to respond to this intent.β
π§© Where are prompts declared?β
In any .llmfeed.json, typically inside:
{
"prompts": [
{
"intent": "sign-document",
"keywords": ["sign this", "please sign", "legal signature"],
"description": "Trigger digital signature workflow for authenticated user"
}
]
}
β Why prompts matterβ
| Feature | Impact |
|---|---|
intent | Canonical action identifier (agent logic) |
keywords | Allows agents to recognize varied phrasing |
description | For user-facing explanation / UI generation |
Prompts are central for disambiguation, action safety, and self-documentation.
π Security modelβ
Prompts do not execute.
They are mapped to capabilities (or UI) β and depend on the trust of the feed:
- A prompt in an unsigned feed = suggest only
- A prompt in a signed + scoped + certified feed = fully executable
π§ Prompt matching flow (agent side)β
- User input triggers natural-language detection
- Agent compares it to known
keywordsfrom loaded feeds - If match found and trust is sufficient:
- Agent maps to declared
intent - Verifies if capability exists and is permitted
- Proceeds or requests user confirmation
- Agent maps to declared
π Good practiceβ
- Always provide
intent, even if not callable - Use
keywordsin multiple languages if needed - Pair with
capabilities[]in same feed - Group in
mcp-apiif access is gated
π Related feed typesβ
export.llmfeed.jsonβ declares offline promptable actionsmcp-api.llmfeed.jsonβ scoped prompts per keymobile-app.llmfeed.jsonβ vocal prompts that replicate app behavior
π§© Want more?β
- See
/tools/prompts-explained - Live test with
/llmfeedhub/preview