mcp-tools

Installation
SKILL.md

MCP Tools 開發指南

本專案的 MCP Tools 位於 pai-bot/src/mcp/tools/

架構模式

Service Layer (ts-results)     MCP Tool Layer
┌─────────────────────┐       ┌──────────────────────┐
│ Result<T, Error>    │  -->  │ { content, isError } │
└─────────────────────┘       └──────────────────────┘

Service Layer

使用 ts-results 回傳 Result<T, Error>

import { Err, Ok, type Result } from "ts-results";
Related skills
Installs
13
GitHub Stars
4
First Seen
Feb 5, 2026