Mcp Setup logo

Mcp Setup

Organization
LeadMagic
mcp-setup

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.

Overview

PublisherLeadMagic
Repositorygtm-skills
Skill namemcp-setup
Stars
72
Forks
18
Bundled files
4
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 4 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by LeadMagic on GitHub. Read the source before you install it.

Installation

Install the Mcp Setup AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/LeadMagic/gtm-skills/tree/main/skills/automation/mcp-setup
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/LeadMagic/gtm-skills.git /tmp/gtm-skills
mkdir -p .claude/skills
cp -r /tmp/gtm-skills/skills/automation/mcp-setup .claude/skills/mcp-setup
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Mcp Setup in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Mcp Setup on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Mcp Setup is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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

CategoryExample ToolsDefault Permission
Enrichmentemail finder, company enrichmentRead / lookup
CRMaccounts, contacts, dealsRead-only first
Sequencingcampaign creation, enrollmentDraft-only
Analyticsdashboards, event dataRead-only
SupportPlain 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:

Quality Check

Before delivering, verify:

  • Secrets are referenced through env vars, not hardcoded
  • Tool permissions are least-privilege
  • Side-effecting tools require confirmation
  • Every tool has a clear description and input schema
  • Audit logging captures tool name, input, output summary, timestamp, and actor
  • Test workflow proves tools work end-to-end

Common Pitfalls

  1. Exposing too many tools. Agents choose poorly when tool scope is noisy. Fix: only expose tools needed for the workflow.
  2. Write access by default. A research agent should not mutate CRM. Fix: read-only first.
  3. No confirmation gates. Agents can send or enroll by mistake. Fix: require user confirmation for external side effects.
  4. Secrets in config. Public repos and logs leak keys. Fix: env vars or secret manager.
  5. No logging. You cannot debug a tool call after the fact. Fix: log every call.
  6. Ambiguous tool descriptions. Agents misuse tools with overlapping names. Fix: make tool names and descriptions specific.

Execution Artifacts

  • references/framework-notes.md — named frameworks, citation anchors, and operating assumptions
  • templates/output-template.md — copy-paste deliverable structure for the user
  • scripts/check-output.py — local checklist validator for required sections This skill includes lightweight artifacts the agent can load on demand: Use the artifacts when the user asks for an implementation-ready deliverable, a repeatable workflow, or a quality check rather than generic advice.

Related Skills

  • ai-sdr-setup — guardrails, pilot scope, and human handoff for agent workflows
  • leadmagic-mcp — LeadMagic-specific MCP setup
  • headless-support — Plain BYOAI stack, deflection funnel, KB requirements
  • crm-integration — CRM read/write patterns and field mapping
  • api-enrichment — enrichment API usage and batch patterns

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Mcp Setup AI skill do?

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.

Why use Mcp Setup on TypingMind?

Because you install it once and use it with any model. Mcp Setup is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Mcp Setup in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/LeadMagic/gtm-skills/tree/main/skills/automation/mcp-setup. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Mcp Setup?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Mcp Setup?

As many as you like. As long as a model supports skills, you can use Mcp Setup with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Mcp Setup AI skill free?

Yes. It is published on GitHub by LeadMagic under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇