# Farm.js Docs MCP server

> Lets an AI client search and read Farm.js documentation, including pages, sections, code examples and configuration options.

- Repository: https://github.com/farming-labs/farm.js
- Page: https://hostedmcp.org/servers/farming-labs/docs
- Transport: remote
- Stars: 660
- License: MIT
- Latest version: 0.1.28

## Install

### Claude Code

```sh
claude mcp add --transport http docs https://mcp.farmjs.dev/mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "docs": {
      "url": "https://mcp.farmjs.dev/mcp"
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "docs": {
      "type": "http",
      "url": "https://mcp.farmjs.dev/mcp"
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"docs","type":"http","url":"https://mcp.farmjs.dev/mcp"}'
```

### Codex

```sh
codex mcp add docs --url https://mcp.farmjs.dev/mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.docs]
url = "https://mcp.farmjs.dev/mcp"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http docs https://mcp.farmjs.dev/mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "docs": {
      "url": "https://mcp.farmjs.dev/mcp",
      "type": "http"
    }
  }
}
```

## FAQ

### How do I run the Farm.js docs site locally?

Run pnpm install from the repo root, then start the dev server with pnpm dev from the docs directory and open localhost:3000.

### What documentation sections are available?

The site includes landing, docs index, getting started, routing and layouts sections.

### Does the docs site have its own database configuration?

Yes, the agent waitlist form stores entries in Postgres using a server-only WAITLIST_DATABASE_URL variable.

### How is the production docs build output generated?

Building the farmjs-docs package writes the production Vercel artifact to .vercel/output.
