diff --git a/.claude-plugin/icon.png b/.claude-plugin/icon.png new file mode 100644 index 0000000..da4f918 Binary files /dev/null and b/.claude-plugin/icon.png differ diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json new file mode 100644 index 0000000..2f7a27a --- /dev/null +++ b/.claude-plugin/marketplace.json @@ -0,0 +1,17 @@ +{ + "name": "poyo-devtools", + "owner": { + "name": "PoYo" + }, + "metadata": { + "description": "Official PoYo plugin for Claude Code." + }, + "plugins": [ + { + "name": "poyo", + "source": "./", + "description": "Hosted PoYo MCP server and the poyo-ai-models skill.", + "homepage": "https://poyo.ai/mcp" + } + ] +} diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json new file mode 100644 index 0000000..5519b84 --- /dev/null +++ b/.claude-plugin/plugin.json @@ -0,0 +1,30 @@ +{ + "name": "poyo", + "description": "PoYo AI models for Claude Code: the hosted PoYo MCP server plus the poyo-ai-models skill for discovering, pricing, and running video, image, audio, and chat models.", + "author": { + "name": "PoYo", + "url": "https://poyo.ai/" + }, + "homepage": "https://poyo.ai/mcp", + "repository": "https://github.com/PoyoAPI/poyo-devtools", + "license": "MIT", + "privacyPolicyUrl": "https://poyo.ai/privacy", + "keywords": [ + "poyo", + "mcp", + "ai-models", + "video-generation", + "image-generation", + "audio", + "llm" + ], + "mcpServers": { + "poyo": { + "type": "http", + "url": "https://api.poyo.ai/mcp", + "headers": { + "Authorization": "Bearer ${POYO_API_KEY}" + } + } + } +} diff --git a/README.md b/README.md index 4c48550..249fcce 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,45 @@ # PoYo Devtools -Official PoYo CLI, stdio MCP bridge, and Agent Skill. Model schemas and pricing are discovered from the hosted PoYo Capability Catalog. +Official CLI, stdio MCP bridge, and Agent Skill for [PoYo](https://poyo.ai/), a unified API for AI video, image, audio, and chat models. Model schemas and pricing are discovered from the hosted PoYo Capability Catalog. + +- Website: [poyo.ai](https://poyo.ai/) +- MCP server: [poyo.ai/mcp](https://poyo.ai/mcp) (Streamable HTTP at `https://api.poyo.ai/mcp`) +- Model catalog: [poyo.ai/models](https://poyo.ai/models) +- Documentation: [docs.poyo.ai](https://docs.poyo.ai/integrations/overview) +- API keys: [poyo.ai/dashboard/api-key](https://poyo.ai/dashboard/api-key) + +## Quick start + +Claude Code, connecting directly to the hosted MCP server: + +```bash +claude mcp add --transport http poyo https://api.poyo.ai/mcp --header "Authorization: Bearer $POYO_API_KEY" +``` + +Claude Desktop, Cursor, and other stdio clients: + +```json +{ + "mcpServers": { + "poyo": { + "command": "npx", + "args": ["-y", "@poyoapi/mcp"], + "env": { "POYO_API_KEY": "YOUR_API_KEY" } + } + } +} +``` + +As a Claude Code plugin (MCP server plus the `poyo-ai-models` skill): + +```text +/plugin marketplace add PoyoAPI/poyo-devtools +/plugin install poyo@poyo-devtools +``` + +The plugin reads `POYO_API_KEY` from the environment that starts Claude Code. + +Client-specific setup for [Claude](https://docs.poyo.ai/integrations/claude-desktop), [Cursor](https://docs.poyo.ai/integrations/cursor), and [Codex](https://docs.poyo.ai/integrations/codex) is in the docs. See [Connect with MCP](https://docs.poyo.ai/integrations/mcp) for the available tools and filters. ## Workspace diff --git a/packages/mcp/README.md b/packages/mcp/README.md index a20d0e9..ae12541 100644 --- a/packages/mcp/README.md +++ b/packages/mcp/README.md @@ -1,6 +1,8 @@ # @poyoapi/mcp -stdio bridge to `https://api.poyo.ai/mcp`. +stdio bridge to the hosted [PoYo MCP server](https://poyo.ai/mcp) at `https://api.poyo.ai/mcp`. It lets MCP clients search [PoYo](https://poyo.ai/)'s model catalog, inspect schemas and prices, run video, image, audio, and chat models, and poll generation tasks. + +Get an API key from the [PoYo dashboard](https://poyo.ai/dashboard/api-key). Node.js 20 or later is required. ```bash POYO_API_KEY=... npx @poyoapi/mcp @@ -12,3 +14,5 @@ Optional filters: - `POYO_MCP_MODELS` or `--models` Configure categories or models, never both. + +Setup guides for each client are in the [PoYo MCP documentation](https://docs.poyo.ai/integrations/mcp). diff --git a/packages/mcp/package.json b/packages/mcp/package.json index 169bf59..485e3ef 100644 --- a/packages/mcp/package.json +++ b/packages/mcp/package.json @@ -1,5 +1,6 @@ { "name": "@poyoapi/mcp", + "mcpName": "ai.poyo/mcp", "version": "0.1.23", "description": "stdio bridge for the hosted PoYo MCP server", "license": "MIT", @@ -8,7 +9,7 @@ "url": "git+https://github.com/PoyoAPI/poyo-devtools.git", "directory": "packages/mcp" }, - "homepage": "https://poyo.ai/", + "homepage": "https://poyo.ai/mcp", "bugs": { "url": "https://github.com/PoyoAPI/poyo-devtools/issues" },