ConvertFleet

MCP docsQuickstart › TypeScript

Connect TypeScript

Two minutes: mint a token, paste the config, list the tools.

1. Get a token

Open your dashboard → MCP / Agents and create a scoped cfm- token, ticking only the tools this agent should reach. Your account sk- key works too, but a scoped token is safer and can be revoked on its own.

2. Configure TypeScript

// npm i @modelcontextprotocol/sdk
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";

const transport = new StreamableHTTPClientTransport(new URL("https://convertfleet.online/mcp"), {
  requestInit: { headers: { Authorization: "Bearer YOUR_TOKEN" } },
});
const client = new Client({ name: "my-agent", version: "1.0.0" });
await client.connect(transport);
console.log((await client.listTools()).tools.map(t => t.name));
const out = await client.callTool({ name: "google_search", arguments: { query: "mcp servers" } });
console.log(out.structuredContent);

3. Verify

Ask the agent to list its ConvertFleet tools, or have it call account_status — it reports the plan, this month's usage and exactly which tools the token allows.

Tell the agent what it has. The server sends usage instructions on connect, so a well-behaved client already knows the catalog. If yours ignores them, have it call convertfleet_guide once at the start of a session.

Other clients