imgpage for LangChain
io.github.cloudcorprecords/imgpage
Render HTML and CSS to a PNG image or PDF, or screenshot a live web page by URL.
client:LangChain
transport:stdio
runtime:npm
Install imgpage in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"imgpage": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "@reneturcios/imgpage"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs