# Server

> Server is an open-source agent skill for developer tools. Builds or reviews a mini-app backend with Apps in Toss user identity and partner API calls. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/toss/apps-in-toss-harness/tree/main/packages/agent-plugin/shared/skills/server
- **Repository:** https://github.com/toss/apps-in-toss-harness
- **GitHub stars:** 195
- **License:** BSD-3-Clause
- **Skill name:** server
- **Collection:** https://github.com/toss/apps-in-toss-harness
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

This skill guides writing or reviewing the backend of an Apps in Toss mini-app, covering per-user data storage and calls to the Apps in Toss partner API such as Toss login token exchange, anonymous-key exchange and payment requests. It works with whatever hosting the developer already chose, including Cloudflare Workers, Node, or a backend service like Supabase or Firebase, and does not install a framework template on its own.

The workflow starts by reading the project's client and hosting configuration, then consulting a bundled runtime reference before any server code is written. It decides between anonymous-key exchange and Toss login for identifying users, wires mTLS client certificates into partner calls, checks the result type envelope rather than HTTP status, restricts CORS to exact origins, and suggests local tests using a mocked mTLS fetch. Deployment happens only when requested, and the skill makes no console changes.

The developer needs an Apps in Toss mini-app project, an mTLS certificate issued from the console, and their own hosting login. Documentation pages are looked up through the docs MCP server.

## When your agent uses it

> Write or review the server side of an Apps in Toss mini-app: any backend that stores per-user data or calls the Apps in Toss partner API (Toss login token exchange, anonymous-key exchange, other partner calls), on Cloudflare Workers, Node, a BaaS (Supabase, Firebase) or any other hosting. Use it right away, before writing server code, for "서버에 저장해서 다른 기기에서도 보이게 해줘", "서버 붙여줘", "Supabase·Firebase에 내 기록 저장해줘", "Workers로 서버 만들어줘", "토스페이 결제 서버 붙여줘" (server calls to create, approve or refund a payment), "토스 로그인 붙여줘" (even client side only — login needs console setup and a server exchange), "서버에서 사용자 구분은 어떻게 해?", or "getAnonymousKey 값을 서버에서 그대로 써도 돼?" — even when the user only names the feature. It decides how the server identifies users (anonymous-key exchange vs Toss login), wires mTLS for partner API calls, parses the resultType envelope and sets exact CORS origins, then writes or fixes the code. Keeps the user's chosen hosting. Deploys only when asked; no console calls. Client screens are `/ait:design`; phone te

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/toss/apps-in-toss-harness/tree/HEAD/packages/agent-plugin/shared/skills/server)
- [License: BSD-3-Clause](https://github.com/toss/apps-in-toss-harness/tree/HEAD/packages/agent-plugin/shared/skills/server)

## Features

- **User identification setup:** Chooses between anonymous-key exchange and Toss login to tell users apart on the server.
- **mTLS partner API calls:** Wires client certificate bindings into requests made to the partner API.
- **Result envelope handling:** Judges success by the resultType field rather than the HTTP status code.
- **Payment server flow:** Covers creating, approving, refunding and recovering Toss Pay payments with test flags.
- **Strict CORS origins:** Limits cross-origin access to exact origins matching the app's SDK version.
- **Local verification:** Runs envelope cases against a fake mTLS fetch without adding login bypass flags.

## Good for

- Store a user's records on a server so they appear on another device
- Add Toss login to a mini-app with the required server token exchange
- Create and approve a Toss Pay payment from a backend
- Connect Supabase or Firebase to a mini-app while keeping secret keys off the client
- Review an existing mini-app server for CORS and certificate handling mistakes

## Install

### Claude Code

This skill ships in the `ait` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add toss/apps-in-toss-harness
/plugin install ait@apps-in-toss
```

Or copy only this skill to `~/.claude/skills/server`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/toss/apps-in-toss-harness.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/server &&
cp -R "$tmp/packages/agent-plugin/shared/skills/server" ~/.claude/skills/server &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/server` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/server` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/toss/apps-in-toss-harness.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/server &&
cp -R "$tmp/packages/agent-plugin/shared/skills/server" ~/.agents/skills/server &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/server` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/server` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/toss/apps-in-toss-harness.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/server &&
cp -R "$tmp/packages/agent-plugin/shared/skills/server" ~/.cursor/skills/server &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/server` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/toss/apps-in-toss-harness.git --path packages/agent-plugin/shared/skills/server
```

Or copy the folder to `~/.gemini/skills/server` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/server`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/toss/apps-in-toss-harness.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/server &&
cp -R "$tmp/packages/agent-plugin/shared/skills/server" ~/.copilot/skills/server &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/server` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/toss/apps-in-toss-harness.git
```

Then copy `apps-in-toss-harness/packages/agent-plugin/shared/skills/server` into your agent's skills folder as `server`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does Server trigger?

It is meant to run before writing server code when a request involves per-user server storage, partner API calls, Toss login or payment server calls.

### Does it deploy my server?

No. It deploys only when explicitly asked and makes no console calls.

### Can I keep my current hosting?

Yes. It follows the hosting the developer chose and does not suggest switching it first.

### Why is getAnonymousKey value not trusted directly on the server?

The skill states that the value does not prove who is making the request, so it uses an exchange flow instead.

### How do I install Server in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/server to use it in all your projects, or to .claude/skills/server in one project. Or install the ait plugin, which includes it: /plugin marketplace add toss/apps-in-toss-harness, then /plugin install ait@apps-in-toss.

### Does Server run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Server?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Server?

The closest alternatives to Server are Launch, Test on device, New miniapp, Inject and Feature.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Launch](https://ai-powered.com/skills/launch-toss): Launch is an open-source agent skill for developer tools.
- [Test on device](https://ai-powered.com/skills/test-on-device): Test on device is an open-source agent skill for developer tools.
- [New miniapp](https://ai-powered.com/skills/new-miniapp): New miniapp is an open-source agent skill for developer tools.
- [Inject](https://ai-powered.com/skills/inject): Inject is an open-source agent skill for developer tools.
- [Feature](https://ai-powered.com/skills/feature): Feature is an open-source agent skill for developer tools.
- [Debug](https://ai-powered.com/skills/debug): Debug is an open-source agent skill for developer tools.
- [Plan](https://ai-powered.com/skills/plan-toss): Plan is an open-source agent skill for developer tools.
- [Design](https://ai-powered.com/skills/design-toss): Design is an open-source agent skill for design and media.

---
Source: https://ai-powered.com/skills/server
