Memungkinkan AI client untuk mencari dan membaca dokumentasi Farm.js, termasuk halaman, bagian, contoh kode, dan opsi konfigurasi.
Juga dikenal sebagai farming-labs/farm.js, docs
- Stars
- 660
- Tools
- —
- Unduhan, 30 hari
- —
- Versi terbaru
- 0.1.28
- Commit terakhir
- 15 Nov 2026
- Lisensi
- MIT
Apa itu Farm.js Docs MCP?
Farm.js Docs adalah MCP server. Memungkinkan AI client untuk mencari dan membaca dokumentasi Farm.js, termasuk halaman, bagian, contoh kode, dan opsi konfigurasi.
Ringkasan dibuat dari README proyek
Tentang Farm.js Docs MCP server
Mengakses dokumentasi Farm.js secara langsung melalui AI client memungkinkan developer untuk mengambil detail teknis tanpa harus meninggalkan lingkungan pengembangan mereka. MCP server ini menyediakan cara untuk mencari dan membaca halaman, bagian, contoh kode, serta opsi konfigurasi spesifik yang terkait dengan framework Farm.js. Tool ini dirancang untuk pengguna yang membutuhkan akses cepat ke spesifikasi teknis saat sedang melakukan coding.
Setup server ini melibatkan penggunaan command seperti pnpm install dan pnpm dev dari root repository untuk menghosting dokumentasi secara lokal. Sistem ini mendukung berbagai route dokumentasi termasuk Getting Started, Routing, dan Layouts. Developer dapat berinteraksi dengan konten dokumentasi untuk memahami file-based routing atau cara mengimplementasikan root dan nested layouts. Karena situs dokumentasi ini dibangun menggunakan Farm.js itu sendiri, ia berfungsi sebagai referensi langsung untuk kapabilitas framework tersebut.
Ditulis berdasarkan README proyek. Setiap use case diperiksa terhadap kutipan dari README tersebut.
Cara menginstal Farm.js Docs MCP
Format diverifikasi 10 Nov 2026Tambahkan ke CursorTambahkan ke GooseInstal Farm.js Docs MCP di Claude Code
$ claude mcp add --transport http docs https://mcp.farmjs.dev/mcpInstal Farm.js Docs MCP di Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"docs": {
"url": "https://mcp.farmjs.dev/mcp"
}
}
}Instal Farm.js Docs MCP di VS Code
.vscode/mcp.json
{
"servers": {
"docs": {
"type": "http",
"url": "https://mcp.farmjs.dev/mcp"
}
}
}Instal Farm.js Docs MCP di VS Code CLI
$ code --add-mcp '{"name":"docs","type":"http","url":"https://mcp.farmjs.dev/mcp"}'Instal Farm.js Docs MCP di Codex
$ codex mcp add docs --url https://mcp.farmjs.dev/mcpInstal Farm.js Docs MCP di Codex config.toml
~/.codex/config.toml
[mcp_servers.docs] url = "https://mcp.farmjs.dev/mcp"
Instal Farm.js Docs MCP di Gemini CLI
$ gemini mcp add -s user --transport http docs https://mcp.farmjs.dev/mcpInstal Farm.js Docs MCP di Gemini settings.json
~/.gemini/settings.json
{
"mcpServers": {
"docs": {
"url": "https://mcp.farmjs.dev/mcp",
"type": "http"
}
}
}Pengecekan otomatis
Berjalan 12 Nov 2026Laporan lengkap →Lolos checks otomatis kami. Ini bukan audit keamanan: baca kodenya dan berikan server akses paling terbatas yang dibutuhkannya. Cara kerja checks
- Source repository terhubung dan dapat dijangkauLolos
- Lisensi open source (OSI)Lolos
- Ada commit atau release dalam satu tahun terakhirLolos
- Nama package tidak mirip dengan package populerTidak diperiksa
- Remote endpoint menggunakan HTTPSLolos
- Tools yang bersifat destruktif telah diberi labelTidak diperiksa
- Tidak ada instruksi tersembunyi untuk modelLolos
- Tidak ada advisory kritis pada paket atau dependensinyaTidak diperiksa
README
Lihat di GitHubFarm.js Docs (farmjs-docs)
Official documentation site for Farm.js, built with Farm.js.
Run locally
From the repo root:
pnpm install
pnpm run --filter farmjs-docs dev
Or from this directory (after pnpm install from root):
pnpm dev
Open http://localhost:3000.
Agent waitlist database
The /agents form posts to /api/waitlist. WaitlistEntry in prisma/schema.prisma
stores the normalized email (unique), signup description, and creation/update timestamps.
Repeat submissions update that record instead of creating duplicates.
Set a server-only WAITLIST_DATABASE_URL in docs/.env.local for a dedicated Postgres
database. Never prefix it with VITE_ or commit the credential. When omitted, the route
continues to use DATABASE_URL; telemetry always keeps using DATABASE_URL.
From docs, prepare a new dedicated database once:
pnpm db:waitlist
This requires WAITLIST_DATABASE_URL explicitly and only creates the WaitlistEntry
table when it is absent. It never resets a database or modifies telemetry tables. Keep
prisma/waitlist.sql aligned with the Prisma model for future schema changes; the bootstrap
does not upgrade an existing table.
For production, set WAITLIST_DATABASE_URL on the Vercel project serving farmjs.dev,
scoped to Production, then deploy the updated app. Do not replace the existing telemetry
DATABASE_URL or give PR previews access to the production waitlist. Apply the bootstrap
against that same database before the deployment accepts signups; schema changes are not
run automatically during builds.
Farm development loads .env.local. To run a locally built Node output from the repo root:
node --env-file=docs/.env.local docs/.farm/.output/server/index.mjs
Build
From the repo root:
pnpm run --filter farmjs-docs build
The production Vercel artifact is written to .vercel/output.
Runtime-only core build
The documentation-site build opts into @farm.js/core's runtime-only package build:
pnpm --filter @farm.js/core build:runtime
This builds the same ESM, CJS, and source-map artifacts as the default core build, but skips
TypeScript declaration generation because the deployed website does not consume .d.ts files.
The optimization applies to the complete farmjs.dev application, including the landing page and
documentation routes.
The regular package and release build remains the default and continues to generate declarations:
pnpm --filter @farm.js/core build
Use build:runtime only for application deployments that need executable runtime artifacts. Do not
use it for package publishing, release validation, or any workflow that consumes generated types.
Structure
- Landing (
/) – Hero, features, and CTAs - Docs (
/docs) – Documentation index - Getting Started (
/docs/getting-started) – Installation and first steps - Routing (
/docs/routing) – File-based routing - Layouts (
/docs/layouts) – Root and nested layouts
Pertanyaan tentang Farm.js Docs MCP
Bagaimana cara menambahkan Farm.js Docs MCP ke Claude Code?
Jalankan claude mcp add --transport http docs https://mcp.farmjs.dev/mcp di terminal Anda. Tambahkan --scope user agar tersedia di semua proyek.
Bagaimana cara menambahkan Farm.js Docs MCP ke Cursor?
Buka ~/.cursor/mcp.json dan tambahkan server di bawah mcpServers, menggunakan config Cursor yang ditunjukkan di bagian instalasi di atas.
Bagaimana cara menjalankan situs dokumentasi Farm.js secara lokal?
Jalankan pnpm install dari root repo, lalu mulai dev server dengan pnpm dev dari direktori docs dan buka localhost:3000.
Bagian dokumentasi apa saja yang tersedia?
Situs ini mencakup bagian landing, indeks docs, getting started, routing, dan layouts.
Apakah situs dokumentasi memiliki konfigurasi database sendiri?
Ya, formulir waitlist agent menyimpan entri di Postgres menggunakan variabel server-only WAITLIST_DATABASE_URL.
Bagaimana output build dokumentasi produksi dihasilkan?
Membangun package farmjs-docs akan menulis artifact produksi Vercel ke .vercel/output.