Caper Wiki
Read Caper's wiki and DAO on-chain data; launch a DAO, trade, and propose on Radix testnet.
Sollte ich dies verwenden
Qualität und Sicherheit
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"caper-wiki": {
"url": "https://caper.network/api/mcp"
}
}
}Remote-Endpunkte
https://caper.network/api/mcpstreamable-httphttps://caper.network/wiki/caper/{cashtag}/mcpstreamable-httphttps://caper.network/capers/{cashtag}/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (17)
🟢search_wiki(query, tagPath, page, pageSize)
Keyword search across the Caper knowledge base: the first call when you know what you are looking for but not where it lives. Matches titles and body prose, ranked in four tiers: titles starting with the term, titles containing it, literal body hits, then English full-text hits by relevance, which stem words and drop stopwords. Not semantic: one distinctive word beats a sentence. A query that finds nothing is retried with its misspelled words corrected, and `corrected` then names what was searched. Each row carries a `path`, its size in `chars` and a snippet windowed on the match. Feed the paths to get_pages in one call rather than looping get_page. Narrow with tagPath when a term is common. Defaults: page 1, pageSize 20 (max 50); keep paging while `hasMore` is true.
Eingabe-Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Search term, matched against page titles and body text"
},
"tagPath": {
"type": "string",
"description": "Only pages at this tag path, e.g. a path from get_categories"
},
"page": {
"type": "number",
"description": "1-based page number (default 1)",
"minimum": 1
},
"pageSize": {
"type": "number",
"description": "Results per page (default 20, max 50)",
"minimum": 1,
"maximum": 50
}
},
"required": [
"query"
]
}🟢get_page(path, tagPath, slug, blocks)
One page of the Caper knowledge base in full: its text, version, update date and metadata. Address it by `path` ("tag/path/slug", exactly the `path` or `url` a listing returns), or by `tagPath` + `slug`; a category's own path reads its hub article. Not a title. For 2 to 20 pages call get_pages, one round trip rather than N. A miss names the nearest pages, so a wrong guess is fixed in one retry. A page's URL with `.md` appended is its markdown. With `blocks: true`, `content` is the stored block array, ids and all, beside the page `id` and its whole `metadata`: read a page this way before editing it, and send its `version` back as the edit's baseVersion.
Eingabe-Schema
{
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "The page's whole path, e.g. \"developers/scrypto/blueprints\". Preferred over tagPath + slug."
},
"tagPath": {
"type": "string",
"description": "Tag path only (\"\" for a top-level page). Ignored when `path` is set."
},
"slug": {
"type": "string",
"description": "Page slug. Ignored when `path` is set."
},
"blocks": {
"type": "boolean",
"description": "Return the stored blocks rather than prose, for an edit"
}
},
"requireOneOf": [
"path",
"slug"
]
}🟢get_pages(paths, maxChars)
Batch read: 1 to 20 pages of the Caper knowledge base in full in one call, which is how to read search or listing results. Pass `paths` as the listings return them. Paths that do not exist come back in `missing` rather than failing the call, anything past 20 in `remaining`, and pages past `maxChars` (default 250000) in `omitted` with their sizes.
Eingabe-Schema
{
"type": "object",
"properties": {
"paths": {
"type": "array",
"items": {
"type": "string"
},
"description": "Page paths, 1 to 20 per call"
},
"maxChars": {
"type": "number",
"description": "Total characters across the pages returned (default 250000, max 1000000)",
"minimum": 1000,
"maximum": 1000000
}
},
"required": [
"paths"
]
}🟢list_pages(tagPath, sort, page, pageSize)
Browse the Caper knowledge base by tag path rather than by keyword: every page under a branch, newest first by default. `tagPath` matches the branch and everything beneath it; omit it to walk the whole wiki. Sort by title for an A–Z pass. Same rows as search_wiki, with `totalPages`, `hasMore` and `nextPage`. Defaults: page 1, pageSize 20 (max 100).
Eingabe-Schema
{
"type": "object",
"properties": {
"tagPath": {
"type": "string",
"description": "The branch to list, e.g. a path from get_categories. Includes its descendants."
},
"sort": {
"type": "string",
"enum": [
"title",
"updatedAt"
],
"description": "Sort order (default \"updatedAt\", newest first)"
},
"page": {
"type": "number",
"description": "1-based page number (default 1)",
"minimum": 1
},
"pageSize": {
"type": "number",
"description": "Results per page (default 20, max 100)",
"minimum": 1,
"maximum": 100
}
}
}🟢get_recent_changes(days, limit)
Pages of the Caper knowledge base edited within the last N days, newest first: what to poll when you are watching the wiki rather than reading it. Same rows as list_pages. Defaults: days 7 (max 30), limit 20 (max 50). `truncated: true` means the limit cut the list; raise it, or page through list_pages.
Eingabe-Schema
{
"type": "object",
"properties": {
"days": {
"type": "number",
"description": "Look back this many days (default 7, max 30)",
"minimum": 1,
"maximum": 30
},
"limit": {
"type": "number",
"description": "Most pages returned (default 20, max 50)",
"minimum": 1,
"maximum": 50
}
}
}🟢get_page_history(path, tagPath, slug, limit)
A page's revisions in the Caper knowledge base, newest first: each one's `id`, version, change type, message, date and the blocks it changed. Address the page as get_page does. A revision `id` is what a restore takes, where this server has one. Defaults: limit 20 (max 100).
Eingabe-Schema
{
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "The page's whole path, e.g. \"developers/scrypto/blueprints\". Preferred over tagPath + slug."
},
"tagPath": {
"type": "string",
"description": "Tag path only (\"\" for a top-level page). Ignored when `path` is set."
},
"slug": {
"type": "string",
"description": "Page slug. Ignored when `path` is set."
},
"limit": {
"type": "number",
"description": "Most revisions returned (default 20, max 100)",
"minimum": 1,
"maximum": 100
}
},
"requireOneOf": [
"path",
"slug"
]
}🟢get_categories
The category tree of the Caper knowledge base, the cheapest way to orient before searching. Each node carries its `path` (a tagPath list_pages and search_wiki take), name, description, `pageCount` (pages filed at that path) and `pageCountDeep` (with every descendant). `tagPaths` lists every tag path that holds pages, including any the tree does not name.
Eingabe-Schema
{
"type": "object",
"properties": {}
}🟢get_full_corpus(sizeOnly, tagPath, maxChars, skip)
The whole of the Caper knowledge base as one text document, for bulk ingestion. Preflight first: sizeOnly=true returns the character count, a token estimate, the per-branch breakdown and the largest pages. Then pull it with `maxChars` (default 100000, max 1000000), or one branch at a time with `tagPath`. Truncation is page-aligned: `truncated`, `omittedPages` and `nextSkip` say where to resume (pass skip=nextSkip). For a handful of pages get_pages is cheaper.
Eingabe-Schema
{
"type": "object",
"properties": {
"sizeOnly": {
"type": "boolean",
"description": "Sizes and breakdowns only, no document. Do this before the first real pull."
},
"tagPath": {
"type": "string",
"description": "One branch and its descendants. Omit for everything."
},
"maxChars": {
"type": "number",
"description": "Character budget for `document` (default 100000, max 1000000)",
"minimum": 1000,
"maximum": 1000000
},
"skip": {
"type": "number",
"description": "Resume from this page index: the `nextSkip` of the previous truncated call (default 0)",
"minimum": 0
}
}
}🟢list_daos(query, limit)
Index of the DAOs on Caper: cashtag, name, description, member count, wiki URL, and that DAO's own MCP endpoint. Use it to resolve a name to a cashtag, then POST JSON-RPC to the returned `mcpEndpoint` to reach its get_ledger (treasury balances, proposal/trade/execution timeline, executed grants, inter-DAO funding) – this knowledge-base server deliberately has no ledger tool. `query` is a case-insensitive substring over cashtag, name and description. Defaults: limit 50 (max 200); `hasMore` says whether the cap cut the list.
Eingabe-Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Filter by cashtag, name or description (case-insensitive substring). Omit for all."
},
"limit": {
"type": "number",
"description": "Max DAOs returned (default 50, max 200)"
}
}
}🟢get_challenge
Step 1 of writing to Caper: a single-use ROLA challenge (5-minute expiry). The response spells out the exact recipe for the message your Ed25519 key must sign. Writes are Stokenet-testnet only for now. You always sign with your OWN key — nothing here custodies anything. Takes no parameters.
Eingabe-Schema
{
"type": "object",
"properties": {}
}🟡login(challenge, address, publicKey, signature, curve)
Step 2: exchange the signed ROLA proof for a 12h Bearer token — the same verification the human wallet flow runs. Send the returned token as an HTTP `Authorization: Bearer <token>` header on every later tool call; tool arguments never carry it.
Eingabe-Schema
{
"type": "object",
"properties": {
"challenge": {
"type": "string",
"description": "The challenge from get_challenge"
},
"address": {
"type": "string",
"description": "Your account address (virtual account of the signing key)"
},
"publicKey": {
"type": "string",
"description": "Ed25519 public key, hex"
},
"signature": {
"type": "string",
"description": "Signature over the ROLA message, hex"
},
"curve": {
"type": "string",
"enum": [
"curve25519",
"secp256k1"
],
"description": "Signing curve (Ed25519 = \"curve25519\")"
}
},
"required": [
"challenge",
"address",
"publicKey",
"signature",
"curve"
]
}🟡get_manifest(kind, account, cashtag, from, to, ...)
Step 3: a ready-to-sign transaction manifest. Kinds: create-caper, buy, sell, swap, create-proposal, vote, count, trigger, resolve, execute, activate-upgrade, exit, withdraw-founder, transfer-founder. Per-kind parameters – create-caper: name, cashtag, description, infoUrl?, iconUrl?, originToken? (resource address, vampire launch); buy: cashtag, xrd ($XRD to spend); sell: cashtag, tokens (caper tokens to sell); swap: from, to (cashtags), tokens (of `from` to sell) – one transaction that sells `from` into $XRD and buys `to` with it, so it pays the skim on both legs; create-proposal: cashtag, title, description, action (one action object, or an array of up to 4 the voters rank against each other and an always-appended "Do nothing"; each is { kind: "PAYOUT" | "INVEST" | "DIVEST" | "UPGRADE" | "METADATA" | "DEBATE", … }. METADATA rewrites the token's mutable metadata via metadataDescription / metadataIconUrl / metadataInfoUrl, at least one; DEBATE is a non-executable position in a debate – title and description only, and a winning one ends the proposal at the tally with no market window). Creation costs the proposal fee – 1% of the largest option's $XRD-equivalent amount, at least 500 $XRD – banked to the treasury and kept on pass or fail; vote: cashtag, proposalId (the P-… code), sequence (ranked on-chain option indexes, best first, including the trailing "Do nothing" index); count: cashtag, proposalId (the P-… code) – returns `manifests`, one or a volley to send at once; trigger, resolve: cashtag, proposalId (the P-… code); execute: cashtag, proposalId (the P-… code); for an UPGRADE this is step one of two, which records the candidate in the registry and starts its timelock; activate-upgrade: cashtag, proposalId (the P-… code) – step two of an UPGRADE, valid once the registry timelock lifts; refused before then with the time it lifts; exit: cashtag, votes? and tokens? (vote tokens to burn and caper tokens to sell, each defaulting to your whole balance) – one transaction that burns the vote tokens for your share of the treasury and sells the caper tokens back to the curve; withdraw-founder: cashtag – claims every accrued founder-fee leg, $XRD and caper tokens, to the founder badge's holder; transfer-founder: cashtag, recipient (account), withdrawAccrued? (default true: claim the accrued legs to you first; false leaves them to the recipient) – deposits the founder badge with the recipient. Here create-proposal's action rides as actionJson, a JSON string – e.g. '{"kind":"PAYOUT","title":"Grant","currency":"<resource>","amount":100,"recipient":"<account>"}'. Governance is two-phase: members rank ballots during the voting window (kind "vote"; each ballot costs 100 $XRD and mints 1 soulbound vote token); once the window closes, "count" tallies it (returning `manifests`, one or a volley to send at once); a supermajority pass arms "trigger", which locks the trailing TWAP as the baseline and opens the market window; after the window, "resolve" ratifies the winner unless that window's own TWAP is below the baseline, and "execute" runs a ratified winner – an UPGRADE in two steps, "execute" and then "activate-upgrade" once the registry timelock lifts. The vote legislates, the market ratifies. The cranks after the vote cost nothing beyond the network fee, and anyone can call them. You sign and submit the manifest yourself with your own key, then register the txHash with submit_tx. Requires the Bearer token from the `login` tool, sent as an HTTP `Authorization: Bearer <token>` header on the POST carrying this call.
Eingabe-Schema
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"create-caper",
"buy",
"sell",
"swap",
"create-proposal",
"vote",
"count",
"trigger",
"resolve",
"execute",
"activate-upgrade",
"exit",
"withdraw-founder",
"transfer-founder"
],
"description": "What the transaction does"
},
"account": {
"type": "string",
"description": "Your account address (pays fees, receives tokens)"
},
"cashtag": {
"type": "string",
"description": "Target caper's cashtag"
},
"from": {
"type": "string",
"description": "swap: the cashtag of the caper token you sell"
},
"to": {
"type": "string",
"description": "swap: the cashtag of the caper token you buy"
},
"name": {
"type": "string",
"description": "create-caper: the caper's name"
},
"description": {
"type": "string",
"description": "create-caper / create-proposal: description text"
},
"infoUrl": {
"type": "string",
"description": "create-caper: optional https project URL"
},
"iconUrl": {
"type": "string",
"description": "create-caper: optional icon URL (defaults to a generated one)"
},
"originToken": {
"type": "string",
"description": "create-caper: optional origin-token resource address (vampire launch)"
},
"xrd": {
"type": "number",
"description": "buy: $XRD to spend"
},
"tokens": {
"type": "number",
"description": "sell / swap / exit: caper tokens to sell (exit: defaults to your whole balance)"
},
"votes": {
"type": "number",
"description": "exit: vote tokens to burn (defaults to your whole balance)"
},
"recipient": {
"type": "string",
"description": "transfer-founder: the account that receives the founder badge"
},
"withdrawAccrued": {
"type": "boolean",
"description": "transfer-founder: claim the accrued founder fees to you first (default true); false leaves them to the recipient"
},
"title": {
"type": "string",
"description": "create-proposal: proposal title"
},
"proposalId": {
"type": "string",
"description": "vote and every crank after it: the proposal's P-… code"
},
"sequence": {
"type": "array",
"items": {
"type": "number"
},
"description": "vote: ranked on-chain option indexes, best first — a full permutation including the trailing \"Do nothing\" index"
},
"actionJson": {
"type": "string",
"description": "create-proposal: JSON for the action(s) – one action object, or an array of up to 4 the voters rank against each other and an always-appended \"Do nothing\"; each is { kind: \"PAYOUT\" | \"INVEST\" | \"DIVEST\" | \"UPGRADE\" | \"METADATA\" | \"DEBATE\", … }. METADATA rewrites the token's mutable metadata via metadataDescription / metadataIconUrl / metadataInfoUrl, at least one; DEBATE is a non-executable position in a debate – title and description only, and a winning one ends the proposal at the tally with no market window."
}
},
"required": [
"kind",
"account"
]
}🟡submit_tx(kind, txHash, cashtag, proposalId, code)
Step 4: register a committed transaction by txHash. Kinds: create-caper, buy, sell, swap, proposal, vote, count, trigger, resolve, execute, activate-upgrade, exit, withdraw-founder, transfer-founder. The server verifies before mirroring anything: receipts are re-read on-ledger (forged or foreign txHashes are refused, replays are idempotent). Context per kind – create-caper, exit, withdraw-founder, transfer-founder: cashtag; proposal: proposalId; count, trigger, resolve, execute, activate-upgrade: code (the P-… code). The answer's `result` is `applied` (the receipt verified and this call wrote it to Caper's mirror of the ledger), `already` (the mirror held it before this call, so a replay is safe), `unindexed` (the receipt's event, or the step before it, has not reached the mirror: retry in a few seconds) or `refused` (the receipt does not match the request, and `reason` says why); `registered` is true for the first two, and count answers the proposal's `status` in place of `result`. A buy, sell or exit that is not registered, and a swap with neither leg registered, is a tool error carrying `result` and `reason`. Requires the Bearer token from the `login` tool, sent as an HTTP `Authorization: Bearer <token>` header on the POST carrying this call.
Eingabe-Schema
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"create-caper",
"buy",
"sell",
"swap",
"proposal",
"vote",
"count",
"trigger",
"resolve",
"execute",
"activate-upgrade",
"exit",
"withdraw-founder",
"transfer-founder"
],
"description": "What the transaction did"
},
"txHash": {
"type": "string",
"description": "The committed transaction intent hash (txid_…)"
},
"cashtag": {
"type": "string",
"description": "create-caper, exit and the founder kinds: the caper's cashtag"
},
"proposalId": {
"type": "number",
"description": "proposal: the id from the create-proposal manifest response"
},
"code": {
"type": "string",
"description": "the cranks after the vote: the proposal's P-… code"
}
},
"required": [
"kind",
"txHash"
]
}🔴save_wiki_page(daoId, tagPath, slug, title, blocks, ...)
Create or edit a page on a DAO's company-layer wiki. Holders only – any amount of the DAO's token, its vote token or its founder badge. Pass the body as `html`, one HTML string that becomes a standard content block (headings, paragraphs, lists, tables), or as `blocks`, the block tree the site's editor saves. To edit an existing page, read it with get_page and `blocks: true` on the DAO's MCP server, revise those blocks, and pass its `version` as `baseVersion`: a page someone else changed since is refused rather than overwritten. `newSlug` moves an existing page to another slug in its tag path, with its history. Requires the Bearer token from the `login` tool, sent as an HTTP `Authorization: Bearer <token>` header on the POST carrying this call.
Eingabe-Schema
{
"type": "object",
"properties": {
"daoId": {
"type": "string",
"description": "cashtag of the DAO whose wiki to edit"
},
"tagPath": {
"type": "string",
"description": "page tag path (may be empty)"
},
"slug": {
"type": "string",
"description": "page slug"
},
"title": {
"type": "string",
"description": "page title"
},
"blocks": {
"type": "array",
"items": {
"type": "object"
},
"description": "content blocks – [{ id: uuid, type: \"content\", text: \"<h2>…</h2><p>…</p>\" }]. Validated by the editor's own validator. Pass this or `html`."
},
"baseVersion": {
"type": "string",
"description": "the version the page's get_page read returned; a page changed since is refused with 409 (omit for a new page)"
},
"newSlug": {
"type": "string",
"description": "optional – moves an existing page to this slug in the same tag path, with its history"
},
"summary": {
"type": "string",
"description": "optional edit summary for the page's history"
},
"html": {
"type": "string",
"description": "The body as one HTML string, e.g. <h2>…</h2><p>…</p>, saved as a standard content block. Pass this or `blocks`."
}
},
"required": [
"daoId",
"slug",
"title"
]
}🔴delete_wiki_page(daoId, tagPath, slug)
Delete a page on a DAO's company-layer wiki, with its whole history and its Talk room. Holders only, the same gate as save_wiki_page. Nothing restores it, so read it first with get_page if it may be wanted. Requires the Bearer token from the `login` tool, sent as an HTTP `Authorization: Bearer <token>` header on the POST carrying this call.
Eingabe-Schema
{
"type": "object",
"properties": {
"daoId": {
"type": "string",
"description": "cashtag of the DAO whose wiki page to delete"
},
"tagPath": {
"type": "string",
"description": "page tag path (may be empty)"
},
"slug": {
"type": "string",
"description": "page slug"
}
},
"required": [
"daoId",
"slug"
]
}🔴save_about(daoId, blocks, summary, html)
Write the About section on a DAO's own page: what the caper is for, who runs it and where to follow it. Holders only, the same gate as save_wiki_page. The section is replaced whole, so read the current one first: it is in the DAO's llms.txt and its MCP server's instructions. Pass the body as `html` or as `blocks`, as save_wiki_page takes them. Requires the Bearer token from the `login` tool, sent as an HTTP `Authorization: Bearer <token>` header on the POST carrying this call.
Eingabe-Schema
{
"type": "object",
"properties": {
"daoId": {
"type": "string",
"description": "cashtag of the DAO whose About to write"
},
"blocks": {
"type": "array",
"items": {
"type": "object"
},
"description": "content blocks – [{ id: uuid, type: \"content\", text: \"<p>…</p>\" }]; the whole section, replacing the current one. Validated by the editor's own validator. Pass this or `html`."
},
"summary": {
"type": "string",
"description": "optional edit summary for the section's history"
},
"html": {
"type": "string",
"description": "The body as one HTML string, e.g. <h2>…</h2><p>…</p>, saved as a standard content block. Pass this or `blocks`."
}
},
"required": [
"daoId"
]
}🟡send_feedback(kind, message, page)
Tell the maintainers of Caper what you needed and did not find, what is wrong, or what broke. One issue per call, in 300 characters at most. Reports are read, not published.
Eingabe-Schema
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"missing",
"wrong",
"broken",
"suggestion"
],
"description": "missing: not covered here. wrong: a fact or link is out of date or false. broken: a tool or page failed. suggestion: anything else."
},
"message": {
"type": "string",
"description": "What you were after, or what is wrong and what it should say. 300 characters at most."
},
"page": {
"type": "string",
"description": "The page path, URL or tool it is about, if any"
}
},
"required": [
"kind",
"message"
]
}Empfohlene Prompts
search_wikisearch_wikiget_pageget_pagelist_pagesCommunity
Nachweis