@upstash/context7-mcp
Version:
MCP server for Context7
19 lines (18 loc) • 505 B
JavaScript
export const CODE_OPERATIONS = [
"grep",
"definition",
"references",
"outline",
"read",
"list",
];
export const CODE_OUTPUT_MODES = ["content", "files_with_matches", "count"];
/**
* Ranges of the numeric query-code fields. The server rejects a number out of
* its range with a 400, so the tool clamps numbers into these ranges first.
*/
export const CODE_LIMITS = {
context: { min: 0, max: 10 },
head_limit: { min: 1, max: 500 },
offset: { min: 0, max: 10_000 },
};