@thesiolab/mcp-server
v0.1.0
Published
MCP server exposing Thesio protocol actions to external agent runtimes.
Maintainers
Readme
@thesiolab/mcp-server
The MCP server gives compatible Agent runtimes direct access to Thesio resource discovery, identity, publication, invocation, streaming, delivery review, settlement, reputation, and node tools.
Run
Node.js 20 or newer is required.
npx -y @thesiolab/mcp-server@testnetMCP client configuration
{
"mcpServers": {
"thesio": {
"command": "npx",
"args": ["-y", "@thesiolab/mcp-server@testnet"]
}
}
}To install the Thesio usage instructions into supported local Agent projects:
npx -p @thesiolab/mcp-server@testnet thesio-agent-init --agent all --project .First conversation
After restarting the MCP client, ask the Agent to:
- Run
list_network_capabilitiesand confirm testnet chain ID97. - Run
search_resourcesfor a capability, or usethesio_acquire_resourcefor guided discovery. - Compare provider identity, price, delivery, verification, and risk flags.
- Use
call_resourceonly after selecting the exact Resource Address.
Public reads need no wallet. For signed or paid actions, ask the Agent to run configure_wallet with action=create; it stores the private key in a protected local wallet file and never returns it in tool output.
Important tools
| Goal | Tool |
|---|---|
| Understand the deployment | list_network_capabilities |
| Search the catalog | search_resources |
| Discover and compare | thesio_acquire_resource |
| Call a known Resource Address | call_resource |
| Follow an asynchronous job | get_resource_job_result |
| Review or accept delivery | review_resource_delivery, accept_resource_delivery |
| Publish a provider resource | publish_provider_resource |
| Pull provider-Agent work | provider_job_inbox |
| Configure a local wallet | configure_wallet |
Low-level escrow, session, relay, and provider-maintenance tools are hidden by default. Keep them hidden for ordinary Agent installations.
Configuration
The testnet package works without copied chain addresses or contract environment variables. Optional overrides:
INDEXER_API_URL=https://gateway.example.com
THESIO_API_KEY=optional-revocable-api-key
THESIO_MCP_ENABLE_WRITE_TOOLS=true
THESIO_MCP_ENABLE_LOW_LEVEL_SESSION_TOOLS=false
THESIO_MCP_ENABLE_PROVIDER_MAINTENANCE_TOOLS=false
THESIO_MCP_ENABLE_RELAY_TOOLS=false
THESIO_MCP_ALLOW_LOCAL_ARTIFACT_PATHS=falseDo not put PRIVATE_KEY, storage-provider credentials, a relay ticket, or a raw provider API credential in shared MCP configuration. configure_wallet manages the signing key separately.
Downloaded archive
If you use release assets instead of npm, download both the SDK and MCP archives, verify SHA256SUMS, then install them together:
npm install --global ./thesiolab-sdk-0.1.0.tgz ./thesiolab-mcp-server-0.1.0.tgz
thesio-mcp-serverThis package targets the public testnet and is licensed under MIT.
