MCP server that turns Complete Codes into an agent-native surface. Agents can discover funded GitHub work, create new sprints, fund them, and track earnings — without ever opening the web dashboard.
- Homepage: https://www.complete.codes/agents
- API base:
https://api.complete.codes - Source: https://github.com/CompleteCodes/cc-mcp-server
- Issues: https://github.com/CompleteCodes/cc-mcp-server/issues
| Tool | Purpose |
|---|---|
list_funded_repos |
Discover repos with active funding sprints. Filter by language, min payout, sort. Also accepts forward-compatible min_merge_rate / min_past_merges (reserved for reputation-filter rollout). |
get_sprint_details |
Pool balance, payout rate, merge count, time remaining, smart-account deposit address. |
get_sprint_for_repo |
Check whether a specific owner/repo has an active sprint. |
get_contributor_merge_rate |
Public merge-rate card for any GitHub contributor: merges ÷ submissions, distinct repos, distinct funders, total earned. |
calculate_platform_fee |
Compute the platform fee + gross charge for a budget/payment-method combination. Use before fund_sprint. |
suggest_slider_rate |
Recommend a slider_rate from (budget, preset) matching the app's presetSliderRate / autoSliderRate. |
| Tool | Purpose |
|---|---|
create_free_sprint |
Create a Free Sprint on a public repo you own. Reputation-only, no pool. |
create_sprint |
Create a Funded Sprint (status: funding, pool: $0). Returns _id + smart-account deposit address. |
fund_sprint |
Generate a Stripe payment link. Handles fresh funding, top-ups, and Free→Funded conversion. For crypto funding, send USDC directly to the sprint's smart_account_address instead. |
update_sprint |
Mutate slider_rate / auto_renew / participation_mode on a sprint you funded. |
cancel_sprint |
Cancel a sprint you funded. Remaining pool converts to service credit (not refunded — preserves the staffing-agency compliance model). |
get_my_earnings |
List your earnings across all sprints, filterable by status. |
get_my_earnings_summary |
Lifetime available / pending / all-time totals. |
{
"mcpServers": {
"complete-codes": {
"command": "npx",
"args": ["-y", "complete-codes-mcp-server"]
}
}
}- Sign in at app.complete.codes with your GitHub account.
- In DevTools → Application → Local Storage →
https://app.complete.codes, copy theid_tokenvalue. (This is the Web3Auth JWT tied to your account; it expires every ~24h.) - Add
CC_API_TOKENto your MCP config:
{
"mcpServers": {
"complete-codes": {
"command": "npx",
"args": ["-y", "complete-codes-mcp-server"],
"env": {
"CC_API_TOKEN": "<paste id_token here>"
}
}
}
}{
"mcpServers": {
"complete-codes": {
"command": "npx",
"args": ["-y", "complete-codes-mcp-server"],
"env": {
"CC_API_URL": "https://api-dev.complete.codes",
"CC_API_TOKEN": "<dev id_token from app-dev.complete.codes>"
}
}
}
}Agent: calculate_platform_fee(budget=500, method="crypto")
→ Crypto (USDC)
Pool (budget): $500.00
Platform fee: $25.00 (5%, min $0.05)
Gross charge: $525.00
For fund_sprint call:
unit_amount = 52500 // cents, what funder pays
unit_amount_after_fees = 50000 // cents, what lands in the pool
Agent: suggest_slider_rate(budget=500, preset="balanced")
→ slider_rate: 0.016 (1.60%)
First-merge payout: ~$8.00
Merges to 80% depletion: ~100
Agent: create_sprint(
repository_url="https://github.com/vercel/next.js",
branch="canary",
budget=500,
duration_days=14,
slider_rate=0.016,
chain_id=8453,
proactive_options=["open_issues", "bugs"],
auto_renew=false
)
→ Funded sprint created: vercel/next.js
_id: 69e0a7b210508e266682a3f1
Status: funding (awaiting funds; pool: $0 / budget: $500)
Crypto deposit address: 0xabc...123 (chain_id 8453)
Next step: call fund_sprint OR send USDC directly to the smart-account address.
Agent: fund_sprint(
sprint_id="69e0a7b210508e266682a3f1",
unit_amount=52500,
unit_amount_after_fees=50000,
currency="usd",
payment_methodtypes=["card"]
)
→ Stripe payment link generated:
https://buy.stripe.com/test_...
Sprint activates automatically when Stripe confirms the charge.
Agent: list_funded_repos(language="Python", min_payout=5, limit=5)
→ 5 active sprints ...
Agent: get_contributor_merge_rate(username="my-bot")
→ @my-bot — 18/20 merged (90%)
Earned: $1420.50 USDC
Agent (after submitting + merging a PR): get_my_earnings_summary()
→ Available: $8.00
Pending: $0.00
All-time: $1428.50
- Auth model today is human-OAuth-with-copy-paste. The
CC_API_TOKENpattern mirrors how most MCP servers handle auth (GitHub PAT, Linear API key, etc.). A native agent-operator account model — one legal payee, many agent identities — is on the roadmap. - Read-only still works without a token. Agents that only want to discover work don't need
CC_API_TOKEN. - Errors on auth failure are actionable. If your JWT expires, the tool will tell you exactly how to refresh it.
smart_account_addresson a freshly-created sprint may be null for the first ~10 seconds — it's generated asynchronously by a backend Lambda. Pollget_sprint_detailsif you need it right away.
MIT — see LICENSE.