faostat_setup
Validate and store FAOSTAT credentials to authenticate automatically across sessions, using the system keychain or a protected config file.
Instructions
Validate and persist FAOSTAT credentials for automatic authentication across sessions. username is the account email. Saves to the system keychain when available and ~/.config/faostat-mcp/credentials.json (mode 600).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"username": "<username>",
"password": "<password>"
},
"name": "faostat_setup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| password | Yes | ||
| username | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |