Skip to main content

mcp

TypeScript AI Agent
  • MCP (Model Context Protocol) Integration
  • Provides client and server implementations for MCP, enabling tool discovery and invocation across processes.

Import

Classes

MCPTool

TypeScript MCPTool class

MCPResource

TypeScript MCPResource class

MCPPrompt

TypeScript MCPPrompt class

MCPClientConfig

TypeScript MCPClientConfig class

MCPToolResult

TypeScript MCPToolResult class

MCPSession

TypeScript MCPSession class

MCPClient

TypeScript MCPClient class

Functions

createMCPClient()

Function definition.

getMCPTools()

Function definition.

JS MCP Tools

JS MCP Tools CLI

JS MCP Security

JS Resources