> Prepare MCP/vendor integrations through cited research, a content PR, exact-revision human approval, and one governed Paperclip connector PR per approved connection. Use for new integration research and delivery; not for ad hoc connector coding that bypasses the playbooks.
npx skills add https://github.com/paperclipai/paperclip --skill prepare-mcp-integration
Take an input link or vendor brief through two separate phases: a reviewable
research PR in paperclip-content, then connector implementation in Paperclip
App only after a human accepts the exact research revision and connection set.
paperclip-content/integrations/README.md as the research contract andpaperclip-content/integrations/skills/integration-harness/SKILL.md as its
entrypoint. Reference and run them; do not copy their schemas, templates,
state machines, reconciliation rules, or internal gates into this skill.
paperclip/doc/connections/CONNECTOR-PLAYBOOK.md on the implementationtarget branch as the connector contract. Follow it end to end; do not
substitute remembered behavior or the examples in this skill.
branch, task, or code change before the research gate is accepted.
Acceptance does not cover later commits or additional connections.
infrastructure or broad playbook corrections may use separate prerequisite
PRs; never combine distinct connections into one connector PR.
briefs, catalog files, issue text, plans, fixtures, screenshots, logs, branch
names, commits, or PRs.
support by default. Operators should not have to predict every future tool
they may need during setup. Enforce safe use after connection through
Paperclip's action catalog, resource boundaries, ask-first policies,
quarantine, and audit controls.
a working connection: connection identity, authentication, and any
unavoidable tenant or resource boundary. Put optional scope reduction,
feature groups, individual tool filters, response modes, transport tuning,
and other expert controls behind one collapsed Advanced disclosure.
setup without opening them. When a provider truly requires an explicit
advanced choice, document the exception and explain it in plain language
instead of exposing protocol details by default.
separate layers. Do not reduce requested vendor permissions merely to stand
in for missing action review, approval, quarantine, or audit policy.
durable state, and final disposition. Load the standard PR-preparation skill
(prepare-paperclip-pr for Paperclip agents) before opening any PR.
target repositories and branches, and the Paperclip issue that owns the
work. Ask only when these cannot be determined safely from the brief.
canonical files from those target commits, not from a possibly stale working
tree. Refresh and reread them again immediately before Phase B.
current AppDefinitions/connectors before creating anything. Match by
meaning, not title or slug.
connection has one coherent credential owner, endpoint/transport, resource
boundary, and independently reviewable action catalog. Record the proposed
split early and refine it as evidence arrives.
probes, and current Paperclip code. Use third-party sources only to find or
qualify primary evidence. Record every factual claim with URL and access
date; mark unresolved facts explicitly instead of guessing.
Do not mutate a vendor account, register a client, grant consent, or invoke a
write tool merely to research it. A safe unauthenticated metadata probe is
allowed when it does not change vendor state. Route credential- or
browser-dependent validation through an explicit QA task when it becomes
necessary.
Maintain one concise checkpoint in the Paperclip issue or an issue document:
On every restart, reconcile this state with files, branches, PRs, reviews, and
interactions before creating anything. Reuse semantic matches. Never duplicate
catalog entities, regress terminal pipeline phases, reuse stale acceptance, or
open a second PR for the same connection accidentally.
Preserve unrelated local changes.
harness load its sibling skills for discovery, feature research, proposal
reconciliation, user stories, UI planning, implementation planning,
examples, and docs briefing. Obey every internal human gate in
integrations/README.md; the final research gate below does not replace
them.
pipeline. For MCP work, make the evidence sufficient to decide:
constraints, administrator setup, and validation needs;
current App code. Reconcile before creating, update required indexes/logs,
and preserve lineage, timestamps, immutable slugs, and absorbing phases as
required by the research contract.
paperclip-content. Include the full planningpackage and any tightly coupled content-playbook correction, but no
Paperclip App implementation.
until checks are green, Greptile is 5/5, all actionable review comments are
resolved, and the recorded PR head still matches the reviewed head.
request_confirmation interaction targeted at that issuedocument's latest revision. Use a revision-specific idempotency key and a
wake_assignee continuation policy so either acceptance or rejection wakes
the assignee. Ask the reviewer to include revision notes when rejecting.
in_review and stop. Do not prepare App worktrees or codewhile the interaction is pending.
Phase A only and present a new revision. If the research PR head, gate
document, or connection set changes, withdraw/supersede the old confirmation
and request a fresh one.
revision and recorded PR head. Implement only the accepted connections.
Refresh the App target branch, reread the current Connector Playbook, and record
its commit before writing code. For each accepted connection:
AppDefinitions and connector code first.
plugin, reuse path, AppDefinition, transport, credential refs, resource
filters, action catalog, governance, wizard behavior, health/catalog,
availability, revocation, audit, and validation.
authorization/token endpoint pair for a discovery-capable MCP vendor unless
it is intentionally authoritative: current broker precedence can make that
pair bypass stored endpoints, challenge hints, and RFC discovery. Probe DCR
and redirect constraints safely, reuse registered clients, and cover token
rotation/terminal refresh failures when the vendor requires them.
including the service-involvement statement, a sequence diagram with exact
auth/discovery/registration/callback endpoints, and step-by-step
administrator setup.
connect, catalog discovery, an allowed read, an ask-first write, a
denied/quarantined action, revoke, and audit. Include negative company,
actor, resource, and changed-schema cases where applicable.
or browser evidence cannot be completed safely by the implementing agent.
Link it as a blocker and give QA exact, secret-safe steps and expected
evidence.
it back for merge until focused verification passes, all required checks are
green, Greptile is 5/5, and every actionable comment is resolved.
Complete and report each connection independently. Failure or review delay on
one connection must not cause another connection to be bundled into its PR.
At both phases, compare new evidence with the two canonical playbooks.
docs, and tests.
policy, documentation standard, or validation rule, update the owning
upstream playbook/skill/template and add regression coverage where possible.
connector PR. Use a separate prerequisite PR when the correction affects
several connectors, changes shared infrastructure, or would obscure the
one-connection review.
after the correction. If the accepted research PR or connection set changes,
repeat the research gate.
inconsistent.
Before marking the issue done, report the exact research PR and head, accepted
gate revision, every connector/prerequisite PR and head, focused verification,
CI/review state, and any upstream playbook changes. Leave the issue in_review
only for a real pending interaction/reviewer/monitor path, blocked only for a
named owner and concrete unblock action, and done only when every approved
connection has a merge-ready PR and no required follow-up remains on the issue.
Take paperclipai/prepare-mcp-integration from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.