> ## 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 Tool Result • TypeScript AI Agent SDK

> MCPToolResult: TypeScript MCPToolResult class

# MCPToolResult

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

<Badge color="green">TypeScript AI Agent</Badge>

TypeScript MCPToolResult class

```mermaid theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
%%{init: {'theme': 'base', 'themeVariables': { 'primaryColor': '#8B0000', 'primaryTextColor': '#fff', 'primaryBorderColor': '#710101', 'lineColor': '#189AB4', 'secondaryColor': '#189AB4', 'tertiaryColor': '#fff' }}}%%

graph LR
    agent["Agent"] -- "uses" --> tool["Tool: MCPToolResult"]
    tool -- "returns" --> result["Result"]
    style tool fill:#189AB4,color:#fff
    style agent fill:#8B0000,color:#fff
    style result fill:#8B0000,color:#fff
```

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-ts/src/mcp/index.ts#L97">
  `src/mcp/index.ts` at line 97
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="JS Tools" icon="wrench" href="/docs/js/tools" />

  <Card title="JS Tools CLI" icon="terminal" href="/docs/js/tools-cli" />

  <Card title="JS Custom Tools" icon="plus" href="/docs/js/customtools" />

  <Card title="JS MCP Tools" icon="plug" href="/docs/js/mcp-tools" />

  <Card title="JS MCP Tools CLI" icon="terminal" href="/docs/js/mcp-tools-cli" />
</CardGroup>
