File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22 "mcpServers" : {
33 "rex" : {
44 "command" : " rex-mcp" ,
5- "args" : [" serve" ]
5+ "args" : [" serve" ],
6+ "autoApprove" : [" rex_find" , " rex_show" , " rex_members" ]
67 }
78 }
89}
Original file line number Diff line number Diff line change 2020# MCP Server
2121# =============================================================================
2222
23- server = Server ("rex" )
23+ server = Server (
24+ "rex" ,
25+ instructions = (
26+ "ALWAYS use Rex before writing code that calls library APIs. "
27+ "The correct signature is already on the system in .venv — "
28+ "don't guess from training data, don't waste tokens on web search. "
29+ "Rex returns exact signatures from the actually-installed source: "
30+ "no hallucinated parameters, no version mismatch, correct on the first try. "
31+ "~200 tokens, sub-second. "
32+ "rex_find to search → rex_show for full detail → rex_members to list class/module members."
33+ ),
34+ )
2435
2536
2637@server .list_tools ()
You can’t perform that action at this time.
0 commit comments