add-mcp-tools

Official

Guide to add MCP tools with consistent patterns

Authordecocms
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This guide standardizes how to add new MCP tools to the MCP Mesh codebase, ensuring consistent patterns for schemas, tool definitions, and access control.

Core Features & Use Cases

  • Defines a reusable pattern for domain tools including zod schemas, defineTool integration, and Better Auth-based access control.
  • Provides a scalable blueprint for organizing tool files (schema.ts, create/list/update/delete, and index barrel) and for registry, permissions, and documentation.
  • Use Case: when expanding MCP Mesh with new domains (e.g., apiKeys, webhooks), follow this blueprint to maintain consistency and auditability.

Quick Start

Follow the checklist to implement a new MCP tool domain in apps/mesh/src/tools, including schemas, create/list/update/delete files, and Better Auth integration.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: add-mcp-tools
Download link: https://github.com/decocms/mesh/archive/main.zip#add-mcp-tools

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.