mcp-setup
Configure Model Context Protocol servers for GTM workflows — server selection, tool scope, permissions, guardrails, observability, and multi-tool orchestration.
Skill by LeadMagic
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/leadmagic-mcp-setup
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, data, sales, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/mcp-setup
What's inside
- Skill name
mcp-setup- Description
- Configure Model Context Protocol servers for GTM workflows — server selection, tool scope, permissions, guardrails, observability, and multi-tool orchestration. Use when connecting CRM, enrichment, sequencing, analytics, or support tools to AI agents through MCP.
- License
- MIT
- Compatibility
- Claude Code, Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, Goose, Hermes, Windsurf, Zed
- Metadata
- author: LeadMagic · version: 1.0.0 · category: automation
- Instructions
- 158 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (5)
- SKILL.md
- byoai-headless-stack.md · references/
- framework-notes.md · references/
- check-output.py · scripts/
- output-template.md · templates/
SKILL.md (first lines)
# MCP Setup
## Overview
MCP turns AI agents into tool-using operators. The risk is that teams connect every tool, expose write access, and then wonder why the agent behaves unpredictably. Good MCP setup is not "give the agent more tools." It is tool curation, permission design, and auditability.
This skill configures MCP for GTM workflows where agents research accounts, enrich records, inspect CRM, draft messaging, and route tasks without uncontrolled external side effects.
## When to Use
Use this skill when the user asks to "set up MCP for sales tools", "connect our CRM to Claude/Cursor", "give my agent enrichment capabilities", "build an MCP server for GTM tools", "configure MCP permissions", "connect LeadMagic MCP", "orchestrate multiple MCP servers", or "make agent tool use safer".
## Authoritative Foundations
### Model Context Protocol Specification
MCP standardizes how agents discover tools, resources, and prompts. The key design principle is clear tool descriptions and predictable tool inputs/outputs.
### Anthropic — Tool Use Design Patterns
Tools should be narrowly described, unambiguous, and paired with verification steps. Agents need clear rules for when to call a tool and when to ask for confirmation.
### Least Privilege Access Control
Agents should receive the minimum access needed for the current task. Read-only first, write access only where the business process explicitly requires it.
### Audit Logging
Log every tool call: tool name, who triggered it, timestamp, and a short summary of inputs/outputs. Without this, you cannot debug mistaken CRM writes or sequence enrollments.
## Prerequisites
- Agent platform that supports MCP
- List of tools to expose
- API credentials stored securely
- Permission model: read, draft, write, send
- Audit log destination
- Human approval policy for write actions
## Step-by-Step Process
### Phase 1: Inventory Tool Categories
| Category | Example Tools | Default Permission |
|---|---|---|
| Enrichment | email finder, company enrichment | Read / lookup |
| CRM | accounts, contacts, deals | Read-only first |
| Sequencing | campaign creation, enrollment | Draft-only |
| Analytics | dashboards, event data | Read-only |
| Support | Plain MCP (threads, customers, tenants, help center) | Read + draft replies; confirm before send |
### Phase 2: Define Tool Scope
For each MCP server, document available tools, inputs required, outputs returned, side effects, rate limits, permission level, and human approval requirement. If a tool has side effects, its name and description should make that obvious.
### Phase 3: Configure MCP Client
Typical configuration fields:
```json
{
"mcpServers": {
"gtm-tools": {
"command": "node",
"args": ["server.js"],
"env": {
"API_KEY": "stored-in-secret-manager"
}
}
}
}
```
Never hardcode API keys in repo files. Use environment variables or the agent platform's secret manager.
**Plain MCP (BYOAI support):** Remote server `https://mcp.plain.com/mcp` — OAuth via
Plain account (same permissions as the user). Tools cover thread search, customer lookup,
help center, draft replies (`addGeneratedReply`), and state changes (assign, label, done)
with human approval before customer-facing sends. Pair with `headless-support` →
`references/byoai-headless-stack.md` when stacking Attio + Plain + agent IDE.
### Phase 4: Add Guardrails
Minimum policies: read-only by default, confirmation before CRM writes, confirmation before sequence enrollment, no autonomous sends, rate limits per tool, audit log for every tool call, and surfaced errors.
### Phase 5: Pair with n8n for Batch Execution
MCP agents should not loop hundreds of enrich or CRM writes in chat. For
approved batch jobs, agents POST to n8n webhook `MCP-01` (`n8n-toolkit`) with
HMAC + one-time `approval_token`. n8n runs deterministic pipelines with audit
logs; agent uses MCP read tools to verify results.
### Phase 6: Test End-to-End
Run a test workflow: research one account → enrich one contact → read CRM record → draft outreach → stop before sending → verify logs contain every tool call.
## Output Format
```markdown
# MCP Configuration Plan
## Servers
| Server | Tools | Permission | Side Effects | Approval Required |
|---|---|---|---|---|
## Tool Policies
- Read-only tools:
- Draft-only tools:
- Write tools:
- Forbidden actions:
## Client Config
[Configuration block with secrets referenced via env vars]
## Test Workflow
1.
2.
3.
## Observability
- Log destination:
- Fields captured:
- Alert conditions:From LeadMagic/gtm-skills, MIT.
More from LeadMagic/gtm-skills
- 0.638score
a-b-testing
LeadMagic
Design statistically sound GTM experiments for copy, channels, landing pages, sequencing, pricing, and funnel conversion.
SkillAFreshness: A★ 67Claude Code +9 - 0.638score
campaign-analytics
LeadMagic
Analyze campaign performance from deliverability through revenue: delivery, engagement, replies, meetings, SQOs, pipeline, CAC, and payback.
SkillAFreshness: A★ 67Claude Code +9 - 0.638score
growth-experimentation
LeadMagic
Build a growth experimentation system — ICE scoring, growth sprints, experiment design, statistical significance, and learning repositories.
SkillAFreshness: A★ 67Claude Code +9 - 0.638score
gtm-metrics
LeadMagic
Build a GTM metrics system for SaaS: funnel conversion, pipeline velocity, win rates, CAC, payback, NRR, sales efficiency, growth accounting, and executive…
SkillAFreshness: A★ 67Claude Code +9 - 0.638score
gtm-system-architecture
LeadMagic
Design a complete GTM operating system — revenue model, data model, operating model, growth model, and GTM model per WbD's 6-model framework.
SkillAFreshness: A★ 67Claude Code +9 - 0.638score
tracking-plan
LeadMagic
Master analytics tracking plan for PLG and B2B SaaS — unified event taxonomy, pixel strategy (1P and 3P tagging), marketing attribution architecture, CDP…
SkillAFreshness: A★ 67Claude Code +9 - 0.638score
salesforce-setup
LeadMagic
Set up Salesforce for B2B SaaS GTM — object model, opportunity pipelines, lead management, reports and dashboards, automation (Flows), and enrichment…
SkillAFreshness: A★ 67Claude Code +9 - 0.638score
abm-1-to-few
LeadMagic
Runs ABM at scale (1-to-few) for 15-50 clustered accounts: industry or persona clusters, semi-custom campaigns, and cluster-level content.
SkillAFreshness: A★ 67Claude Code +9 - 0.638score
abm-1-to-1
LeadMagic
Runs strategic 1-to-1 ABM for 5-15 high-value accounts: account plans, custom microsites, executive engagement, direct mail, and board-level connections.
SkillAFreshness: A★ 67Claude Code +9 - 0.638score
abm-strategy
LeadMagic
Designs an account-based marketing program: tier selection, account scoring, channel orchestration, BDR alignment (account-based sales development), and a…
SkillAFreshness: A★ 67Claude Code +9 - 0.638score
account-selection
LeadMagic
Builds and tiers a target account list: fit and intent scoring models, tier assignment, and TAM segmentation.
SkillAFreshness: A★ 67Claude Code +9 - 0.638score
abm-1-to-many
LeadMagic
Runs programmatic 1-to-many ABM for 50-200+ accounts: automated personalization, scaled outbound, intent-based targeting, and lookalike expansion.
SkillAFreshness: A★ 67Claude Code +9
Signals
- Stars
- 67
- Forks
- 18
- Open issues
- 0
- Last commit (this folder)
- Oct 1, 2026 (28 days ago)
- Last release
- Oct 1, 2026 (28 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 1.0.0
- License
- MIT
- Repository
- github.com/LeadMagic/gtm-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from LeadMagic
- 0.638score
a-b-testing
LeadMagic
Design statistically sound GTM experiments for copy, channels, landing pages, sequencing, pricing, and funnel conversion.
SkillAFreshness: A★ 67Claude Code +9 - 0.638score
campaign-analytics
LeadMagic
Analyze campaign performance from deliverability through revenue: delivery, engagement, replies, meetings, SQOs, pipeline, CAC, and payback.
SkillAFreshness: A★ 67Claude Code +9 - 0.638score
growth-experimentation
LeadMagic
Build a growth experimentation system — ICE scoring, growth sprints, experiment design, statistical significance, and learning repositories.
SkillAFreshness: A★ 67Claude Code +9 - 0.638score
gtm-metrics
LeadMagic
Build a GTM metrics system for SaaS: funnel conversion, pipeline velocity, win rates, CAC, payback, NRR, sales efficiency, growth accounting, and executive…
SkillAFreshness: A★ 67Claude Code +9 - 0.638score
gtm-system-architecture
LeadMagic
Design a complete GTM operating system — revenue model, data model, operating model, growth model, and GTM model per WbD's 6-model framework.
SkillAFreshness: A★ 67Claude Code +9 - 0.638score
abm-1-to-many
LeadMagic
Runs programmatic 1-to-many ABM for 50-200+ accounts: automated personalization, scaled outbound, intent-based targeting, and lookalike expansion.
SkillAFreshness: A★ 67Claude Code +9
Cite this page
mcp-setup skill. Agent Mart. https://agentmart.dev/skills/leadmagic-mcp-setup (last updated 2026-10-24)