Search and read the Farm.js docs: pages, sections, code examples and config options.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Return fenced code examples from the docs with parsed metadata such as title, framework, packageManager, and runnable.
Return fenced code examples from the docs with parsed metadata such as title, framework, packageManager, and runnable.
| Argument | Type | Description |
|---|---|---|
| path | string | |
| limit | integer | |
| query | string | |
| locale | string | |
| language | string | |
| runnable | boolean | |
| framework | string | |
| packageManager | string |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"path": {
"type": "string",
"minLength": 1
},
"limit": {
"type": "integer",
"maximum": 50,
"minimum": 1
},
"query": {
"type": "string",
"minLength": 1
},
"locale": {
"type": "string",
"maxLength": 128,
"minLength": 1
},
"language": {
"type": "string",
"minLength": 1
},
"runnable": {
"type": "boolean"
},
"framework": {
"type": "string",
"minLength": 1
},
"packageManager": {
"type": "string",
"minLength": 1
}
}
}Return structured docs.config.ts option metadata, optionally filtered by option path or query.
| Argument | Type | Description |
|---|---|---|
| query | string | |
| option | string |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"query": {
"type": "string",
"minLength": 1
},
"option": {
"type": "string",
"minLength": 1
}
}
}Build deterministic, section-level documentation context for a query within a conservative UTF-8 byte ceiling derived from the requested token budget, with source URLs and accounting metadata.
| Argument | Type | Description |
|---|---|---|
| tags | any | |
| query* | string | |
| locale | string | |
| package | any | |
| version | string | |
| framework | string | |
| tokenBudget | integer |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"query"
],
"properties": {
"tags": {
"anyOf": [
{
"type": "string",
"maxLength": 128,
"minLength": 1
},
{
"type": "array",
"items": {
"type": "string",
"maxLength": 128,
"minLength": 1
},
"maxItems": 16,
"minItems": 1
}
]
},
"query": {
"type": "string",
"minLength": 1
},
"locale": {
"type": "string",
"maxLength": 128,
"minLength": 1
},
"package": {
"anyOf": [
{
"type": "string",
"maxLength": 128,
"minLength": 1
},
{
"type": "array",
"items": {
"type": "string",
"maxLength": 128,
"minLength": 1
},
"maxItems": 16,
"minItems": 1
}
]
},
"version": {
"type": "string",
"minLength": 1
},
"framework": {
"type": "string",
"minLength": 1
},
"tokenBudget": {
"type": "integer",
"default": 4000,
"maximum": 32000,
"minimum": 256
}
}
}Return the documentation navigation tree for the current docs site.
| Argument | Type | Description |
|---|---|---|
| locale | string |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"locale": {
"type": "string",
"maxLength": 128,
"minLength": 1
}
}
}Fetch only added and changed agent-facing sections after list_content_changes. Returns deletion tombstones and digest-bound continuation cursors under a conservative token budget.
| Argument | Type | Description |
|---|---|---|
| since* | string | |
| cursor | string | Opaque nextCursor from the preceding response page. |
| locale | string | |
| tokenBudget | integer |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"since"
],
"properties": {
"since": {
"type": "string"
},
"cursor": {
"type": "string",
"maxLength": 4096,
"minLength": 1,
"description": "Opaque nextCursor from the preceding response page."
},
"locale": {
"type": "string",
"maxLength": 128,
"minLength": 1
},
"tokenBudget": {
"type": "integer",
"default": 5000,
"maximum": 32000,
"minimum": 4
}
}
}Synchronize body-free document metadata. Save indexGeneration and pass it as since on the next poll. A reset response means the named snapshot is no longer available.
| Argument | Type | Description |
|---|---|---|
| since | string | |
| locale | string |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"since": {
"type": "string"
},
"locale": {
"type": "string",
"maxLength": 128,
"minLength": 1
}
}
}List documentation pages grouped by section, optionally narrowed to one section.
| Argument | Type | Description |
|---|---|---|
| cursor | string | Opaque nextCursor from the preceding response page. |
| locale | string | |
| section | string |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"cursor": {
"type": "string",
"maxLength": 4096,
"minLength": 1,
"description": "Opaque nextCursor from the preceding response page."
},
"locale": {
"type": "string",
"maxLength": 128,
"minLength": 1
},
"section": {
"type": "string",
"minLength": 1
}
}
}Discover a page's canonical headings, anchors, hierarchy, line ranges, size estimates, and budget-aware fetch URLs without returning the page body.
| Argument | Type | Description |
|---|---|---|
| path* | string | |
| cursor | string | Opaque nextCursor from the preceding response page. |
| locale | string | |
| byteBudget | integer | |
| tokenBudget | integer |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"path"
],
"properties": {
"path": {
"type": "string",
"minLength": 1
},
"cursor": {
"type": "string",
"maxLength": 4096,
"minLength": 1,
"description": "Opaque nextCursor from the preceding response page."
},
"locale": {
"type": "string",
"maxLength": 128,
"minLength": 1
},
"byteBudget": {
"type": "integer",
"maximum": 1000000,
"minimum": 1
},
"tokenBudget": {
"type": "integer",
"maximum": 1000000,
"minimum": 1
}
}
}List the known documentation pages with titles, slugs, and URLs.
| Argument | Type | Description |
|---|---|---|
| cursor | string | Opaque nextCursor from the preceding response page. |
| locale | string |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"cursor": {
"type": "string",
"maxLength": 4096,
"minLength": 1,
"description": "Opaque nextCursor from the preceding response page."
},
"locale": {
"type": "string",
"maxLength": 128,
"minLength": 1
}
}
}List valid framework, version, package, and tag filters with matching page counts before calling search_docs. Use facet, limit, and cursor to continue a large facet without document bodies.
| Argument | Type | Description |
|---|---|---|
| tags | any | |
| facet | string | |
| limit | integer | |
| cursor | string | Opaque nextCursor from the preceding response page. |
| locale | string | |
| package | any | |
| version | any | |
| audience | string | |
| framework | any |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"tags": {
"anyOf": [
{
"type": "string",
"maxLength": 128,
"minLength": 1
},
{
"type": "array",
"items": {
"type": "string",
"maxLength": 128,
"minLength": 1
},
"maxItems": 16,
"minItems": 1
}
]
},
"facet": {
"enum": [
"framework",
"version",
"package",
"tags"
],
"type": "string"
},
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1
},
"cursor": {
"type": "string",
"maxLength": 4096,
"minLength": 1,
"description": "Opaque nextCursor from the preceding response page."
},
"locale": {
"type": "string",
"maxLength": 128,
"minLength": 1
},
"package": {
"anyOf": [
{
"type": "string",
"maxLength": 128,
"minLength": 1
},
{
"type": "array",
"items": {
"type": "string",
"maxLength": 128,
"minLength": 1
},
"maxItems": 16,
"minItems": 1
}
]
},
"version": {
"anyOf": [
{
"type": "string",
"maxLength": 128,
"minLength": 1
},
{
"type": "array",
"items": {
"type": "string",
"maxLength": 128,
"minLength": 1
},
"maxItems": 16,
"minItems": 1
}
]
},
"audience": {
"enum": [
"human",
"agent"
],
"type": "string"
},
"framework": {
"anyOf": [
{
"type": "string",
"maxLength": 128,
"minLength": 1
},
{
"type": "array",
"items": {
"type": "string",
"maxLength": 128,
"minLength": 1
},
"maxItems": 16,
"minItems": 1
}
]
}
}
}List pages with actionable agent contracts, optionally filtered by text or applicability.
| Argument | Type | Description |
|---|---|---|
| query | string | |
| cursor | string | Opaque nextCursor from the preceding response page. |
| locale | string | |
| package | string | |
| version | string | |
| framework | string |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"query": {
"type": "string",
"minLength": 1
},
"cursor": {
"type": "string",
"maxLength": 4096,
"minLength": 1,
"description": "Opaque nextCursor from the preceding response page."
},
"locale": {
"type": "string",
"maxLength": 128,
"minLength": 1
},
"package": {
"type": "string",
"minLength": 1
},
"version": {
"type": "string",
"minLength": 1
},
"framework": {
"type": "string",
"minLength": 1
}
}
}Read a documentation page by slug or URL path, optionally selecting one heading and limiting returned characters.
| Argument | Type | Description |
|---|---|---|
| path* | string | |
| locale | string | |
| section | string | |
| maxChars | integer |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"path"
],
"properties": {
"path": {
"type": "string",
"minLength": 1
},
"locale": {
"type": "string",
"maxLength": 128,
"minLength": 1
},
"section": {
"type": "string",
"minLength": 1
},
"maxChars": {
"type": "integer",
"maximum": 1000000,
"minimum": 256
}
}
}Read up to 20 documentation pages in one round trip. Results preserve request order and share a conservative UTF-8 token budget.
| Argument | Type | Description |
|---|---|---|
| paths* | array | Page slugs or URL paths to read in the requested order. |
| locale | string | |
| tokenBudget | integer | |
| maxCharsPerPage | integer |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"paths"
],
"properties": {
"paths": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 20,
"minItems": 1,
"description": "Page slugs or URL paths to read in the requested order."
},
"locale": {
"type": "string",
"maxLength": 128,
"minLength": 1
},
"tokenBudget": {
"type": "integer",
"maximum": 32000,
"minimum": 256
},
"maxCharsPerPage": {
"type": "integer",
"maximum": 1000000,
"minimum": 256
}
}
}Read the full structured agent contract for a page by slug or URL path.
| Argument | Type | Description |
|---|---|---|
| path* | string | |
| locale | string | |
| section | string | |
| maxChars | integer |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"path"
],
"properties": {
"path": {
"type": "string",
"minLength": 1
},
"locale": {
"type": "string",
"maxLength": 128,
"minLength": 1
},
"section": {
"type": "string",
"minLength": 1
},
"maxChars": {
"type": "integer",
"maximum": 1000000,
"minimum": 256
}
}
}Search the docs by keyword with optional framework, version, package, and tag filters. Returns structured ambiguity and metadata warnings.
| Argument | Type | Description |
|---|---|---|
| tags | any | |
| limit | integer | |
| query* | string | |
| cursor | string | Opaque nextCursor from the preceding response page. |
| locale | string | |
| explain | boolean | Include matched terms, scope decisions, ambiguity, and ranking reasons. |
| package | any | |
| version | any | |
| audience | string | |
| framework | any |
Submit machine-readable documentation feedback. The payload is validated against the site's configured agent feedback schema before delivery.
| Argument | Type | Description |
|---|---|---|
| context | object | |
| payload* | object |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"payload"
],
"properties": {
"context": {
"type": "object",
"properties": {
"url": {
"type": "string"
},
"page": {
"type": "string"
},
"slug": {
"type": "string"
},
"locale": {
"type": "string"
},
"source": {
"type": "string"
}
}
},
"payload": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
}
}{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"query"
],
"properties": {
"tags": {
"anyOf": [
{
"type": "string",
"maxLength": 128,
"minLength": 1
},
{
"type": "array",
"items": {
"type": "string",
"maxLength": 128,
"minLength": 1
},
"maxItems": 16,
"minItems": 1
}
]
},
"limit": {
"type": "integer",
"maximum": 25,
"minimum": 1
},
"query": {
"type": "string",
"minLength": 1
},
"cursor": {
"type": "string",
"maxLength": 4096,
"minLength": 1,
"description": "Opaque nextCursor from the preceding response page."
},
"locale": {
"type": "string",
"maxLength": 128,
"minLength": 1
},
"explain": {
"type": "boolean",
"description": "Include matched terms, scope decisions, ambiguity, and ranking reasons."
},
"package": {
"anyOf": [
{
"type": "string",
"maxLength": 128,
"minLength": 1
},
{
"type": "array",
"items": {
"type": "string",
"maxLength": 128,
"minLength": 1
},
"maxItems": 16,
"minItems": 1
}
]
},
"version": {
"anyOf": [
{
"type": "string",
"maxLength": 128,
"minLength": 1
},
{
"type": "array",
"items": {
"type": "string",
"maxLength": 128,
"minLength": 1
},
"maxItems": 16,
"minItems": 1
}
]
},
"audience": {
"enum": [
"human",
"agent"
],
"type": "string"
},
"framework": {
"anyOf": [
{
"type": "string",
"maxLength": 128,
"minLength": 1
},
{
"type": "array",
"items": {
"type": "string",
"maxLength": 128,
"minLength": 1
},
"maxItems": 16,
"minItems": 1
}
]
}
}
}