Skip to main content
Glama
PoyoAPI

PoYo MCP Server

Official
by PoyoAPI
README.md
# PoYo Devtools

Official PoYo CLI, stdio MCP bridge, and Agent Skill. Model schemas and pricing are discovered from the hosted PoYo Capability Catalog.

## Workspace

- `@poyoapi/core`: Catalog, chat, generation-task, account, and credential client.
- `@poyoapi/cli`: Catalog-driven `poyo` command with chat SSE support.
- `@poyoapi/mcp`: Local stdio bridge to the hosted PoYo MCP server.
- `poyo-ai-models`: Agent workflow for discovering and safely executing PoYo models.

## Development

```bash
pnpm install
pnpm build
pnpm typecheck
pnpm test
```

Refresh production artifacts before release:

```bash
pnpm sync:catalog
pnpm generate:skills
pnpm skill:check
```

## Publishing to npm

The three public packages are published together with the same version:

- `@poyoapi/core`
- `@poyoapi/mcp`
- `@poyoapi/cli`

Configure an npm Trusted Publisher for each package with:

- Organization or user: `PoyoAPI`
- Repository: `poyo-devtools`
- Workflow: `publish.yml`
- Environment: `npm`

For a stable release, prepare and push the release commit:

```bash
pnpm release:stable -- 0.1.0
git push
```

Then run the **Publish npm packages** GitHub Actions workflow with:

```text
dist_tag: latest
confirmation: publish:0.1.0:latest
```

For a prerelease, set all package versions to the same prerelease version and
run the workflow with the `beta` tag, for example:

```text
dist_tag: beta
confirmation: publish:0.2.0-beta.1:beta
```

The workflow validates the version, refreshes the production catalog, builds
and tests the workspace, packs the packages in dependency order, and publishes
them with npm provenance. No long-lived `NPM_TOKEN` secret is required when the
Trusted Publishers are configured.