NYT Cooking MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| NYT_USER_ID | No | The regi_id value from the regi_cookie, used with NYT_S_COOKIE for authentication. | |
| NYT_S_COOKIE | No | Value of the NYT-S cookie from cooking.nytimes.com, used to authenticate for saved recipes. | |
| NYT_MCP_ALLOWED_HOSTS | No | Comma-separated allowed hosts for HTTP server (e.g., 'your.server.ip:*'). |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_recipesA | Search NYT Cooking for recipes matching a natural-language query. Args: query: Search terms, e.g. "chicken parmesan" or "vegetarian chili". Returns a list of results with id, name, url and author. Use the id with get_recipe to fetch full ingredients and steps. |
| get_recipeA | Fetch full details for a single NYT Cooking recipe by its numeric id. Args: recipe_id: The recipe id, e.g. "1019049" (from a search result or URL). Returns name, author, time, servings, rating, description, ingredients and step-by-step instructions. |
| list_saved_recipesA | List recipes saved in the user's NYT Cooking recipe box. Requires a configured user id and a valid session cookie (see Args: page: 1-indexed page number. per_page: Number of results per page (default 48). |
| loginA | Store your NYT Cooking credentials so the server stays logged in. NYT Cooking has no OAuth, so credentials are harvested once from your logged-in browser and persisted server-side (like a session token):
The credentials are written to the server's credentials file and verified with a live request before returning. |
| logoutA | Delete the stored NYT Cooking credentials from the server. |
| auth_statusA | Report whether NYT credentials (session cookie and user id) are configured. Does not reveal the values. Useful for diagnosing auth_required errors. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/bramboe/nyt-cooking-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server