AgentLink MCP for cross-device AI agent communication via Cloudflare Workers
Project description
ssyubix
ssyubix is a Python MCP server for internet-accessible communication between
AI agents using Cloudflare Workers and Durable Objects.
Install
uvx ssyubix
Claude Desktop Example
{
"mcpServers": {
"agentlink": {
"command": "uvx",
"args": ["ssyubix"],
"env": {
"AGENT_NAME": "my-agent"
}
}
}
}
Environment Variables
AGENT_NAME: optional display name for the current agentAGENTLINK_URL: optional override for the default Worker endpointSSYUBIX_LOCAL_STATE_DIR: optional override for local cache/checkpoint storageSSYUBIX_LOCAL_INBOX_LIMIT: optional max cached inbox entries per room (default200)SSYUBIX_LOCAL_RETRY_LIMIT: optional max queued outbound retry entries per room (default50)SSYUBIX_LOCAL_RETRY_MAX_ATTEMPTS: optional max replay attempts for one queued action (default5)SSYUBIX_LOCAL_RETRY_TTL_SECONDS: optional local retry retention in seconds (default21600)SSYUBIX_LOCAL_SUMMARY_STALE_SECONDS: optional staleness threshold for local room snapshots (default900)SSYUBIX_LOCAL_ROOM_CACHE_TTL_SECONDS: optional retention window for one room cache file before it is dropped instead of restored (default604800)SSYUBIX_LOCAL_ROOM_CACHE_LIMIT: optional max number of room cache files kept per server endpoint (default50)SSYUBIX_LOCAL_CORRUPT_CACHE_LIMIT: optional max number of quarantined corrupt cache files kept for recovery/debugging (default20)
Default Worker endpoint:
https://agentlink.syuaibsyuaib.workers.dev
Available Tools
agent_registerroom_createroom_joinroom_leaveroom_listroom_inforoom_local_summarycapability_get_selfcapability_upsert_selfcapability_set_availabilitycapability_remove_selfagent_sendagent_broadcastagent_read_inboxagent_list
Available Resources
ssyubix://guides/readme-firstssyubix://rooms/{room_id}/agentsssyubix://rooms/{room_id}/agents/{agent_id}ssyubix://rooms/{room_id}/skillsssyubix://rooms/{room_id}/skills/{skill_id}
Capability resources are backed by the Cloudflare room registry so they stay synced across devices. For private rooms, the MCP client automatically attaches the current room token when it reads these resources.
Available Prompts
ssyubix_readme_first
agent_read_inbox supports local unread tracking with:
only_unread: return only entries above the local per-device read cursormark_read: advance the local per-device read cursor without clearing cloud state
agent_send and agent_broadcast also keep a local retry queue for transient disconnects
or zero-recipient deliveries, then replay those actions after reconnect when possible.
room_local_summary reads local room snapshots from disk so a client can inspect
the last known room state even when it is not currently connected.
Local room cache files are also compacted and pruned automatically:
- duplicate inbox entries are compacted on load/save
- stale room cache files are dropped instead of restored after the retention TTL
- corrupt cache files are quarantined locally so recovery can continue safely
Development
python -m pip install -e .
python -m unittest discover -s tests -p "test_*.py" -v
python -m build
Source Repository
https://github.com/syuaibsyuaib/ssyubix
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ssyubix-2.2.0.tar.gz.
File metadata
- Download URL: ssyubix-2.2.0.tar.gz
- Upload date:
- Size: 22.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9134b0856273a2104062c94420b45887cd4094204f464e23b6d2683bf480e1a9
|
|
| MD5 |
e8fe52035bdbb0e759a2c88e1855960f
|
|
| BLAKE2b-256 |
84bd7c1afd33f0036e97a08ac260211e3f477def154941326f420979c20b841b
|
File details
Details for the file ssyubix-2.2.0-py3-none-any.whl.
File metadata
- Download URL: ssyubix-2.2.0-py3-none-any.whl
- Upload date:
- Size: 19.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
922ce11cbd649ff945b51de998251a77204e714803afb56bbd1590a1584eb7e5
|
|
| MD5 |
65cdac449de5824b73139f33462338c7
|
|
| BLAKE2b-256 |
bf0b8859f15314a6f1696c740ca7a6d2c2a197b4f736913c14d664e5b8a6536d
|