> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# MCP Prompt Argument • Rust AI Agent SDK

> MCPPromptArgument: An MCP prompt argument.

# MCPPromptArgument

> Defined in the [**MCP**](../modules/mcp) module.

<Badge color="orange">Rust AI Agent SDK</Badge>

An MCP prompt argument.

## Fields

| Name          | Type                   | Description                      |
| ------------- | ---------------------- | -------------------------------- |
| `name`        | `String`               | Argument name                    |
| `description` | `Option&lt;String&gt;` | Argument description             |
| `required`    | `bool`                 | Whether the argument is required |

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-rust/praisonai/src/mcp/mod.rs#L399">
  `praisonai/src/mcp/mod.rs` at line 399
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Rust MCP" icon="plug" href="/docs/rust/mcp" />

  <Card title="Rust Resources" icon="folder" href="/docs/rust/resources" />

  <Card title="Rust Prompts" icon="message" href="/docs/rust/prompts" />

  <Card title="Rust Templates" icon="file-code" href="/docs/rust/templates" />
</CardGroup>
