Skip to content

Instantly share code, notes, and snippets.

@eevmanu
Created July 31, 2026 17:28
Show Gist options
  • Select an option

  • Save eevmanu/34a833882dfe371bc2c16f815acb4a07 to your computer and use it in GitHub Desktop.

Select an option

Save eevmanu/34a833882dfe371bc2c16f815acb4a07 to your computer and use it in GitHub Desktop.
setup to use fff in project with claude code but only local config, don't force it for other peers
which fff-mcp
/home/user/path/to/.../bin/fff-mcp


cd /path/to/project/


jq .enabledMcpjsonServers .claude/settings.local.json
[
  "fff"
]


jq .mcpServers.fff .mcp.json
{
  "type": "stdio",
  "command": "/home/user/path/to/.../bin/fff-mcp",
  "args": [],
  "env": {}
}


cat .claude/rules/local-fff.md
For any file search or grep in the current git-indexed directory, use fff tools.


cat .git/info/exclude | grep -i fff
**/.claude/rules/local-fff.md


git check-ignore -v --no-index .claude/rules/local-fff.md
.git/info/exclude:20:**/.claude/rules/local-fff.md      .claude/rules/local-fff.md
@eevmanu

eevmanu commented Jul 31, 2026

Copy link
Copy Markdown
Author

pending to confirm

add this change related to allow mcp__fff__* and deny the bundled native tools to search code

...
"permissions": {
  "allow": [
    ...
    "mcp__fff__*"
  ],
  "deny": ["Grep", "Glob"]
}
...

on .claude/settings.local.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment