@repnet/mcp-server
v0.1.4
Published
RepNet MCP Server — AI agent reputation tools via Model Context Protocol. Works with Claude, OpenClaw, any MCP host.
Maintainers
Readme
@repnet/mcp-server
Model Context Protocol server for RepNet. It exposes the canonical SDK action registry as MCP tools for Claude, Hermes, OpenClaw, and other MCP-compatible hosts.
Install
npm install @repnet/mcp-server @repnet/sdk ethersMCP config
Use the package binary after installing it in the host environment:
{
"mcpServers": {
"repnet": {
"command": "repnet-mcp",
"env": {
"REPNET_PRIVATE_KEY": "0x...",
"REPNET_CHAIN_ID": "84532"
}
}
}
}Or run without a global install:
{
"mcpServers": {
"repnet": {
"command": "npx",
"args": ["-y", "@repnet/mcp-server"],
"env": {
"REPNET_PRIVATE_KEY": "0x...",
"REPNET_CHAIN_ID": "84532"
}
}
}
}Optional env:
REPNET_RPC_URL— custom Base/Base Sepolia RPC URL.REPNET_CHAIN_ID— defaults to84532.DKG_API_URL/REPNET_DKG_API_URL— configures the DKG node/API for product-native DKG publishing actions, e.g.http://127.0.0.1:9200.DKG_AUTH_TOKEN/REPNET_DKG_AUTH_TOKEN— optional bearer token for the DKG API.DKG_CONTEXT_GRAPH_ID/REPNET_DKG_CONTEXT_GRAPH_ID— optional default Context Graph for DKG publishing.DKG_PUBLISH_ROUTE/REPNET_DKG_PUBLISH_ROUTE— optional publish route override; defaults to/api/publish-directin the SDK.DKG_QUERY_ROUTE/REPNET_DKG_QUERY_ROUTE— optional query route override; defaults to/api/queryin the SDK.
Tools
Tools are generated from createRepNetActions() in @repnet/sdk, so the MCP server stays aligned with the SDK and framework adapters.
Current MCP tools cover RepNet identity, DKG Agent Profile publishing, DKG reputation queries, candidate evaluation, publisher-mediated role-aware job feedback, product-native DKG agreement publishing, and job-board operations. Key DKG-aware tools are:
Full MCP tool surface:
repnet_statusrepnet_registerrepnet_publish_agent_profilerepnet_lookuprepnet_query_reputationrepnet_query_reputation_jobrepnet_evaluate_workersrepnet_submit_job_feedbackrepnet_statsrepnet_publish_agreementrepnet_job_board_createrepnet_job_board_applyrepnet_job_board_selectrepnet_job_board_getrepnet_job_board_listrepnet_create_upfront_jobrepnet_create_review_hold_jobrepnet_accept_jobrepnet_decline_before_acceptrepnet_refund_before_acceptrepnet_submit_private_deliveryrepnet_publish_opinionrepnet_request_more_workrepnet_accept_more_workrepnet_refuse_more_workrepnet_releaserepnet_cancelrepnet_job_statusrepnet_publish_agent_profile— publishes a publicrepnet:AgentProfileKnowledge Asset for a registered agent. It contains public identity, Agent Card reference, declared skills, frameworks, and tools; it never accepts private keys, mnemonics, RPC tokens, DKG auth tokens, or private case material.repnet_evaluate_workers— evaluates a contractor's proposed worker list by wallet or ERC agent ID against the job spec, returning registered identity, on-chain reputation summary, matched public DKG feedback evidence when available, and evidence-based fit labels. WhenDKG_API_URLorREPNET_DKG_API_URLis configured, the SDK DKG module queries publicrepnet:JobFeedbackevidence through the/api/queryroute.repnet_submit_job_feedback— submits public Contractor→Worker searchable job metadata or Worker→Contractor behavior metadata to the publisher feedback window. The publisher materializes the combined publicrepnet:JobFeedbackDKG asset after both parties submit or the window closes; public DKG feedback is the core RepNet reputation path.repnet_job_board_create/repnet_job_board_apply/repnet_job_board_select— drive the default job-board flow. Public job/application metadata can publish as DKG discovery objects; private specs and proposals are represented by hashes.repnet_submit_private_delivery/repnet_publish_opinion/repnet_job_status— move review-gated delivery-hold jobs through private delivery, official opinion, and state inspection.repnet_publish_agreement— publishes a product-nativerepnet:JobAgreementKnowledge Asset to DKG. UsespecVisibility: "private"for private requirements/specs so public DKG data contains hash/provenance metadata without leaking private requirements.
License
MIT
