Yokai

v1.0.0Developer Toolsstable

Simple, modular, and observable Go framework for backend applications.

backenddependency-injectionframeworkgogolang
Share:
833
Stars
0
Downloads
0
Weekly
0/5

What is Yokai?

Yokai is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to simple, modular, and observable go framework for backend applications.

Simple, modular, and observable Go framework for backend applications.

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Simple, modular, and observable Go framework for backend app

Use Cases

Modular Go framework for backends
HTTP and gRPC server foundation
ankorstore

Maintainer

LicenseMIT
Languagego
Versionv1.0.0
UpdatedMay 10, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx yokai

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Yokai

Yokai is a simple, modular, and observable Go framework for building production-grade backend applications, including HTTP servers, gRPC services, MCP (Model Context Protocol) servers, and background workers. It eliminates boilerplate by providing dependency injection, Viper-based configuration management, built-in observability (tracing, metrics, logging), and a standardized project layout. Developers use it as the foundation when building Go-based MCP servers that need enterprise-grade infrastructure from the start.

Prerequisites

  • Go 1.21 or later installed
  • Basic familiarity with Go modules and dependency injection patterns
  • An MCP-compatible client such as Claude Desktop or Cursor
  • Docker (optional, for containerized deployment)
1

Create a new Go module

Initialize a new Go project that will use Yokai as its framework.

mkdir my-mcp-server && cd my-mcp-server
go mod init github.com/yourorg/my-mcp-server
2

Add Yokai as a dependency

Add the core Yokai package to your Go module.

go get github.com/ankorstore/yokai
3

Scaffold from an MCP template

Yokai provides ready-to-use application templates. Clone the MCP demo application from the Yokai showroom as a starting point for your MCP server.

git clone https://github.com/ankorstore/yokai-showroom.git
cd yokai-showroom/yokai-mcp-demo
4

Configure your application

Yokai uses Viper for configuration management. Edit the config/config.yaml file to set your application name, port, log level, and any service-specific settings. Environment variables can override any config value using the YOKAI_ prefix.

app:
  name: my-mcp-server
  env: development
  debug: false
server:
  port: 8080
log:
  level: info
5

Build and run the server

Compile and run your Yokai MCP server. It will start with the configured transport and begin accepting MCP client connections.

go run main.go
6

Connect your MCP client

Add the running Yokai MCP server to your MCP client configuration to start using it.

Yokai Examples

Client configuration

Add a locally running Yokai MCP server to your Claude Desktop configuration.

{
  "mcpServers": {
    "yokai": {
      "command": "npx",
      "args": ["yokai"],
      "env": {}
    }
  }
}

Prompts to try

Example prompts once your Yokai-based MCP server exposes custom tools.

- "List all registered tools available on this server"
- "What HTTP endpoints does the application expose?"
- "Show me the current application health and observability metrics"
- "Execute the greet tool with name set to 'World'"

Troubleshooting Yokai

Build fails with missing Yokai modules

Run 'go mod tidy' to resolve and download all transitive dependencies declared in your go.mod file.

Configuration values are not being applied

Check that your config/config.yaml file exists and is valid YAML. Yokai uses Viper, so environment variables with the YOKAI_ prefix will override file-based config values.

MCP client cannot connect to the server

Verify the server is listening on the expected port and that the transport type (stdio, SSE, or HTTP) in your Yokai config matches what your MCP client is configured to use.

Frequently Asked Questions about Yokai

What is Yokai?

Yokai is a Model Context Protocol (MCP) server that simple, modular, and observable go framework for backend applications. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Yokai?

Follow the installation instructions on the Yokai GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Yokai?

Yokai works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Yokai free to use?

Yes, Yokai is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "yokai": { "command": "npx", "args": ["-y", "yokai"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Yokai?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides