AI Loop Library MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| AI_LOOP_LIBRARY_CATALOG_URL | No | URL to the catalog JSON file | https://ailooplibrary.com/catalog.json |
| AI_LOOP_LIBRARY_CATALOG_PATH | No | Path to a local JSON file as catalog source (catalog.json or data/loops.json shape) |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| browse_catalogA | The entire AI Loop Library as a compact digest (~2k tokens): every loop's id, category, one-line use_when, and verifier strength. This is the highest-signal single call here — you know the operator's repo, data, and recurring pain, so scan the digest against that context and make the pick yourself. Follow with get_loop for depth or render_run_protocol to run one. |
| search_loopsA | Search AI Loop Library's bounded, verifiable work loops by job-to-be-done, keyword, or category. Each loop ships with a trigger, one-change-per-round discipline, a verification check, a stop condition, a budget, and a human approval boundary — so an agent can run it without thrashing. Returns ranked matches with a one-line why-matched. |
| get_loopA | Fetch one loop's full spec by id or slug: objective, trigger, allowed actions, verification (+ verifier strength), stop condition, budget, approval boundary, copyable prompt, and canonical URL. Use after browse_catalog or search_loops. |
| pick_loop_for_goalA | Shortlist the best-matching loops for a stated goal (lexical ranking with an honest confidence signal) — you make the final call. Returns 5 candidates with use_when, verification, and why-matched so you can judge against operator context the server can't see. When confidence is low, trust your own read of browse_catalog over this ranking. Follow with render_run_protocol for the executable version. |
| render_run_protocolA | Render a loop as an executable markdown run protocol an agent can follow directly: objective/done contract, allowed actions, one-change-per-round rule, the same verification every round, a durable state-file skeleton, stop conditions, budget, risk-colored approval boundary, proof format, and a paste-ready Claude Code prompt. Session loops get bounded rounds; scheduled-tick business loops (SEO, ads, product metrics) get experiment logs, undo-losers discipline, and notify-the-human ticks. |
| critique_loopA | Lint any loop design — the operator's own, or one you drafted — against the AI Loop Library anti-pattern rubric: verifier present and objective, stop condition, budget, one-change-per-round, durable state, same-check-every-round, micro-metric objective (MVL), human gates on risky surfaces, defined trigger. Returns a 0–10 score, per-check fixes, and related catalog loops. Deterministic text lint, not a model — 'missing' means 'not stated'. |
| design_loopA | Scaffold a NEW loop spec from a stated bottleneck when no catalog loop fits: returns a draft with every required field (trigger, scope, one-round action, suggested verifier for the domain, state files, stop conditions, budget, risk colors), an MVL sanity check on the objective, and the nearest existing loops to steal structure from. Follow with critique_loop on the completed draft. |
| list_categoriesA | List loop categories with live counts and library filter URLs. |
| catalog_statsA | Catalog overview: loop count, categories, featured loops, last_updated, and where the catalog was loaded from. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| AI Loop Library catalog | Full catalog of bounded, verifiable AI agent loops (JSON). |
| Source Library Ingestion QA | Turn raw captures into retrieval-ready knowledge instead of a pile of orphaned links. |
| Claude Code Repo Readiness | Make the repo legible to agents before asking them to do real work. |
| Project Docs Freshness | Keep documentation synced with what the product actually does. |
| Test and Logging Coverage | Raise the floor for every future loop by improving the evidence system. |
| CI Optimization | Attack one CI bottleneck at a time until the target is met or the bottleneck report is more valuable than another tweak. |
| Open Loop and Stale Memory Cleanup | Reconcile what the system thinks is open against what actually happened. |
| Social Source to Insight | Convert high-signal sources into grounded ideas without auto-posting like a caffeinated intern. |
| Fresh Clone Onboarding | Prove the README works from zero, not tribal memory. |
| Production Error Sweep | Turn recurring production errors into verified patches. |
| Dependency CVE Burndown | Rank vulnerabilities by real exposure, then fix the reachable ones first. |
| Test Flake Stabilizer | Find the real cause of flakes instead of wallpapering them with sleeps. |
| Pre-Publish Source Check | Inventory the claims before the internet does it for you. |
| Research to Artifact | Constrain research around the decision it needs to support. |
| Browser Quality Streak | Run real scenarios until the streak proves the product is stable. |
| Error Message Rewrite | Replace error sludge with clear recovery paths. |
| Accessibility Repair | Fix access barriers without silencing checks or weakening the standard. |
| Cold Load Trim | Reduce first-load bytes without breaking the first impression. |
| Architecture Rubric Refactor | Refactor against a written rubric, not taste fumes. |
| Adversarial PR Review | Separate builder and critic so “looks good to me” means something. |
| Living Story | Maintain an evidence-backed story of what matters and what is unfinished. |
| Promise to Proof | Make product claims survive contact with reality. |
| SEO/GEO Visibility | Map priority questions to answer-ready pages. |
| One Post a Week Experiment | Change one variable per week and let useful audience behavior decide. |
| Talk to Five Buyers | Let buyer language rewrite the page where the objection appears. |
| Agent Handoff Continuity | Prevent the next agent from starting with amnesia and bravado. |
| Agent Toolchain Health Check | Check the harness before blaming the model. |
| API Contract Drift | Find where the API contract forked and bring every consumer back to one truth. |
| Calendar Promise Proof | Mine the calendar for promises before they become social debt. |
| Support Refund Follow-Up | Keep the case moving until the money lands or the wall is real. |
| Loop Hiring Manager | Hire loops like employees: for recurring work with clear outcomes. |
| Acceptance Scenario Lockstep | Pin the target with executable scenarios before the agent starts changing code. |
| Inbox Decision Triage | Turn inbox sludge into a small list of decisions, drafts, and explicit no-actions. |
| Reference Oracle Implementation | Give the agent an oracle, not a pep talk. |
| Agent Instructions After-Action | Turn one agent run into better future agent runs. |
| Spec to Task Shards | Make the agent split the work before it starts swinging a hammer. |
| Behavior Ladder TDD | Use tests as the prompt, one behavior at a time. |
| Trace-First Debugging | Make the agent earn the fix before touching code. |
| Visual Feedback Repair | Show the agent the page, not just the code. |
| Memory Bank Continuity | Give stateless agents a project spine. |
| Sandboxed YOLO Probe | Let the agent run wild somewhere boring. |
| Parallel Agent Worktree Sweep | Run more agents, but keep their blast radiuses separate. |
| Agent Merge Queue Review | Separate useful agent output from merge-shaped confetti. |
| Completion Promise Loop | Make the agent promise completion against explicit evidence, not vibes and a cheerful summary. |
| Release Notes Truth Sweep | Turn internal change lists into release notes that match the product users can touch. |
| Prompt Regression Suite | Treat prompts like code: keep a small regression set before tuning the clever wording. |
| Meeting Transcript Action Miner | Turn messy meeting records into owned next actions without inventing commitments. |
| Feature Flag Retirement Sweep | Retire stale flags before yesterday's rollout logic becomes tomorrow's haunted house. |
| Schema Migration Dry Run | Make the database change prove itself somewhere safer than the real thing. |
| Longform to Asset Pack | Turn one dense source into a small, traceable distribution kit instead of posting chopped-up leftovers. |
| Incident Timeline Reconstruction | Turn incident noise into a usable timeline before the story hardens into folklore. |
| Customer Proof Packet | Package customer evidence into useful proof without laundering private details into public copy. |
| RAG Grounding Audit | Test the retrieval chain before polished nonsense reaches users. |
| Side-Effect Dry Run Gate | Make the agent show its hands before it touches reality. |
| Vendor Security Packet Builder | Turn scattered security facts into a reusable response packet without improvising compliance poetry. |
| Model Output Drift Watch | Catch quiet AI behavior drift before users become the monitoring system. They charge more. |
| Webhook Replay Harness | Turn unreliable webhook mysteries into replayable fixtures before touching live traffic. |
| Stakeholder Briefing Packet | Compress scattered context into a source-backed brief so the human shows up oriented, not archaeology-adjacent. |
| Bug Report to Repro Kit | Turn blurry bug reports into a small, executable evidence packet before anyone starts spelunking. |
| Recurring Question to FAQ | Convert repeated confusion into one reusable answer instead of playing inbox whack-a-mole with nicer fonts. |
| Permission Scope Minimizer | Shrink the blast radius before the integration becomes load-bearing and mysteriously sacred. |
| Notebook to Repeatable Pipeline | Turn fragile analyst archaeology into a repeatable pipeline with receipts. |
| CRM Hygiene Loop | A bounded loop for when contacts, stages, and follow-ups decay after busy weeks. |
| Design Token Drift Loop | Find hard-coded style values that should be tokens, replace one cluster per round, and stop only when token usage, component examples, and screenshots agree. |
| Support Macro Learning Loop | A bounded loop for when repeated support answers should become product fixes, macros, or docs. |
| Agent Cost Budget Loop | A bounded loop for when agent runs consume meaningful tokens without clear ROI. |
| SEO Monthly Rank Experiment | Scheduled rank-KPI SEO loop: one experiment per cycle, measure next tick, undo losers. |
| Paid Ads Copy Variant Loop | Ads loop: generate copy variants, spend enough for signal, kill losers, scale winners. |
| Product Feedback to Measure Loop | Turn feedback + analytics into one measured product change per cycle; keep bugs separate. |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/paultaki/ailooplibrary-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server