Primitive Go
FreeNot checkedA Go implementation of an MCP (Model Context Protocol) server tools
About
A Go implementation of an MCP (Model Context Protocol) server tools
README
A Go implementation of an MCP (Model Context Protocol) server that generates images using OpenAI's DALL-E API. This server demonstrates how to build MCP tools that can be used by Large Language Models like Claude.
Features
- Generate images from text descriptions
- Automatic handling of save locations
- Configurable image dimensions
- Proper error handling and logging
- Works with Claude Desktop and other MCP clients
Prerequisites
- Go 1.19 or higher
- OpenAI API key
- Claude Desktop (for testing)
Build command
go build -o ./bin/imagegen-go ./main
Configuration
Add this server to your Claude Desktop configuration at ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"imagegen-go": {
"command": "/path/to/imagegen-go/bin/imagegen-go",
"env": {
"OPENAI_API_KEY": "your-api-key",
"DEFAULT_DOWNLOAD_PATH":"/path/to/downloads"
}
}
}
}
Usage
- Build the server using the command above
- Configure Claude Desktop with your server path and API key
- Restart Claude Desktop
- Ask Claude to generate images!
Example prompt: "Can you generate an image of a riverside home in cinematic style?"
Implementation Details
This server implements the MCP tools capability and provides a single tool:
generate-image: Generates an image from a text prompt using OpenAI's DALL-E
License
MIT License
Installing Primitive Go
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/prasanthmj/primitive-go-mcp-serverFAQ
Is Primitive Go MCP free?
Yes, Primitive Go MCP is free — one-click install via Unyly at no cost.
Does Primitive Go need an API key?
No, Primitive Go runs without API keys or environment variables.
Is Primitive Go hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Primitive Go in Claude Desktop, Claude Code or Cursor?
Open Primitive Go on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzCompare Primitive Go with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
