karma
Karma is a powerful, modular library designed to simplify common tasks in Go development. Whether you're handling authentication, parsing SQL, managing middleware, integrating with third-party APIs, or dealing with file management, Karma has got you covered.
claude mcp add --transport stdio mellob1989-karma docker run -i mellob1989/karma \ --env KARMA_LICENSE="proprietary; personal use only; commercial use prohibited without authorization" \ --env KARMA_LOG_LEVEL="debug|info|warn|error (default: info)"
How to use
Karma is a modular utility library for Go that provides ready-to-use components for common backend tasks. It offers modules for authentication (email, phone, and password-based flows), SQL parsing helpers, middleware utilities (logging, request validation, error handling), integrations with third-party APIs (e.g., Twilio, OpenAI), and file management utilities for uploads, downloads, and storage. As a library, Karma is designed to be imported and composed within your Go applications to reduce boilerplate and accelerate development. To start using Karma, import the package path in your Go project and instantiate or wire up the desired modules in your application initialization. The project emphasizes modularity, so you can opt-in to only the features you need (e.g., authentication and middleware without the SQL helpers).
How to install
Prerequisites:
- Go (1.18+ recommended) installed on your machine
- A Go module initialized in your project (go mod init ...) or use of GOPATH-based workspace
Step-by-step installation:
-
Initialize your module (if not already): go mod init your-module-name
-
Fetch Karma package: go get github.com/MelloB1989/karma
-
Tidy dependencies: go mod tidy
-
Import Karma in your code and start using the modules, for example: import ( "github.com/MelloB1989/karma" )
// Example usage will depend on the specific APIs exported by the library (authentication, middleware, etc.).
-
Build and run your application as usual: go build ./... ./your-app
Notes:
- Since Karma is a library, there is no standalone server to run unless you choose to expose it via your Go application or containerize it as part of a service.
Additional notes
License and usage:
- Karma is proprietary and cannot be used for commercial purposes without explicit permission from MelloB.
Environment and configuration:
- If using the Docker image, you can override logging level via KARMA_LOG_LEVEL and control licensing behavior with KARMA_LICENSE.
Common issues:
- Ensure Go module support is enabled in your environment when fetching the library.
- If you encounter import path resolution issues, verify your module cache and GOPROXY settings.
Configuration tips:
- Only enable the modules you need (e.g., authentication and file management) to minimize dependencies.
- Review any API keys or credentials required by third-party integrations and keep them in secure environment variables.
Related MCP Servers
context-space
Ultimate Context Engineering Infrastructure, starting from MCPs and Integrations
station
Station is our open-source runtime that lets teams deploy agents on their own infrastructure with full control.
mesh
One secure endpoint for every MCP server. Deploy anywhere.
go-utcp
Official Go implementation of the UTCP
gtm
An MCP server for Google Tag Manager. Connect it to your LLM, authenticate once, and start managing GTM through natural language.
mcpx-py
Python client library for https://mcp.run - call portable & secure tools for your AI Agents and Apps