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
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
chuk-mcp
A Python client for the Model Context Protocol (MCP), an open standard for connecting AI assistants to external data and tools.
MCP Risk Ledger
Risk review ledgers for MCP server adoption.
Keycloak MCP Server
An MCP server for Keycloak administration, offering over 30 tools to manage users, realms, clients, roles, and more from AI assistants.
Remote MCP Server (Authless)
An example of a remote MCP server deployable on Cloudflare Workers, without authentication.
mcdev-mcp
An MCP server that helps coding agents to work with Minecraft mod development
SettleGrid
Per-call billing and monetization for MCP servers — add usage metering, API key validation, and Stripe payouts to any MCP tool with 2 lines of code.
Streamable HTTP Server Example
An example MCP server demonstrating streamable HTTP responses using Node.js.
Cyberlink MCP Server
Interact with the CW-Social smart contract on Cosmos-based blockchains.
Secure Agent Workspace
A sandboxed, agentic workspace providing secure filesystem, bash, and uv-powered Python execution.
MCP Host
A host for running multiple MCP servers, such as a calculator and an IP location query server, configured via a JSON file.