Beehiiv MCP Server
Beehiiv MCP サーバー
Beehiiv API v2と連携するためのツールを提供するモデルコンテキストプロトコル(MCP)サーバー。このサーバーにより、大規模言語モデル(LLM)は標準化されたツールを通じてBeehiivの出版物や投稿と連携できるようになります。
前提条件
Python 3.10以上
uvパッケージマネージャーAPIアクセス可能なBeehiivアカウント
Claude Desktop(または他のMCP互換クライアント)
Related MCP server: MCP Python Server — API Wrapper
インストール
まだインストールしていない場合は、
uvをインストールします。
curl -LsSf https://astral.sh/uv/install.sh | sh最初から再構築する場合は、プロジェクトを作成して設定します。
# Create a new directory and navigate into it
mkdir beehiiv-mcp-server
cd beehiiv-mcp-server
# Create virtual environment and activate it
uv venv
source .venv/bin/activate
# Install dependencies
uv add "mcp[cli]" httpx python-dotenvプロジェクト ルートに
.envファイルを作成します。
BEEHIIV_API_KEY=your_api_key_here
BEEHIIV_PUBLICATION_ID=your_publication_id_hereクロードデスクトップ構成
Claude Desktop 構成ファイル ( ~/Library/Application Support/Claude/claude_desktop_config.json ) に次のコードを追加します。
{
"mcpServers": {
"beehiiv-mcp-server": {
"command": "<ABSOLUTE_UV_PATH>",
"args": [
"run",
"--with",
"mcp[cli]",
"mcp",
"run",
"<ABSOLUTE_SERVER_PATH>"
]
}
}
}交換する:
<ABSOLUTE_UV_PATH>はuv実行ファイルへのパスです<ABSOLUTE_SERVER_PATH>、beehiiv_server.pyファイルへの絶対パスです。
利用可能なツール
この MCP サーバーは現在、次のツールを公開しています (今後さらに追加される予定です)。
出版物リスト
API キーでアクセスできるすべての出版物を一覧表示します。
リスト投稿
特定の出版物の最新の確認済み投稿 5 件を一覧表示します。
list_posts(publication_id: str)取得投稿
特定の投稿に関する詳細情報を取得します。
get_post(publication_id: str, post_id: str)get_post_content
投稿の完全なHTMLコンテンツを取得します
新しい投稿を作成
beehiiv プラットフォームに新しい投稿を作成します (エンタープライズのみ)
仕組み
Claude Desktop を通じてこのサーバーとやり取りする場合:
クライアントがあなたの質問をクロードに送ります
クロードは利用可能なBeehiivツールを分析し、どのツールを使用するかを決定します。
クライアントは、このMCPサーバーを介して選択されたツールを実行します。
結果はクロードに送り返される
クロードは自然言語で応答する
応答が表示されます
(ビデオは近日公開予定)
トラブルシューティング
クロードにサーバーが表示されない
claude_desktop_config.jsonファイルの構文を確認してくださいすべてのパスが相対パスではなく絶対パスであることを確認する
Claudeデスクトップを再起動します
ログの表示
MCP 関連の問題については、Claude のログを確認してください。
tail -n 20 -f ~/Library/Logs/Claude/mcp*.logログは次の場所に保存されます:
一般的な MCP 接続については
~/Library/Logs/Claude/mcp.logサーバー固有のログについては、
~/Library/Logs/Claude/mcp-server-beehiiv-mcp-server.log
安全
.envファイルをバージョン管理にコミットしないでくださいBeehiiv APIキーを安全に保管してください
API呼び出しのレート制限の実装を検討する
貢献
hmu on X ( https://x.com/reymerekar7 )
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityFmaintenanceThis server implements the Model Context Protocol to facilitate meaningful interaction and understanding development between humans and AI through structured tools and progressive interaction patterns.57
- Flicense-qualityDmaintenanceA Python server implementing the Model Context Protocol that exposes tools for querying external APIs, compatible with Claude Desktop and ChatGPT Desktop.
- Alicense-qualityDmaintenanceA Model Context Protocol server that enables AI assistants to programmatically interact with the Hashnode API for creating, updating, searching, and retrieving blog content.7MIT
- AlicenseAqualityDmaintenanceA Model Context Protocol server providing tools for DB queries, API calls, file I/O, and text transformations, enabling AI agents like Claude to perform real-world actions.10MIT
Related MCP Connectors
A Model Context Protocol server for Wix AI tools
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
MCP (Model Context Protocol) server for Appwrite
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/reymerekar7/beehiiv-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server