AvenueD MCP
Point an AI agent at your community over MCP (Model Context Protocol) and let it read stats, run raffles, send rewards, and moderate content, scoped to your community only.
Compatibility
Works today with Claude Code and any MCP-compatible CLI that can speak streamable HTTP MCP with a Bearer token.
Claude.ai and ChatGPT custom connectors are not supported yet. Both require OAuth 2.1 plus RFC 7591 dynamic client registration, which is a later phase of this work.
Status
| Endpoint | Beta | https://www.aved.ai/api/mcp |
| Auth | Beta | Bearer token, SHA-256 hashed keys |
| Transport | Beta | Stateless JSON-RPC 2.0 over HTTP POST |
| Claude Code | Beta | Works today via a plain HTTP MCP server entry |
| MCP CLIs | Beta | Any client that speaks streamable HTTP MCP |
| Claude.ai connector | Not available | Needs OAuth 2.1 + dynamic client registration |
| OAuth DCR | Not available | RFC 7591, not built yet |
64 tools, by category
89 tools exist on the platform. 64 are available to a community API key. The rest are superadmin-only and not exposed here.
Read-only snapshots for briefings, dashboards, and sanity checks before any write.
Look up and moderate members. Always search before sending rewards or changing roles.
Full lifecycle: create, fund, track submissions, change status, archive.
CPM clipping campaigns: create, fund, review submissions, verify views, pay.
Create, check treasury, draw winners, archive.
Parlays and bracket tournaments. Set results, then select winners.
Check balance first. All writes are pool- or treasury-gated.
Read the feed, post, announce, moderate.
Review flagged content, act on reports.
Update branding, basics, privacy.
Email specific users or the whole community.
Full tool catalog
Insights & reporting9 tools
avenued_get_statsDaily platform metrics: new users, engagement, rewards, failed transfers.
avenued_get_community_overviewDashboard rollup: members, active missions, open raffles, recent posts.
avenued_get_community_growthMember join timeline for charting growth trends.
avenued_get_community_completenessSetup score — which onboarding pieces are still missing.
avenued_get_behavior_analyticsBehavior metrics, conversion funnel, user segmentation.
avenued_get_recent_activityLast 10 notable events: new users, completions, raffle draws, posts.
avenued_get_reward_statisticsTotal rewards distributed, recipients, averages, source breakdown.
avenued_get_top_earnersTop reward earners over an optional date window.
avenued_list_communitiesCommunity health: member counts, active missions, daily active users.
Members6 tools
avenued_list_membersPaginated member list with username and role.
avenued_search_membersPrefix search by username — use before writes that target a user.
avenued_get_userMember profile + recent reward history.
avenued_find_user_by_emailResolve a user by email address.
avenued_list_usersStats views: summary, inactive, churn risk.
avenued_update_member_rolemembers:writePromote/demote a member (admin, moderator, member).
Missions8 tools
avenued_list_missionsMissions with completion counts and pool balances. Filter by status.
avenued_get_missionSingle mission detail with pool + entries.
avenued_list_mission_submissionsSubmissions (community_posts tagged with mission_id).
avenued_list_mission_entriesCompletion records with user info.
avenued_create_missionmissions:writeCreate a mission, optionally allocating pool in the same call. Treasury-gated.
avenued_update_mission_statusmissions:writedraft → scheduled → active → paused → completed → archived.
avenued_archive_missionmissions:writeArchive or soft-delete a mission.
avenued_mark_mission_entry_fulfilledmissions:writeMark a mission entry as fulfilled after delivering an external reward manually.
Clip rewards5 tools
avenued_list_clip_campaignsClip campaigns with status, config, and reward pool budget used/total.
avenued_list_clip_submissionsClip submissions, filterable by campaign and payout status.
avenued_create_clip_campaignclip_rewards:writeCreate a CPM clip campaign and fund its reward pool. Treasury-gated.
avenued_set_clip_view_countclip_rewards:writeRecord a verified view count for a clip and compute its payout. Does not move money.
avenued_pay_clipclip_rewards:writedestructiveConfirm payout for a verified clip — executes the on-chain AVED transfer.
Raffles6 tools
avenued_list_rafflesRaffles with entry and winner counts.
avenued_get_raffleFull raffle detail with current signups.
avenued_get_raffle_winnersWinners of a drawn raffle with user info.
avenued_create_raffleraffles:writeCreate a custom raffle. Treasury-gated for AVED prizes.
avenued_draw_raffleraffles:writedestructiveExecute draw + distribute prizes on-chain. Only call after deadline. Irreversible.
avenued_archive_raffleraffles:writeArchive or soft-delete a raffle.
Games & tournaments11 tools
avenued_list_parlaysParlays with entry and winner counts.
avenued_get_parlayParlay detail with ranked entries.
avenued_get_parlay_winnersParlay winners with their predictions.
avenued_set_parlay_resultsgames:writeSet game scores and calculate rankings.
avenued_select_parlay_winnersgames:writedestructiveSelect winners by ordered list of user IDs. Distributes prizes.
avenued_archive_parlaygames:writeArchive a parlay.
avenued_delete_parlaygames:writedestructiveHard-delete a parlay. Irreversible.
avenued_list_tournamentsBracket tournaments with entry counts.
avenued_get_tournamentTournament with teams and matchups.
avenued_get_tournament_leaderboardTournament rankings with user info.
avenued_get_tournament_winnersWinners with reward details.
Rewards & treasury7 tools
avenued_get_treasury_balanceLive on-chain AVED + USDC balance.
avenued_get_rewardsReward distribution views: summary, pending, failed, allocations.
avenued_get_pending_transfersPending / processing / failed payouts.
avenued_allocate_poolrewards:writedestructiveAllocate tokens to a mission/raffle/game pool. Treasury-gated.
avenued_send_direct_rewardrewards:writedestructiveOne-off AVED to a single user (source: admin_grant). On-chain transfer.
avenued_send_bulk_rewardrewards:writedestructiveSame AVED amount to multiple users in one call. On-chain transfers.
avenued_withdraw_from_treasuryrewards:writedestructiveWithdraw AVED or USDC from the treasury to any wallet. Irreversible.
Posts & social4 tools
avenued_list_postsRecent community posts, newest first.
avenued_get_postPost detail with comment thread.
avenued_create_postposts:writeCreate a community post (social content, updates).
avenued_announceposts:writeCreate a pinned admin announcement post.
Moderation3 tools
avenued_get_moderationPending reports and hidden posts.
avenued_list_reported_commentsPending comment reports (moderation queue).
avenued_moderatemoderation:writeHide a post/comment or resolve a report.
Community settings4 tools
avenued_update_community_basicssettings:writeName, headline, description, social URLs.
avenued_update_community_visualssettings:writeLogo and banner URLs.
avenued_update_community_settingssettings:writePrivacy type, pricing, access flags.
avenued_list_api_keysList API keys for this community (metadata only — no secrets).
Outbound email1 tools
avenued_send_emailemail:writedestructiveCustom email to specific users or the entire community. Cannot be unsent.
Scopes and permissions
Every key can call every read tool. Write access is granted per category, not all-or-nothing: an API key only gets the write scopes it was explicitly issued, so a raffle bot can be given raffles:write without also being able to send rewards or edit community settings.
missions:writeCreate, update, and archive missions.
clip_rewards:writeCreate clip campaigns, verify view counts, and confirm payouts.
raffles:writeCreate, draw, and archive raffles.
games:writeSet parlay results, select winners, manage parlays.
rewards:writeAllocate pools, send rewards, withdraw from treasury. High blast radius.
posts:writeCreate community posts and announcements.
moderation:writeHide content and resolve reports.
members:writePromote and demote members.
settings:writeUpdate branding, basics, privacy, and access settings.
email:writeSend emails to members. Cannot be unsent.
Get a key
As a community admin, open your community's admin panel, go to Settings → Automations, and create a key:
/<your-community-slug>/admin/settings?tab=automationsPick a read-only or read+write preset (or choose specific write scopes yourself), set an optional expiry, and copy the key. It is shown once.
Copy-paste config
The transport is stateless JSON-RPC 2.0 over HTTP POST. There is no SSE channel; GET returns 405 by design.
.mcp.json
{
"mcpServers": {
"avenued": {
"type": "http",
"url": "https://www.aved.ai/api/mcp",
"headers": {
"Authorization": "Bearer YOUR_KEY"
}
}
}
}Smoke test
curl -X POST "https://www.aved.ai/api/mcp" \
-H "Authorization: Bearer YOUR_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","method":"tools/list","id":1}'The Accept: application/json, text/event-stream header is required. This route has no Accept-header shim.
Rate limits
120 requests per minute per key, burstable up to 120 and refilling at 2 requests per second (token bucket). Exceeding it returns a retry-after value rather than a hard error, so batch your work instead of polling in a tight loop.
Included with your account. Learn more about AvenueD