Yokai MCP Server Template

by ankorstore

374 downloads Not rated yet MIT license

About

MCP server template based on the Yokai Go framework.

Details

License
MIT license

Explore

- Ready-to-extend Yokai application with MCP server module
- Dev environment with Air for live reloading
- Production-ready Dockerfile included
- Example MCP tool and test for guidance
- Makefile for common commands (up, down, logs, test, lint)

Once ready, the application will be available on:

- http://localhost:8080/sse for the application MCP server
- http://localhost:8081 for the application core dashboard

License: MIT
Go version
Documentation

> MCP server template based on the Yokai Go framework.

<!-- TOC -->
Documentation
Overview
Layout
Makefile
Getting started
Installation
With GitHub
With gonew
* Usage
<!-- TOC -->

Documentation

For more information about the Yokai framework, you can check its documentation.

Overview

This template provides:

- a ready to extend Yokai application, with the MCP server module installed
- a ready to use dev environment, based on Air (for live reloading)
- a ready to use Dockerfile for production
- some examples of MCP tool and test to get started

Layout

This template is following the recommended project layout:

- cmd/: entry points
- configs/: configuration files
- internal/:
- tool/: MCP tool and test examples
- bootstrap.go: bootstrap
- register.go: dependencies registration

Makefile

This template provides a Makefile:

make up      # start the docker compose stack
make down    # stop the docker compose stack
make logs    # stream the docker compose stack logs
make fresh   # refresh the docker compose stack
make test    # run tests
make lint    # run linter

Getting started

Installation

With GitHub

You can create your repository using the GitHub template.

It will automatically rename your project resources and push them, this operation can take a few minutes.

Once ready, after cloning and going into your repository, simply run:

make fresh
With gonew

You can install gonew, and simply run:

gonew github.com/ankorstore/yokai-mcp-template github.com/foo/bar
cd bar
make fresh

Usage

Once ready, the application will be available on:

- http://localhost:8080/sse for the application MCP server
- http://localhost:8081 for the application core dashboard

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.