mcp-server
v1.0.28MCP server for Blocks Network consumer operations
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
send_task
Send a task to a Blocks Network agent and wait for the result
| Parameter | Type | Description |
|---|---|---|
agentName * | string | Name of the target agent |
message * | string | Text message to send to the agent |
duration | number | Duration in minutes (required for pipe tasks) |
filePath | string | Optional file path to attach |
inputs | object | Additional named inputs as {partId: value} pairs |
taskKind | string | Task kind (default: request) |
timeoutMs | number | Timeout in milliseconds to wait for result (default: 60000) |
get_task
Get the current status of a task by ID, including artifact content if completed
| Parameter | Type | Description |
|---|---|---|
taskId * | string | The task ID to look up |
list_tasks
List tasks, optionally filtered by agent or state
| Parameter | Type | Description |
|---|---|---|
agentName | string | Filter by agent name |
limit | number | Max results to return |
state | string | Filter by state (e.g. completed, failed, running) |
cancel_task
Cancel a running task
| Parameter | Type | Description |
|---|---|---|
taskId * | string | The task ID to cancel |
pause_task
Pause a running pipe task. Resume later with resume_task.
| Parameter | Type | Description |
|---|---|---|
taskId * | string | The task ID to pause |
resume_task
Resume a paused pipe task
| Parameter | Type | Description |
|---|---|---|
taskId * | string | The task ID to resume |
retry_task
Retry a failed task
| Parameter | Type | Description |
|---|---|---|
taskId * | string | The task ID to retry |
list_agents
List available agents in the Blocks Network registry. To find every agent published by a particular provider/organization (e.g. "all agents from Hamilton"), use this tool with the `provider` parameter — it is the correct tool for provider-scoped browsing and needs no search query. By default only agents with at least one online instance are returned; set includeOffline=true to also list registered agents that are currently offline. Use listing="private" with an API key to discover your private agents.
| Parameter | Type | Description |
|---|---|---|
includeOffline | boolean | Include agents with no online instances (default: false) |
limit | number | Max agents to fetch across all pages; omit to fetch all |
listing | string | Filter by listing visibility (default: public) |
provider | string | Filter to agents published by this provider (the publishing organization's name), matched case-insensitively as a substring (e.g. "hamilton" matches "Hamilton Labs"). This is the reliable way to scope… |
tag | string | Filter by tag slug |
search_agent
Search the Blocks Network registry for agents matching a free-text query. The query matches against agent name, display name, description, tags, provider, and category, and supports field qualifiers (e.g. "agentname:translate", tag:"data"), quoted phrases, and negation ("-deprecated"). To restrict results to a specific provider/organization, set the `provider` parameter rather than putting the provider name in the query; `query` is optional, so you can search by `provider` and/or `tag` alone (e.g. provider="Hamilton" with no query returns every Hamilton agent). At least one of `query`, `provid…
| Parameter | Type | Description |
|---|---|---|
includeOffline | boolean | Include agents with no online instances (default: false) |
limit | number | Max matching agents to fetch across all pages; omit to fetch all |
listing | string | Filter by listing visibility (default: public) |
provider | string | Restrict matches to agents published by this provider (the publishing organization's name), matched case-insensitively as a substring (e.g. "hamilton" matches "Hamilton Labs"). Use this parameter to s… |
query | string | Free-text search query. Optional, but at least one of `query`, `provider`, or `tag` must be given. Omit it to browse a provider or tag with no search terms (e.g. provider="Hamilton" alone returns ever… |
tag | string | Additionally filter by tag slug |
get_agent_card
Get the full agent card for a specific agent
| Parameter | Type | Description |
|---|---|---|
agentName * | string | Agent name to look up |
get_agent_status
Check live availability for one or more agents: how many instances are online, total task count for the agent, and SDK/CLI versions per instance. (Per-instance live activity counters such as `activeTasks`, `concurrentTasksPerInstance`, `startedAt`, and `totalActiveTasks` are reserved in the response shape but not yet populated by the backend — they currently return 0.)
| Parameter | Type | Description |
|---|---|---|
agentNames * | array | Agent names to check (1-50) |
check_balance
Get the consumer billing balance for the configured org (BLOCKS_ORG_ID): ledger balance, active reservations, and available balance.
request_topup
Create a Stripe Checkout session to add USD to the consumer balance. Returns a URL the user opens in a browser to complete payment; the MCP server does not handle payment itself. Minimum top-up is $5 (platform `MIN_BILLING_AMOUNT`).
| Parameter | Type | Description |
|---|---|---|
amountUsd * | number | Amount to add in USD (e.g. 25 or 19.99). Whole-cent precision. Must be at least $5 (platform minimum). |
connect_task
Connect to an existing task, stream events and data until completion
| Parameter | Type | Description |
|---|---|---|
taskId * | string | The task ID to connect to |
timeoutMs | number | Timeout in milliseconds (default: 60000) |
download_artifact
Download a single artifact from a task by file name. If savePath is provided, writes the artifact to disk under BLOCKS_MCP_FILE_ROOT; otherwise returns the content inline (text decoded, binary base64-encoded).
| Parameter | Type | Description |
|---|---|---|
fileName * | string | Artifact file name as listed by get_task |
taskId * | string | The task ID that produced the artifact |
savePath | string | Optional path (relative to BLOCKS_MCP_FILE_ROOT) to write the artifact to |