Gitattributes checker (exact git rules) for LangChain
io.github.lawatch/gitattributes-check
Which git attributes apply to a file (line endings, binary, LFS, linguist) and which line decides.
client:LangChain
transport:stdio
runtime:oci
Install Gitattributes checker (exact git rules) in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"gitattributes-check": {
"transport": "stdio",
"command": "docker",
"args": ["run", "-i", "--rm", "ghcr.io/lawatch/gitattributes-check:1.0.0"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs