@relayplane/mcp
v0.1.0
Published
Model Context Protocol integration for RelayPlane workflows
Downloads
73
Maintainers
Readme
@relayplane/mcp
Model Context Protocol (MCP) integration for RelayPlane workflows.
Features
- 🔌 Load MCP servers from URLs, configs, or directories
- 🛠️ Execute MCP tools with context interpolation
- 📊 Built-in telemetry and monitoring
- 🔄 Health checking for MCP servers
- 🎯 Type-safe with full TypeScript support
Installation
pnpm add @relayplane/mcpUsage
import { MCPLoader, MCPExecutor } from '@relayplane/mcp';
// Load MCP server
const loader = new MCPLoader();
const server = await loader.loadFromURL('https://api.example.com');
// Execute tool
const executor = new MCPExecutor();
const result = await executor.execute(
server,
'search',
{ query: '{{input.searchTerm}}' },
context
);License
MIT
