Piply Logo
Piply
Piply

Use Piply in OpenCode

Choose an OpenCode model with MCP tool support, configure Piply in opencode.json and complete sign-in. Ask the model to consult your course materials and save specific resources, then check the result in Piply.

OpenCode

With DeepSeek as the model: make flashcards from my Piply Discrete Maths course.

Illustrative prompt. After connecting, check the source references and any saved result in Piply. This example is not a record of a completed tool call.

Account access and review

Sign-in authorizes the connection to your Piply account under the permissions you approve. Asking about one file does not restrict access to that file. Review the host’s tool controls and check generated content against your materials. Disconnecting does not retract information already sent to the host.

What you need

  • OpenCode installed with a configured provider and a model that supports tool calling.
  • A Piply account (free).

Connect Piply to OpenCode

Documentation checked . Official setup documentation.

  1. 1 Add the Piply entry below to opencode.json (in your project, or ~/.config/opencode/opencode.json for everywhere).
  2. 2 Run opencode mcp auth piply and sign in to Piply in the browser.
  3. 3 Check it with opencode mcp list, then ask: What can Piply do here?
opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "piply": { "type": "remote", "url": "https://api.piply.ai/mcp" }
  }
}

OpenCode also starts sign-in automatically the first time Piply asks for it.

What OpenCode can do with Piply

These tasks need a client that can call the relevant Piply tools and your approved permissions. Saving requires a course you created; shared and public courses are read-only. Ask the host to use Piply, then check its response and any saved result.

  • Find source material Search course materials and request page references you can check.
  • Make and save quizzes Request a quiz from selected pages, then check its questions and saved lessons in Piply.
  • Save flashcards Successfully saved flashcard sets join spaced-repetition reviews in Piply. Ask the host to save the set and check its link.
  • Save study resources Request study notes, mind maps, word searches or anagram games and check the saved result.
  • Check review priorities Request due reviews, recorded weak topics and Piply’s suggested next study step.
  • Add course materials Save text as material. File import needs a supported host attachment or upload workflow.

Try asking

  • With DeepSeek as the model: make flashcards from my Piply Discrete Maths course.
  • Quiz me on pages 10 to 20 of my Networks lecture.
  • What am I weakest at?

No Piply account yet?

Create an account and add your materials in Piply. Follow this guide to connect OpenCode, review its access, and ask it to use those materials.

Start free

Questions

Where is the sign-in stored?

OpenCode stores MCP OAuth credentials in ~/.local/share/opencode/mcp-auth.json. Run opencode mcp logout piply to remove them.

Can I use free or local models?

Use an OpenCode-supported model that can call tools. Model capability and provider usage limits still apply.

Use Piply with other apps

See all 26 apps →