Sponsored by Deepsite.site

Yokai MCP Template 🏗️

Created By
Suraj12457 months ago
MCP server template based on the Yokai Go framework.
Content

Yokai MCP Template 🏗️

Yokai MCP Template

Welcome to the Yokai MCP Template repository! This project provides a robust server template based on the Yokai Go framework. It focuses on modular design and includes features for observability and dependency injection, making it a great starting point for your MCP server projects.

Table of Contents

Features

  • Modular Architecture: Easily extend your server with new modules.
  • Dependency Injection: Simplifies management of dependencies.
  • Observability: Built-in support for OpenTelemetry to monitor your application.
  • Lightweight: Fast performance with minimal overhead.
  • Go Language: Built with Go for speed and efficiency.

Installation

To get started with the Yokai MCP Template, follow these steps:

  1. Clone the repository:

    git clone https://github.com/Suraj1245/yokai-mcp-template.git
    cd yokai-mcp-template
    
  2. Install dependencies:

    go mod tidy
    
  3. Build the application:

    go build
    
  4. Download and execute the latest release from Releases.

Usage

After installation, you can start the server by running:

./yokai-mcp-template

You can configure the server by modifying the configuration files in the config directory. Make sure to review the available options to customize your setup.

Directory Structure

Here’s a brief overview of the directory structure:

yokai-mcp-template/
├── cmd/
│   └── main.go
├── config/
│   └── config.yaml
├── internal/
│   ├── module1/
│   └── module2/
├── go.mod
└── go.sum
  • cmd/: Contains the entry point for the application.
  • config/: Configuration files for the server.
  • internal/: Modules and internal logic for your application.

Configuration

The configuration file is located in the config directory. Here is an example configuration:

server:
  port: 8080
logging:
  level: info

Adjust the settings according to your requirements. You can specify the server port, logging level, and other parameters.

Observability

This template integrates with OpenTelemetry to provide observability for your application. To enable observability:

  1. Install the OpenTelemetry Go SDK:

    go get go.opentelemetry.io/otel
    
  2. Configure the OpenTelemetry settings in your application.

For more details, refer to the OpenTelemetry documentation.

Contributing

We welcome contributions! If you want to improve this template, please follow these steps:

  1. Fork the repository.
  2. Create a new branch:
    git checkout -b feature/YourFeature
    
  3. Make your changes.
  4. Commit your changes:
    git commit -m "Add some feature"
    
  5. Push to the branch:
    git push origin feature/YourFeature
    
  6. Open a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Releases

For the latest updates and versions, visit the Releases section. Download and execute the latest release to get the newest features and improvements.

Conclusion

Thank you for checking out the Yokai MCP Template! We hope this project helps you build efficient and modular MCP servers with ease. If you have any questions or suggestions, feel free to open an issue or contribute to the project. Happy coding!

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
ChatWiseThe second fastest AI chatbot™
DeepChatYour AI Partner on Desktop
Serper MCP ServerA Serper MCP Server
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Playwright McpPlaywright MCP server
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
WindsurfThe new purpose-built IDE to harness magic
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Amap Maps高德地图官方 MCP Server
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Tavily Mcp
CursorThe AI Code Editor
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"