Ranch MCP server
bot.ranch/mcp-server·v0.2.0·1 starsRead and write cattle and sheep records with farm-scoped, revocable access.
not scanned yet
1 stars37 downloads/wk
Reviews
Write oneNobody has reviewed Ranch yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Ranch tools
No tool declarations could be read from the package source. They show once the server is installed.
How Ranch compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 92/100
- higher than 95% of 48,255 servers
- GitHub stars
- 1
- more than 65% of 28,688 servers
- Downloads a week
- 37
- more than 28% of 12,191 servers with a package
Release history: 4 versions in the registry since 2026-09-16, latest 2026-10-20, typically one every 11 days.
Install Ranch in Claude Code, Cursor or VS Code
Runs npx -y @ranchbot/mcp-server on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add mcp-server -- npx -y @ranchbot/mcp-server
What the publisher says
From the Ranch repository's README, as published. We do not edit it. Read it on GitHub
Ranch.Bot MCP Server
Work with cattle and sheep records from a local stdio MCP client. Requires Node.js 22 or newer, a Ranch.Bot account and access to a farm. Ranch.Bot does not operate a hosted MCP endpoint.
Release availability
Check the release and setup page for verified public versions. A source checkout or candidate is not evidence that a version is available on npm or in the Registry. The public CLI has separate setup instructions. For everyday records, use SMS and web setup.
Terminal commands
With the installed ranchbot-mcp command, run ranchbot-mcp login in a terminal and approve the URL and code in your browser. Configure your local MCP client to run ranchbot-mcp with no arguments. Use an absolute executable path if the client does not inherit your terminal PATH. ranchbot-mcp --help and ranchbot-mcp --version require no authentication. Run ranchbot-mcp logout to revoke the session before removing its local credentials.
Source development
Requires Node.js 22 or newer and an authorized Ranch.Bot development environment.
npm install
npm run build
npm testRun the stdio entry directly from a local MCP client:
node /absolute/path/to/mcp-server/dist/index.jsSet these environment variables for the development environment:
The default is the stable public client ranchbot-mcp. Deploy its database migration before using cloud authentication. A local API URL alone does not select installation-local accounts.
Development watch mode:
npm run devLocal client configuration
A source checkout can point an MCP client at the built file. Example shape:
{
"mcpServers": {
"ranchbot-development": {
"command": "node",
"args": ["/absolute/path/to/mcp-server/dist/index.js"],
"env": {
"RANCHBOT_API_URL": "http://localhost:7001",
"COGNITO_DEVICE_CLIENT_ID": "development-public-client-id"
}
}
}
}Use a real public OAuth client from the development environment. Never commit API keys, OAuth tokens, or secret-bearing client registrations.
Authentication
The stdio transport uses Ranch.Bot's OAuth device flow. Run node dist/index.js login in a terminal before connecting your MCP client. Visit the displayed URL and explicitly approve browser access. Tool calls without a session return terminal-login instructions and do not start login. node dist/index.js logout revokes the session before clearing the cache; failed revocation retains credentials for a retry. --help and --version work without authentication. No arguments starts stdio.
Ordinary login requests read:farms, read/write animals, groups and records, and read:exports. Use listmyfarms then setdefaultfarm, or supply an explicit farm_id, before farm operations. A replacement session for a different principal clears the in-process farm selection. Tokens are cached locally in ~/.ranchbot-mcp-tokens.json with restricted file permissions and refresh when the configured environment supports it.
The optional self-hosted HTTP transport uses bearer API-key auth for development compatibility. API keys are deprecated and are not part of customer onboarding.
Admin import sign-in
For internal concierge imports, add --admin to the stdio command (or to the local client's args array):
node /absolute/path/to/mcp-server/dist/index.js --adminShortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Ranch: common questions
- Is Ranch MCP server safe?
- Yes, by our scan: it is graded A (92/100). Read the Ranch safety report
- How do I install Ranch?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Ranch need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Ranch maintained?
- The last commit was 33 days ago (2026-10-02). The latest release is v0.2.0.
- How does Ranch compare with other MCP servers?
- safety score 92/100 (higher than 95% of 48,255 servers); github stars 1 (more than 65% of 28,688 servers); downloads a week 37 (more than 28% of 12,191 servers with a package). Full comparison.