1. Prepare the environment
Use an OpenCode version that supports remote MCP servers. Start the process with BEATAPI_API_KEY available in its environment; do not paste the key into the prompt.
BEATAPI_API_KEYConnect OpenCode to BeatAPI MCP for Social Data and tools. Compare V2 and V1 setup, environment variable syntax, verification, and example tasks.
Manual setup · Bearer API key
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"servers": {
"beatapi": {
"type": "remote",
"url": "https://beatapi.io/mcp",
"oauth": false,
"headers": {
"Authorization": "Bearer {env:BEATAPI_API_KEY}"
}
}
}
}
}Keep the key in your local environment or secret storage. Never paste it into a chat, commit it to Git, or embed it in browser code.
Merge this example into your existing configuration. Do not replace unrelated servers or settings. Client versions and workspace policies can affect setup.
Use an OpenCode version that supports remote MCP servers. Start the process with BEATAPI_API_KEY available in its environment; do not paste the key into the prompt.
BEATAPI_API_KEYFor OpenCode V2, merge beatapi under mcp.servers in opencode.json. OpenCode V1 uses the separate example below. Use the shown environment-variable syntax and keep oauth: false for Bearer-key authentication.
opencode.jsonRun opencode mcp list and inspect the server status. Confirm tool discovery before asking the agent to execute anything. An MCP connection does not change the configured reasoning model.
opencode mcp listA saved configuration does not prove a working connection. Inspect the client’s connection status and tool list before attempting a task. Do not disable approval or trust checks.
V1 puts server names directly under mcp. Use this version-specific config only if your OpenCode installation is V1.
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"beatapi": {
"type": "remote",
"url": "https://beatapi.io/mcp",
"oauth": false,
"headers": {
"Authorization": "Bearer {env:BEATAPI_API_KEY}"
}
}
}
}Keep your agent’s reasoning model and connect external capabilities. The setup on this page is for this tool connection.
Read documentationChanging the model’s base URL or API key is a separate setup. It does not automatically add Social Data tools. Follow the client-specific provider guide and verify model support.
Model-provider setupSample brief for your own run. This page has not generated the result.
Keep my current model provider. Use BeatAPI MCP to inspect YouTube search and comment capabilities for my topic. Propose a limited sample and cost, wait for approval, and then create a source-backed question map with an explicit note about what was not retrieved.Target deliverable
A source-backed research note created with the existing model plus external tools.
Search for the data action, inspect its required inputs and current price, then approve the run. An estimate does not promise the returned data or final cost.
capabilities_searchFind a relevant data, model or tool capability.
capabilities_inspectRead the required inputs, restrictions and billing details.
confirm priceAgree on the scope and expected spend before a paid operation.
capabilities_runRun the approved capability and preserve returned IDs, source links and usage details when available.
IDs and pagination parameters vary by action. Check capabilities_inspect for output_schema. If readiness is runnable, the output structure is not yet published, so use the actual response as your guide. Allow for missing fields and empty pages.
Prices and billing units vary by action and can change. Check the selected action's current billing details before running a request.
BeatAPI is independent of the named platforms and client vendors. Use data only with appropriate authorization and respect applicable platform terms, privacy and access restrictions.
Price, one key, hosted output, refunds, and the same task shape for video, image, and workflow.
Use an OpenCode version that supports remote MCP servers. Start the process with BEATAPI_API_KEY available in its environment; do not paste the key into the prompt. For OpenCode V2, merge beatapi under mcp.servers in opencode.json. OpenCode V1 uses the separate example below. Use the shown environment-variable syntax and keep oauth: false for Bearer-key authentication.
Run opencode mcp list and inspect the server status. Confirm tool discovery before asking the agent to execute anything. An MCP connection does not change the configured reasoning model.
No. This configuration adds tools. Model-provider settings and any client subscription are separate from the BeatAPI operations you choose to run.
The snippets are request examples and the workflow describes a target deliverable. This page does not display invented response payloads, live performance measurements or customer endorsements.