로컬 MCP server를 통해 AI 클라이언트가 농장 범위 내의 소 및 양 기록을 읽고 쓸 수 있도록 지원합니다.
다른 이름 RanchBot/mcp-server, @ranchbot/mcp-server
- 스타
- 1
- Tools
- —
- 다운로드, 30일
- —
- 최신 버전
- 0.2.0
- 마지막 커밋
- 2026년 10월 20일
- 라이선스
- MIT
Ranch.Bot MCP란?
Ranch.Bot은(는) MCP server입니다. 로컬 MCP server를 통해 AI 클라이언트가 농장 범위 내의 소 및 양 기록을 읽고 쓸 수 있도록 지원합니다.
프로젝트 README에서 생성된 요약
Ranch.Bot MCP server 정보
이 로컬 MCP server를 사용하면 Ranch.Bot 계정과 연결하여 AI 어시스턴트로 가축 데이터를 관리할 수 있습니다. 생산자를 위해 설계된 이 server는 stdio transport를 사용하여 AI 클라이언트가 소와 양의 기록을 읽고 쓸 수 있도록 합니다. 농장 범위(farm-scoped) 기반으로 작동하므로, 연결된 클라이언트에는 한 번에 하나의 농장 데이터만 노출됩니다.
server를 사용하려면 Node.js 22 이상과 농장 액세스 권한이 있는 Ranch.Bot 계정이 필요합니다. 설정 과정은 npm을 통해 패키지를 설치하고 ranchbot-mcp login 명령어를 사용하여 브라우저에서 인증하는 방식으로 진행되며, 이를 통해 수동 API key 입력이 필요 없습니다. 설정이 완료되면 AI 클라이언트는 list_animals 및 list_records와 같은 도구를 사용하여 재고를 조회하거나 이력을 관리할 수 있습니다.
데이터를 쓰려면 특정 역할과 권한이 필요합니다. Reader는 조회를 수행할 수 있으며, Editor와 Owner는 업데이트를 생성하거나 출생을 확정할 수 있습니다. 이 server는 preview_birth_event 및 confirm_birth_event를 사용하여 농장 기록에 변경 사항을 반영하기 전 데이터 정확성을 확인하는 등 복잡한 워크플로우를 지원합니다.
활용 사례
- 1농장 재고 요약AI에게 특정 농장의 현재 가축 개체수에 대한 전체 요약을 요청하십시오.
- 2서로 다른 가축 기록 대조어시스턴트를 사용하여 스프레드시트, 메모, PDF 파일을 공식 농장 기록과 비교하십시오.
프로젝트의 README를 바탕으로 작성되었습니다. 모든 활용 사례는 해당 내용의 인용문과 대조하여 확인합니다.
Ranch.Bot MCP 설치 방법
형식 확인: 2026년 11월 10일Cursor에 추가Goose에 추가Claude Code에 Ranch.Bot MCP 설치
$ claude mcp add mcp-server -- npx -y @ranchbot/mcp-serverCursor에 Ranch.Bot MCP 설치
~/.cursor/mcp.json
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@ranchbot/mcp-server"
]
}
}
}VS Code에 Ranch.Bot MCP 설치
.vscode/mcp.json
{
"servers": {
"mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@ranchbot/mcp-server"
]
}
}
}VS Code CLI에 Ranch.Bot MCP 설치
$ code --add-mcp '{"name":"mcp-server","type":"stdio","command":"npx","args":["-y","@ranchbot/mcp-server"]}'Claude Desktop에 Ranch.Bot MCP 설치
claude_desktop_config.json
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@ranchbot/mcp-server"
]
}
}
}Codex에 Ranch.Bot MCP 설치
$ codex mcp add mcp-server -- npx -y @ranchbot/mcp-serverCodex config.toml에 Ranch.Bot MCP 설치
~/.codex/config.toml
[mcp_servers.mcp-server] command = "npx" args = ["-y", "@ranchbot/mcp-server"]
Gemini CLI에 Ranch.Bot MCP 설치
$ gemini mcp add -s user mcp-server npx -- -y @ranchbot/mcp-serverGemini settings.json에 Ranch.Bot MCP 설치
~/.gemini/settings.json
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@ranchbot/mcp-server"
]
}
}
}자동 검사
2026년 11월 14일에 실행됨전체 보고서 →자동 검사를 통과했습니다. 이는 보안 감사가 아닙니다. 코드를 직접 읽고 서버에 필요한 최소한의 권한만 부여하십시오. 검사 방식
- 소스 저장소 연결 및 접근 가능ranchbot/mcp-server is public and reachablegithub.com/ranchbot/mcp-server ↗통과
- 패키지가 이 저장소를 소스로 명시@ranchbot/mcp-server names ranchbot/mcp-server as sourcenpmjs.com/package/@ranchbot/mcp-server ↗통과
- 빌드 출처(Sigstore 증명)Sigstore attestation for @ranchbot/mcp-servernpmjs.com/package/@ranchbot/mcp-server/v/0.2.0#provenance ↗통과
- 오픈 소스 라이선스 (OSI)MITspdx.org/licenses/MIT.html ↗통과
- 최근 1년 내 커밋 또는 릴리스Last commit or release 2026-10-20github.com/ranchbot/mcp-server ↗통과
- OpenSSF Scorecard검사되지 않음
- 패키지 이름이 인기 패키지와 유사하지 않음No popular package one edit away from @ranchbot/mcp-server통과
- 패키지 및 해당 종속성에 중요한 보안 권고 없음119 resolved dependencies checked; no critical advisoryosv.dev ↗통과
- 모델에 대한 숨겨진 지침 없음0 tool descriptions and the README read; no override phrases, credential paths or hidden characters통과
- 파괴적인 도구에 라벨 표시됨검사되지 않음
- 원격 엔드포인트가 MCP 핸드셰이크에 응답검사되지 않음
README
GitHub에서 보기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. Hosted connections are not public yet. ChatGPT access is a private pilot. Ranch.Bot’s Claude connector is in review; you can still connect it privately as a custom connector.
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.2.0). 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/mcp-server@0.2.0
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:
list_my_farmswith{}. Choose the intended farm ID. If more than one farm is plausible and the producer did not name one, ask instead of guessing.list_animalswith{"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.
list_animals accepts query, match_mode (exact default, or partial) and
identifier_type; exact matches saved identifiers and the current profile name, partial is literal
substring discovery over profile names and NAME/MANAGEMENT_TAG identifiers. list_records
accepts animal_id, group_id, include_group_context and explicit inclusive/exclusive
applied_from/applied_before RFC3339 bounds; the first three and the bounds activate bounded
history mode. Scoped credentials need the matching extra read scope for a target filter.
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.
Direct births use preview_birth_event → approval → confirm_birth_event. Saved amendments and
entered-in-error use preview_workflow with operation: "amend_birth", the record revision and a
reason, then exact approval and commit_workflow, when exposed by the connected release. Never
re-record a birth as a correction; if capability is missing, stop and contact
support. 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, saved amendments, and capability limits.
- 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: support@ranch.bot.
License
MIT. See LICENSE.
Ranch.Bot MCP 질문
Ranch.Bot MCP를 Claude Code에 추가하려면 어떻게 하나요?
터미널에서 claude mcp add mcp-server -- npx -y @ranchbot/mcp-server를 실행합니다. 모든 프로젝트에서 사용할 수 있게 하려면 --scope user를 추가합니다.
Ranch.Bot MCP를 Cursor에 추가하려면 어떻게 하나요?
~/.cursor/mcp.json를 열고 mcpServers 아래에 서버를 추가합니다. 위 설치 섹션에 표시된 Cursor 구성을 사용합니다.
Ranch.Bot MCP server에 어떻게 로그인하나요?
ranchbot-mcp login 명령어를 실행한 후, 브라우저에 표시된 URL을 열어 요청된 액세스를 승인하십시오.
이 server를 사용하려면 API key가 필요한가요?
아니요, 인증을 위해 API key는 필요하지 않습니다.
설치를 위한 시스템 요구 사항은 무엇인가요?
Node.js 버전 22 이상, Ranch.Bot 계정 및 농장 액세스 권한이 필요합니다.
ChatGPT와 함께 사용할 수 있나요?
ChatGPT 액세스는 현재 프라이빗 파일럿 단계입니다.