Back to Dashboard

Documentation

Learn how to use Asyntai

OpenCode

Run your Asyntai AI chatbot from the OpenCode AI agent

Create Account

Overview

OpenCode is an open source AI agent for the terminal. The Asyntai plugin connects OpenCode to the Asyntai MCP server, so you can run your chatbot from OpenCode: add knowledge, crawl a site, change the widget, read conversations and leads, and reply live to visitors.

What You Can Ask For

  • "Create an Asyntai chatbot for shop.example.com and give me the embed code."
  • "Add the text in docs/faq.md to my chatbot's knowledge."
  • "Show me what visitors asked my chatbot this week."
  • "List my leads from the last 7 days."
  • "Change the widget color to black."

Add the Plugin

1

Install It

Run this command in your project folder:

opencode plugin opencode-asyntai

You can also add it to opencode.json yourself:

{
  "$schema": "https://opencode.ai/config.json",
  "plugin": ["opencode-asyntai"]
}
2

Check the Connection

Run opencode mcp list. The list shows asyntai with the address https://asyntai.com/mcp.

The plugin adds two things to OpenCode: the Asyntai MCP server and an Asyntai skill, which tells the agent how to use the tools safely.

Sign In

Run this command once:

opencode mcp auth asyntai

Your browser opens the Asyntai sign-in page. Sign in and click to approve the connection. OpenCode saves the access, so you do not sign in again later. You can also type /mcps inside OpenCode and pick asyntai.

You can remove the connection at any time on the connections page.

Without the Plugin

If you prefer, add the server to opencode.json by hand:

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "asyntai": {
      "type": "remote",
      "url": "https://asyntai.com/mcp",
      "enabled": true
    }
  }
}

Need an Account?

You sign in with your Asyntai account. Create an account if you do not have one. OpenCode can then create your first chatbot for you.

What the Plugin Can Do

The plugin gives OpenCode all the tools of the Asyntai MCP server. The MCP documentation lists them, with the plans and limits that apply.

Tip: OpenCode decides when to call a tool. Ask it to show you each change before it makes it, or use the Plan agent to review first.

If the Connection Fails

  • Run opencode mcp list. If it says the server needs authentication, run opencode mcp auth asyntai.
  • Check the address. It is https://asyntai.com/mcp with no trailing slash.
  • Start a new OpenCode session after you add the plugin. Changes do not apply to a session that is already open.

Need Help?

If you have any questions or run into issues, contact us at [email protected].