OpenCode
Connect ASO++ to OpenCode using the MCP server configuration.
OpenCode is an open-source terminal AI coding agent built by SST. It supports MCP servers via a opencode.json configuration file.
Prerequisites
- OpenCode installed — follow the official install guide
- An ASO++ API token — generate one here
Configuration
•
Open the OpenCode config file
OpenCode looks for opencode.json in your home directory (~/opencode.json) or in the current project directory (.opencode.json).
Create the file if it doesn't exist:
touch ~/opencode.json•
Add the ASO++ MCP server
Edit ~/opencode.json and add:
{
"mcp": {
"asopp": {
"type": "remote",
"url": "https://asopp.cc/mcp",
"headers": {
"Authorization": "Bearer YOUR_TOKEN_HERE"
}
}
}
}Replace YOUR_TOKEN_HERE with your actual token.
•
Start a session and verify
Run:
opencodeThen type:
Get the App Store ranking for app 389801252 for keyword "photo editor" in the USOpenCode should call get_app_ranking and return the rank.
Project-scoped configuration
For project-specific setups, create a .opencode.json file in your project root. This is useful when working on multiple apps that each need different ASO++ tokens or configurations.
Troubleshooting
Related pages
- Tokens — Generate or revoke tokens
- MCP setup overview — Troubleshooting tips and other supported tools