# OpenFile with Vercel AI SDK

Source: https://joinopenfile.com/docs/agents/vercel-ai-sdk
Index: https://joinopenfile.com/llms.txt

Connect Vercel AI SDK to the OpenFile [MCP server](https://joinopenfile.com/docs/mcp.md) and it can check names, price filings and prepare them. It needs no key or account.

## Connect

```ts
import { createMCPClient } from "@ai-sdk/mcp";

const client = await createMCPClient({
  transport: { type: "http", url: "https://mcp.joinopenfile.com" },
});
const tools = await client.tools();
```

## Try it

Your agent can then handle requests like:

- "Form a Wyoming LLC for my candle business."
- "Is QUILLBROOK likely to be refused as a trademark for candles?"
- "What would it cost to file a trademark in two classes?"
- "Where is my order?"

Have your agent call `plan_task` first, so it asks the person what it needs instead of guessing.

## What you still do yourself

Your agent prepares the draft and sends the owner a link. They open it, check every answer and sign. An agent can't sign for them, and it never handles a Social Security number. [Why the owner signs](https://joinopenfile.com/docs/mcp.md#how-an-agent-files).

## Check it worked

List the tools it loaded. You should see `plan_task`, `create_formation` and `search_docs`.
