A TypeScript implementation of a Model Context Protocol (MCP) server that integrates with PiAPI's API. PiAPI makes user able to generate media content with Midjourney/Flux/Kling/LumaLabs/Udio/Chrip/Trellis directly from Claude or any other MCP-compatible apps.
A TypeScript implementation of a Model Context Protocol (MCP) server that integrates with PiAPI's API. PiAPI makes user able to generate media content with Midjourney/Flux/Kling/LumaLabs/Udio/Chrip/Trellis directly from Claude or any other MCP-compatible apps.
npx -y piapi-mcp-serverAdd this configuration to your claude_desktop_config.json:
{
"mcpServers": {
"apinetwork-piapi-mcp-server-github": {
"command": "npx",
"args": [
"-y",
"npx -y piapi-mcp-server"
]
}
}
}Restart Claude Desktop, then ask:
"What tools do you have available from piapi?"
API Key Required
This server requires an API key from piapi. Add it to your environment or config.
| Variable | Required | Description |
|---|---|---|
| PIAPI_API_KEY | Yes | Your piapi API key |
"What resources are available in piapi?"
Claude will query available resources and return a list of what you can access.
"Show me details about [specific item] in piapi"
Claude will fetch and display detailed information about the requested item.
"Create a new [item] in piapi with [details]"
Claude will use the appropriate tool to create the resource and confirm success.
We build custom MCP integrations for B2B companies. From simple connections to complex multi-tool setups.