Skip to main content
Glama
bramboe
by bramboe

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NYT_USER_IDNoThe regi_id value from the regi_cookie, used with NYT_S_COOKIE for authentication.
NYT_S_COOKIENoValue of the NYT-S cookie from cooking.nytimes.com, used to authenticate for saved recipes.
NYT_MCP_ALLOWED_HOSTSNoComma-separated allowed hosts for HTTP server (e.g., 'your.server.ip:*').

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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 login).

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):

  • nyt_s_cookie: value of the NYT-S cookie on cooking.nytimes.com (DevTools -> Application -> Cookies).

  • user_id: the regi_id value inside the regi_cookie (needed only for list_saved_recipes).

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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

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