Friends in the Row
Diagram of a garden bed connected to an API endpoint for companion planting lookups.

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

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"
    }
  }
}