302AI Image
A Model Context Protocol server for generating images using the 302AI API.
302AI Image MCP Server
Development
Install dependencies:
npm install
Build the server:
npm run build
For development with auto-rebuild:
npm run watch
Installation
To use with Claude Desktop, add the server config:
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"302ai-image-mcp": {
"command": "npx",
"args": ["-y", "@302ai/image-mcp"],
"env": {
"302AI_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}
Find Your 302AI_API_KEY here
Debugging
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:
npm run inspector
The Inspector will provide a URL to access debugging tools in your browser.
Related Servers
DINO-X
Advanced computer vision and object detection MCP server powered by Dino-X, enabling AI agents to analyze images, detect objects, identify keypoints, and perform visual understanding tasks.
Deep Code Reasoning MCP Server
Performs complementary code analysis by combining Claude Code and Google's Gemini AI.
A11y MCP Server
Perform accessibility audits on webpages using the axe-core engine to identify and help fix a11y issues.
Flame MCP Server
Provides live, up-to-date documentation for the Flame game engine.
Quick Chart MCP Server
A server for creating charts and visualizations using the Quick Chart API.
Android Tester MCP
Automate Android devices using the Gbox SDK.
Shopify Dev
A command-line tool for interacting with Shopify's Admin GraphQL API, Functions, and Polaris Web Components.
MCP-Mem0
Integrate long-term memory into AI agents using Mem0.
Enhanced AutoGen MCP Server
Integrates with Microsoft's AutoGen framework to enable sophisticated multi-agent conversations via the Model Context Protocol.
Unity-MCP
A bridge between the Unity game engine and AI assistants using the Model Context Protocol (MCP).