@2ly/runtime
v0.2.5
Published
2ly Runtime - NodeJS processes for edge execution connected to backend orchestrator via NATS
Maintainers
Readme
2ly - Runtime
Runtime process for 2ly instances. Typically used to consume 2ly as MCP Server from an agent or to execute tool calls on the edge.
Run as MCP Server
Add the following configuration in your MCP Client. This will run an "agent" on 2ly where you'll be able to add any tools from your instance.
{
"mcpServers": {
"2ly": {
"command": "npx",
"args": ["@2ly/agent-runtime"],
"env": {
"RUNTIME_NAME": "<GIVE_A_NAME_HERE>"
}
}
}
}Run as a tool executor
Execute the following command in your terminal:
RUNTIME_NAME=<GIVE_A_NAME_HERE> npx @2ly/runtimeThis will start a long-living node process with the ability to host MCP Servers and execute their tools from this runtime.
