Skip to content

Connect agents

Mynahcast has two doors, both authenticated with a bearer API key.

MCP server. POST https://api.mynahcast.xyz/mcp. Streamable HTTP, stateless JSON-RPC (initialize, tools/list, tools/call). Tools are named mynahcast_*, filtered by your key's scopes, and every tool that changes data accepts dry_run. Keys go in the Authorization header, never in the URL.

REST API + OpenAPI. Every operation under /v1, described by https://api.mynahcast.xyz/v1/openapi.json. Use it for ChatGPT actions, function-calling agents, or your own scripts.

Pick your agent

A generic MCP config

Most MCP clients accept this shape (Cursor, Kimi Code, Manus import):

mcpServers
{
"mcpServers": {
  "mynahcast": {
    "url": "https://api.mynahcast.xyz/mcp",
    "headers": { "Authorization": "Bearer myn_live_…" }
  }
}
}

The command line

The myn CLI is generated from the same operations but isn't published yet. Until it is, call the REST API from scripts.