spec-harness for LangChain
io.github.spec-family/spec-harness
Rounds of agent work under a brief: context to start, a check on each path, an audit at the end.
client:LangChain
transport:stdio
runtime:npm
Install spec-harness in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"spec-harness": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "@spec-family/spec-harness"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs