Buttondown MCP Server
버튼다운 API 통합
Buttondown 뉴스레터 서비스를 위한 포괄적인 TypeScript 통합으로, 뉴스레터, 초안, 분석을 관리하기 위한 CLI 인터페이스와 MCP(Model Context Protocol) 서버를 제공합니다.
특징
다중 인터페이스 :
직접 상호 작용을 위한 명령줄 인터페이스(CLI)
AI/LLM 통합을 위한 MCP(모델 컨텍스트 프로토콜) 서버
사용자 정의 통합을 위한 프로그래밍 방식 TypeScript API
핵심 기능 :
이메일 초안 관리(생성, 업데이트, 삭제)
이메일 스케줄링 시스템
분석 검색 및 포맷팅
목록 관리
태그 관리
보안 :
API 키 관리를 위한 1Password 통합
환경 변수 지원
보안 자격 증명 처리
개발자 경험 :
전체 TypeScript 지원
포괄적인 유형 정의
실제 API 응답 기반 유형
내장된 테스트 유틸리티
Related MCP server: @sendbyte/mcp
설치
지엑스피1
구성
API 키는 두 가지 방법으로 제공될 수 있습니다.
환경 변수:
export BUTTONDOWN_API_KEY=your_api_key1Password CLI(권장):
op://Development/Buttondown API/notesPlain1Password에 API 키를 저장하세요.통합은 필요할 때 자동으로 가져옵니다.
용법
CLI 인터페이스
# List all emails
buttondown emails list
# Create a new draft
buttondown draft create <file>
# Schedule an email
buttondown schedule set <draft-id> <relative-time>
# Get analytics
buttondown analytics get <draft-id>MCP 서버
서버를 시작합니다:
pnpm mcp:start개발용 검사관으로 시작:
pnpm mcp:inspect
사용 가능한 MCP 도구:
list_emails: 선택적 상태 필터링을 사용하여 모든 이메일을 나열합니다.{ "status": "draft" // Optional: "draft", "scheduled", "sent" }create_draft: 새로운 이메일 초안을 만듭니다.{ "content": "Email content in markdown", "title": "Optional email subject" }get_analytics: 특정 이메일에 대한 분석 가져오기{ "draftId": "email-id-here" }schedule_draft: 이메일 발송 일정을 예약합니다.{ "draftId": "email-id-here", "scheduledTime": "2024-03-27T10:00:00Z" }
프로그래밍 방식 사용
import { ButtondownAPI } from "api-integrator";
// Initialize the client
const api = new ButtondownAPI(); // Will use 1Password or env var
// List drafts
const drafts = await api.getDrafts();
// Create a draft
const draft = await api.createEmail({
subject: "My Newsletter",
body: "Content here",
status: "draft",
});
// Schedule an email
const scheduled = await api.scheduleEmail(draft.id, "2024-03-27T10:00:00Z");
// Get analytics
const analytics = await api.getEmailStats(draft.id);개발
# Build the project
pnpm build
# Run tests
pnpm test
# Start MCP server in development mode
pnpm mcp:inspect
# Build MCP server
pnpm mcp:build테스트
이 프로젝트에는 여러 유형의 테스트가 포함되어 있습니다.
핵심 기능에 대한 단위 테스트
API 상호 작용을 위한 통합 테스트
CLI 명령 테스트
MCP 서버 테스트
다음을 사용하여 테스트를 실행합니다.
pnpm test프로젝트 구조
.
├── src/
│ ├── api/ # Core API client
│ ├── cli/ # CLI implementation
│ ├── mcp/ # MCP server
│ ├── types/ # TypeScript definitions
│ └── utils/ # Shared utilities
├── tests/ # Test files
├── api-responses/ # Cached API responses
└── memory-bank/ # Project documentation기여하다
저장소를 포크하세요
기능 브랜치를 생성합니다(
git checkout -b feature/amazing-feature)변경 사항을 커밋하세요(
git commit -m 'Add some amazing feature')브랜치에 푸시(
git push origin feature/amazing-feature)풀 리퀘스트 열기
특허
ISC 라이센스 - 자세한 내용은 라이센스를 참조하세요.
감사의 말
우수한 뉴스레터 서비스를 제공하는 Buttondown
AI 통합 프레임워크를 위한 모델 컨텍스트 프로토콜
Available Tools
4 toolscreate_draftA
Create a new email draft in Buttondown with the specified content and optional title. This tool requires explicit user confirmation before proceeding as it will create a new draft in your Buttondown account.
Inputs: content (required), confirmed (required), title.
get_analyticsC
Retrieve analytics data for a specific email draft from Buttondown
Inputs: draftId (required).
list_emailsB
List all emails, optionally filtered by status (draft, scheduled, sent)
Inputs: status.
schedule_draftA
Schedule an existing email draft to be sent at a specific time. This tool requires explicit user confirmation before proceeding as it will modify the draft's status and schedule.
Inputs: draftId (required), scheduledTime (required), confirmed (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose targeting specific actions in the email lifecycle: create_draft for creation, list_emails for listing, get_analytics for analytics retrieval, and schedule_draft for scheduling. There is no overlap or ambiguity between these functions.
All tool names follow a consistent verb_noun pattern with snake_case (create_draft, get_analytics, list_emails, schedule_draft). The verbs are appropriate and predictable, making the set easy to understand and use.
With 4 tools, the count is reasonable for an email newsletter server, covering core operations. However, it feels slightly thin as it lacks tools for updating or deleting drafts, which are common in such domains, but the scope is still well-defined.
The tool set covers key email lifecycle stages: creation, listing, analytics, and scheduling. Minor gaps exist, such as no update_draft or delete_draft tools, but agents can work around this by creating new drafts or using existing ones, and the core workflow is supported.
Related MCP Connectors
Read Buttondown subscribers, emails, analytics and automations; add subscribers; write email drafts.
Manage beehiiv newsletters, posts, podcasts, community, subscribers, and analytics.
Connect AI agents to Emitd email sending, message tracking, templates, and automations. Emitd hosts a Model Context Protocol server for integrating supported email operations into AI-agent workflows. Connect a compatible client to the hosted endpoint (https://mcp.emitd.com/mcp) and authenticate with an Emitd API key. Available tools depend on the key's permissions and enabled features. Emitd's capability areas include sending email, message activity, templates, contacts, audiences, segments, domains, analytics, inbound email, broadcasts, automations, webhooks, and suppressions. Use restricted keys, sending guardrails, and approval settings appropriate to each workflow. For more information check https://emitd.com
Read subscribers, posts and segments; add subscribers, tags and draft posts in beehiiv.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables interaction with the Buttondown newsletter API for managing emails, subscribers, and tags.1518 npm1MIT

@sendbyte/mcpofficial
AlicenseAqualityCmaintenanceEnables AI agents to send emails and manage sending domains, templates, analytics, and content checks through the SendByte platform using the Model Context Protocol.1117 npmMIT- AlicenseBqualityNot gradedmaintenanceEnables natural language management of Motion tasks, projects, schedules, and more by bridging the Motion API with LLMs through the Model Context Protocol.10Apache 2.0

Tratto MCP Serverofficial
AlicenseAqualityDmaintenanceLets AI tools send transactional emails, check status, and manage contacts through the Model Context Protocol.2MIT