ToolBox MCP Server

by xiaoguomeiyitian
Verified
# ToolBox Contribution Guide [![License](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE) Welcome to the ToolBox project! This guide will help you quickly get started with tool development. ## Development Standards ### File Structure ```tree src/ ├── tools/ │ ├── System Tools/ # Subdirectories by category │ │ └── compress_tool.ts │ ├── AI Tools/ │ └── Data Tools/ ``` ### Tool Development Template ```typescript // src/tools/example_tool.ts export const schema = { name: "demo_tool", description: "Description of the example tool", // ...complete schema definition }; export default async function({ params }) { // Core logic implementation return { content: [{ type: "text", text: "Execution result" }] }; } export async function destroy() { // Release resources } ``` ## Submission Process 1. **Create a Feature Branch** ```bash git checkout -b feat/your_tool ``` 2. **Development and Testing** - Write unit tests (refer to test/tools examples) - Run the complete test suite: ```bash npm test ``` 3. **Submit a PR** - Include: Feature description, test results, impact analysis - Pass automated security checks (must include a security scan report) ## AI Collaboration Guide Collaborate with AI using the following commands: ``` /create_tool Request format: 1. Tool Name: verb_noun (English) 2. Function Description: Chinese description 3. Input Parameter Examples ``` ## Community Guidelines - Communication Channel: GitHub Discussions - Code of Conduct: Adhere to the [Contributor Covenant](CODE_OF_CONDUCT.md) and [CODE_OF_CONDUCT_ZH.md](CODE_OF_CONDUCT_ZH.md) - Tool Attribution: All tools are attributed to xiaoguomeiyitian in the [Hall of Fame](HALL_OF_FAME.md) ## Complete Development Example Reference: [Tool Development Specifications](prompt.md) and [Existing Tool Implementations](src/tools/) ```mermaid graph LR A[Idea Proposal] --> B{Complexity Assessment} B -->|Simple Tool| C[AI-Generated Prototype] B -->|Complex Tool| D[Manual Development] C --> E[Human Review] D --> E E --> F[Merge to Main Branch] ``` We look forward to your contributions! 🚀