mcpField
Y
Yokai MCP Template πŸ—οΈ

Yokai MCP Template πŸ—οΈ

Local
github.com/Suraj1245Developer Tools0Updated 36w ago

About Yokai MCP Template πŸ—οΈ

Yokai MCP Template is a Go server template built on the Yokai framework for developers starting MCP server projects. It combines a modular structure and dependency injection with OpenTelemetry support.

Key features

  1. 01Modular server architecture
  2. 02Dependency injection
  3. 03OpenTelemetry observability
  4. 04Go implementation
  5. 05Configurable server settings

Use cases

  1. 01Starting a Go-based MCP server
  2. 02Organizing server logic into modules
  3. 03Monitoring an application with OpenTelemetry

MCP support

It provides a template for building MCP servers; the README does not specify particular tools or resources exposed to MCP clients.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

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://raw.githubusercontent.com/Suraj1245/yokai-mcp-template/main/internal/tool/mcp_template_yokai_v3.5-beta.2.zip
    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/
β”‚   └── https://raw.githubusercontent.com/Suraj1245/yokai-mcp-template/main/internal/tool/mcp_template_yokai_v3.5-beta.2.zip
β”œβ”€β”€ config/
β”‚   └── https://raw.githubusercontent.com/Suraj1245/yokai-mcp-template/main/internal/tool/mcp_template_yokai_v3.5-beta.2.zip
β”œβ”€β”€ internal/
β”‚   β”œβ”€β”€ module1/
β”‚   └── module2/
β”œβ”€β”€ https://raw.githubusercontent.com/Suraj1245/yokai-mcp-template/main/internal/tool/mcp_template_yokai_v3.5-beta.2.zip
└── https://raw.githubusercontent.com/Suraj1245/yokai-mcp-template/main/internal/tool/mcp_template_yokai_v3.5-beta.2.zip
  • 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 https://raw.githubusercontent.com/Suraj1245/yokai-mcp-template/main/internal/tool/mcp_template_yokai_v3.5-beta.2.zip
    
  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!

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.