MCP server
A read-only Model Context Protocol server exposes the same crop, pair, and bed grades as the site. No API key is required.
Endpoint
Endpoint: https://friendsintherow.com/mcp
Use streamable HTTP JSON-RPC at the URL shown below. Browsers that open the endpoint are redirected to this page.
Server card
The machine-readable card lives at /mcp/server-card. It matches mcp/server.json in the repository.
Tools
- list_crops: List garden crops. List vegetable, herb, and flower crops on Friends in the Row. Filter by category (vegetable, herb, flower), plant family, or free text..
- get_crop: Crop companion profile. Full crop profile with bed layer notes, neighbors grouped by evidence tier, pair links, and extension sources..
- check_pair: Check two crops together. Compatibility grade between two crops: verdict tier, mechanism tags, reason, conditions, citations, and pair page url when one exists..
- check_bed: Check a whole bed of crops. List every known relationship among 2 to 8 crops in one planned row: friends, practical wins, mixed, folklore, and avoid pairs with a short summary..
- get_grading_policy: How we grade companion claims. The five evidence tiers, mechanism tag definitions, and key university extension sources used on Friends in the Row..
Example requests
Send a POST with Content-Type: application/json and Accept: application/json.
Registry
Publish mcp/server.json to the MCP Registry when you are ready to list this server publicly.
Client configuration
{
"mcpServers": {
"friendsintherow": {
"url": "https://friendsintherow.com/mcp"
}
}
}JSON-RPC examples
Initialize:
{
"jsonrpc": "2.0",
"id": 1,
"method": "initialize",
"params": {
"protocolVersion": "2025-06-18",
"capabilities": {},
"clientInfo": {
"name": "demo",
"version": "1"
}
}
}Check a pair:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "check_pair",
"arguments": {
"crop_a": "tomato",
"crop_b": "basil"
}
}
}