Skip to content
plugmcp
DirectorySkillsCategoriesBlog
EN/δΈ­ζ–‡
Sign inSign up
Home/Servers/Ranch

Ranch

by bot.ranch

Read and write cattle and sheep records with farm-scoped, revocable access.

Power your agent

Add this server

The publisher's own command. Not a PlugMCP endpoint.

Local command
npx -y @ranchbot/[email protected]
Provider
Claude Code
claude mcp add bot.ranch-mcp-server -- npx -y @ranchbot/[email protected]

Run in a terminal.

Claude Desktop
{
  "mcpServers": {
    "bot.ranch-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@ranchbot/[email protected]"
      ]
    }
  }
}

claude_desktop_config.json

Step-by-step: add this in Claude

Remote URL or a command on your machine? How the two installs differ

Run on PlugMCP

Host a copy with our keys and logs.

A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.

Launch

Related MCP

View more
  • FirecrawlπŸ”₯ Official Firecrawl MCP Server - Adds powerful web scraping and search to Cursor, Claude and any other LLM clients.
  • N
    NotionToken-auth Notion MCP: pages, databases, blocks, comments, files. Runs headless in CI and agents.
  • Context7Context7 Platform -- Up-to-date code documentation for LLMs and AI code editors

Related skills

View all
  • reaReverse engineer anything with agents, from app behavior down to native binaries.
  • rea-changelog-updatePrepare or rewrite REA release changelogs and GitHub release notes from pinned Git history, with verified contributor thanks and Release Please synchronization.
  • rea-tool-designDesign or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.

Read and write cattle and sheep records with farm-scoped, revocable access.

Ranch.Bot MCP Server

Read and write cattle and sheep records through a local MCP server on your own computer. It uses your Ranch.Bot account over the stdio transport and exposes one farm at a time; Ranch.Bot operates no hosted MCP endpoint.

Requirements: Node.js 22 or newer, a Ranch.Bot account, and access to a farm.

Install and sign in

These commands install this source package's version (0.1.6). For the recommended public release, use the pinned command on MCP setup, the source of truth for setup; release status and promotion rules live in MAINTAINING.md. Stop older CLI and MCP processes before upgrading; never remove their active lock files.

npm install -g @ranchbot/[email protected]
ranchbot-mcp --version
ranchbot-mcp login

Open the printed URL, sign in, and explicitly approve the displayed code and requested access in your browser. No API key is needed. If login expires, run ranchbot-mcp login again; sign out with ranchbot-mcp logout. See Troubleshooting for access-denied and session problems, and keep passwords and token files out of assistant messages.

Configure a local stdio client

Point an MCP client at the installed command with no arguments:

{
  "mcpServers": {
    "ranchbot": { "command": "ranchbot-mcp", "args": [] }
  }
}

If the client cannot find the command, use its absolute executable path. Restart the client after changing configuration. ranchbot-mcp --help and ranchbot-mcp --version work without authentication. Any MCP client that can run a local stdio server works; this is not a certification of any named client.

First successful read

Ask the client to call these tools in order:

  1. list_my_farms with {}. Choose the intended farm ID. If more than one farm is plausible and the producer did not name one, ask instead of guessing.
  2. list_animals with {"farm_id":"<farm_id>"}, replacing the placeholder with that ID.

An empty list is a successful read. Pass farm_id explicitly on every scoped call; setting a default with set_default_farm is optional. If access is denied, check the account and farm membership; missing authentication means terminal login, then retry. Tool calls never start browser approval. A different account clears the process's default farm.

A useful read-only task: "Summarize the selected farm's current inventory." Read the complete relevant population, follow each operation's pagination (skip/take) and returned total, and report incomplete retrieval rather than presenting a first page as the whole answer.

Writing farm data

Ordinary writes save directly under your server permissions, without the app confirmation screen or its Change History. Before any mutation, present the operation, farm, resolved targets, exact values, and consequences and get explicit approval. Read the result back afterwards. If the outcome is uncertain, reconcile with reads before proposing another write.

Roles and scopes both apply: Readers can read, including the safe lookup_animal_by_eid; Editors or Owners can create and update and confirm a birth; deleting animals, groups, records, or identifiers needs Owner access. Birth confirmation also needs the write:records, write:animals, and write:groups scopes. A missing scope and a missing role are separate problems.

Births use a dedicated preview_birth_event β†’ approval β†’ confirm_birth_event workflow. A saved birth cannot be corrected through these tools: stop and refer the producer to support without promising an amendment. Read the birth events reference before handling births.

Farms can configure a versioned record_birth template that drives the shared preview_workflow β†’ approval β†’ commit_workflow flow. The list_workflow_templates, get_workflow_template, create_workflow_template, publish_workflow_template_version, update_workflow_template_state, and set_default_workflow_template tools manage that configuration (Owner writes with write:farms). After upgrading from a login that lacks write:farms, run ranchbot-mcp login and approve a fresh authorization. Refresh preserves the existing grant; it cannot add scopes. A new grant does not elevate your farm role. Commit requires the exact preview_hash read back from a fresh preview; a stale hash is rejected. Templates change labels, visibility, defaults, and custom observations only β€” the meaning and review controls of core birth fields do not change. See the workflow guide for the run and configuration steps.

Agent skill

The package ships the public Agent Skill bundle at skills/ranchbot (SKILL.md plus references/). It is optional guidance, not a capability or a security boundary; installation details are in the MCP reference.

Task references

  • MCP reference β€” connection, tool discovery, farm context, errors, and optional skill installation.
  • Birth events reference β€” preview, confirmation, retry, and unsupported corrections.
  • Exports reference β€” archive create, poll, cancel, and download.
  • Mixed-source reconciliation β€” historical imports, coverage ledgers, and lender-document caveats.

Jobs for an external assistant

A producer can authorize a local assistant to reconcile years of lambing spreadsheets, iPhone notes, messages, and livestock PDFs against one farm, produce custom reports, or compare farm history with an authorized lender or AgriStability snapshot for the same population and date. Totals are aggregate evidence, not individual animals or proof of current group membership; this is livestock reconciliation, not financial advice. Follow the mixed-source reconciliation recipe and the workflow pagination rules; MCP does not persist the coverage ledger.

Package guides

  • Workflows β€” find an animal, save an ordinary record, and preview and confirm a birth, with inputs, pagination, and recovery.
  • Architecture β€” the request path and which component enforces each guarantee.
  • Troubleshooting β€” login, farm selection, lock, and access problems.
  • Development β€” credential-free checks, the authenticated development server, and packaging.
  • Contributing β€” how changes reach this exported repository and where to send feedback.
  • Security β€” how to report a vulnerability privately.

Maintainer instructions

See MAINTAINING.md for development, admin login, local installations, EID migration, authentication troubleshooting, and detailed credential-lock recovery. For shell commands, use CLI setup. For everyday record entry, use SMS and web setup. Support: [email protected].

License

MIT. See LICENSE.

How do I install Ranch?
Copy the stdio config for Cursor, Claude Desktop, Claude Code, or VS Code on this page. It uses the publisher's install, not a PlugMCP proxy.
Does Ranch need an API key?
No required environment variable is listed on this record.
What transport does Ranch use?
Ranch runs locally over stdio.
When was Ranch last checked?
Last checked 2026-10-16. Read and write cattle and sheep records with farm-scoped, revocable access.

No tool list yet. Remote servers get one after the first health check.

plugmcp

Plug any tool into any agent. MCP servers for people who do not write servers. Gateway for volume, n8n for apps.

  • github.com/TODO
  • x.com/TODO
  • linkedin.com/company/TODO

PlugMCP, 2026

Product
  • Browse
  • Install
  • Host your own
  • Voice mode
  • Browser
Directory
  • All MCP servers
  • Agent skills
  • Categories
  • New
  • Voice
  • Submit a server
Developers
  • Docs
  • Blog
  • What is MCP
  • What is WebMCP
  • Status
Company
  • About
  • Contact
  • Terms
  • Privacy
  • DPA