API & MCP

Create a key

Keys

Connect a wallet to see, cap, or revoke your keys.

Remote MCP for Claude Code and Cursor

get_balancelist_modelschat_completionscrape_urllist_sandboxescreate_sandboxexec_sandboxkill_sandboxlist_receipts
{
  "mcpServers": {
    "tenon": {
      "type": "http",
      "url": "http://localhost:4663/api/mcp",
      "headers": {
        "Authorization": "Bearer axk_live_YOUR_KEY"
      }
    }
  }
}

OpenAI SDK

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "http://localhost:4663/api/v1",
  apiKey: "axk_live_YOUR_KEY",
});
const res = await client.chat.completions.create({
  model: "openai/gpt-6.2-sol",
  messages: [{ role: "user", content: "Hello Tenon!" }],
});