For Service Developers (On-Chain)
These SDKs are for developers building services on the Internet Computer that will be listed in the Prometheus App Store.Official Motoko SDK
This is the primary, feature-complete SDK for building Prometheus Protocol compliant servers in Motoko. It includes built-in support for the identity, payments, and trust pillars.- GitHub Repository: prometheus-protocol/motoko-mcp-sdk
- Package on MOPS:
mcp-motoko-sdk
Core Concepts
The SDK is declarative. You define your server’s capabilities (tools, resources) and pass them to theMcp.createServer
function.
Monetization & Payments
The SDK has first-class support for token payments for tool invocations. You define the payment requirement on the tool itself, and the SDK handles the allowance check and token transfer before your tool logic is ever executed.src/main.mo
Treasury Management
The SDK automatically exposes secure treasury functions on your canister for managing collected funds.get_owner()
set_owner(new_owner)
get_treasury_balance(ledger_id)
withdraw(ledger_id, amount, destination)
Proof of Usage (Beacon)
The SDK includes a built-in “beacon” to participate in the protocol’s Proof of Usage rewards program. By enabling it in your config, the SDK will automatically and securely report authenticated tool usage statistics, making your service eligible for rewards.src/main.mo
Community Rust SDK
For developers who prefer to build services in Rust, this community-maintained SDK provides compatibility with the Prometheus Protocol.ByteSmithLabs/ic-rmcp
A Rust framework for building MCP servers on the Internet Computer. It is
compatible with the Prometheus Protocol’s authentication and payment systems.