Skip to content
Skill

Server

Builds or reviews a mini-app backend with Apps in Toss user identity and partner API calls

Server is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
195
Last commit
License
BSD-3-Clause
Listing updated

Similar skills

About Server

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

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (6 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

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

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

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

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.

Claude Code docs on skills

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

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.

Codex docs on skills

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

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.

Cursor docs on skills

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

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.

Gemini CLI docs on skills

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

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.

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

What it does

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

Server 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.

More from toss/apps-in-toss-harness

  1. Debugs an Apps in Toss mini-app in a local browser or on a real Toss device

    • Open source
    • 195 GitHub stars
    • Developer tools
  2. Builds and fixes mini-app screens in your project, enforcing hard UI rules and store image

    • Open source
    • 195 GitHub stars
    • Design and media
  3. Adds Apps in Toss SDK features like ads, IAP, share and haptics to your project

    • Open source
    • 195 GitHub stars
    • Developer tools
  4. Adds Apps in Toss devtools, debugger client or Tossface font wiring to an existing

    • Open source
    • 195 GitHub stars
    • Developer tools
  5. Pre-launch checks and review requests for Apps in Toss mini-apps

    • Open source
    • 195 GitHub stars
    • Developer tools
  6. Scaffolds a new Apps in Toss mini-app with devtools wiring and a design guide

    • Open source
    • 195 GitHub stars
    • Developer tools