Skip to main content
Manus에서 모든 스킬 실행
원클릭으로

add-mcp-tool

스타5
포크0
업데이트2026년 5월 3일 18:51

Adds a new tool to file-search-on's MCP server in `internal/mcpserver/server.go` by defining JSON-tagged input/output structs (with `jsonschema` field tags), writing a handler that matches the SDK's `ToolHandlerFor[In, Out]` generic signature, registering it with `mcp.AddTool` inside `New()`, and adding an in-memory transport test in `server_test.go`. Use when extending the MCP server with a new tool — for example, a `read_attributes` tool that returns attributes for a single file without running a CEL filter, or any other agent-callable capability beyond the existing `search` and `list_attributes` tools.

설치

Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.

파일 탐색기
2 개 파일
SKILL.md
readonly