Skip to content
LangChain

OSF CLI Go for LangChain

io.github.edithatogo/osf-cli-go

Read-only MCP tools for authenticated Open Science Framework projects and files.

client:LangChain transport:stdio runtime:oci

Install OSF CLI Go in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "osf-cli-go": {
            "transport": "stdio",
            "command": "docker",
            "args": ["run", "-i", "--rm", "ghcr.io/edithatogo/osf-cli-go-osf-mcp:0.3.2"],
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

OSF CLI Go in other clients