Developing
lnk-link-web is Link Web: an MCP server over stdio with two calls,
fetch and search, for any harness to reach as a tool. How to use
it, and why it works the way it does: Link Web.
It reads one thing of a harness's. A call's _meta may hold
"link.local/spec", the agent's spec's table for the tool, and its
fetch sets the part's size. Link Harness sends it, and without it a
part is 24 KB.
Build and test
From link-tools, with link-core beside it (LINK_CORE for another
place):
cargo build -p link-plugin-link-web
cargo test -p link-plugin-link-webweb/tests/mcp.rs drives it over stdio against pages and search APIs
served on this machine, named with --private-host 127.0.0.1, and
reaches the search API at LNK_WEB_SEARCH_URL. No test reaches the
internet or spends a search.
