Ploomes MCP Server
Ploomes MCP Server
MCP(Model Context Protocol)サーバーで、AI アシスタントを Ploomes CRM に接続します。Ploomes エンティティの CRUD、ファネルとフィールドの設定、CPQ(提案/販売/文書テンプレート)、自動化、Webhook をカバーする 153 のツールを公開しています。変更履歴は CHANGELOG.md にあります。
セットアップ
uv sync.env を作成してください:
# Obrigatórias
PLOOMES_API_KEY=sua_chave
PLOOMES_BASE_URL=https://api2.ploomes.com
PLOOMES_USER_ID=id_numerico
# Opcional — loga request/response completo no stderr
PLOOMES_DEBUG=1
# Opcional — apenas para o caminho "gateway" de geração de HTML de proposta
# (gerar_modelo_html_ia, identificar_campos_html_ia, criar_campos_em_massa_ia).
# É uma credencial PRÓPRIA dessa feature, diferente da PLOOMES_API_KEY.
# Sem ela, essas três tools retornam erro explicativo e o resto do servidor
# funciona normalmente — veja "Geração de HTML" abaixo para a alternativa que
# não precisa de credencial extra.
PLOOMES_AI_CLIENT_ID=
PLOOMES_AI_CLIENT_SECRET=
PLOOMES_AI_BASE_URL=https://ai.ploomes.run/api
# Opcional — debugging com LangSmith
OPENAI_API_KEY=
LANGSMITH_TRACING=true
LANGSMITH_ENDPOINT=https://api.smith.langchain.com
LANGSMITH_API_KEY=
LANGSMITH_PROJECT=ploomes-mcpサーバーを実行してください:
uv run python ploomes_server.pyRelated MCP server: Kommo MCP Server
検証
サーバーを起動する前、または PR を開く前に、静的検証を実行してください(ネットワークも資格情報も使用しません):
uv run python tests/verificar_tools.py --strict重複したツール名、tools/__init__.py に登録されていないツールを含むファイル、存在しないシンボルのインポートを検出します。これらは 29/07/2026 の統合で見つかった 3 つの問題です。実行時には、register_all_tools も、2 つのファイルが同じツール名を宣言した場合、FastMCP が一方を黙って破棄するのではなく、RuntimeError を発生させます。
sandbox アカウントに対する手動テストの手順(本番環境は不可):
uv run python test_novas_tools.py --etapa 1 # só leitura
uv run python test_novas_tools.py --etapa 2 # escrita, pede confirmação提案テンプレートの HTML 生成
Ploomes には HTML とは別のフォームフィールドエディタはありません。ユーザーが提案を生成する際に入力するフィールドは、ドキュメント本文の HTML(Pages[].BodySourceCode)のパースから バックエンドによって導出されます。HTML を正しいタグで記述することだけが、フィールドを宣言する唯一の方法です。
2 つの方法があり、どちらも salvar_modelo_proposta で終わります:
ネイティブ — PLOOMES_API_KEY のみが必要です。エージェントが HTML を記述します。
guia_html_modelo_proposta— マークアップの規約を返します。エージェントが HTML を記述します。ネイティブフィールドには
<field key="...">、カスタムフィールドが必要な場所には<newfield .../>を使用します。criar_campos_novos_llm— カスタムフィールドを作成し、キーを返します。aplicar_campos_novos_html_llm—<newfield>を<field key="...">に置き換えます。salvar_modelo_proposta— テンプレートと最初のページを作成します。montar_bloco_produtos_proposta— 項目ブロックがあれば挿入します。 ゲートウェイ —PLOOMES_AI_CLIENT_ID/SECRETが必要で、参照として PDF、Word、画像を受け付けます(ネイティブの方法では、エージェントが自分でファイルを読む必要があります)。gerar_modelo_html_ia→ 2.identificar_campos_html_ia→criar_campos_em_massa_ia→ 4.aplicar_campos_no_html_ia→salvar_modelo_propostaショートカット — クライアントのビジュアルアイデンティティを備えたシンプルなテンプレートの場合、montar_modelo_proposta_com_identidadeは、すでに抽出されたブランドブリーフから 1 回の呼び出しですべてを実行します。カスタムレイアウトが必要な場合や、途中のエラーから再開する場合は、個別の手順を使用してください。
マークアップの規約は、Ploomes の公式ドキュメントではなく、アプリのリバースエンジニアリングとネットワークキャプチャによるものです。本番の前に sandbox で検証してください。
Claude Desktop / Cursor に追加
{
"mcpServers": {
"ploomes": {
"command": "uv",
"args": ["run", "python", "/caminho/para/ploomes_server.py"],
"env": {
"PLOOMES_API_KEY": "sua_chave",
"PLOOMES_BASE_URL": "https://api2.ploomes.com",
"PLOOMES_USER_ID": "id_numerico"
}
}
}
}LangSmith でのデバッグ
LANGSMITH_* 変数が定義されていると、ツール呼び出しは自動的にトレースされます。uv run python example.py を実行し、https://smith.langchain.com でダッシュボードを確認してください。
This server cannot be installed
Maintenance
Related MCP Servers
- AlicenseBqualityAmaintenanceProvides comprehensive access to Pipedrive CRM with 100+ tools for managing deals, contacts, organizations, activities, and sales workflows through natural language conversations with Claude.1006112MIT
- FlicenseBqualityDmaintenanceEnables AI assistants to autonomously interact with Kommo CRM, providing tools for managing pipelines, leads, contacts, and custom fields via the Kommo API v4.271
- AlicenseAqualityDmaintenanceConnects AI agents to the Ploomes CRM REST API, exposing 56 tools for managing contacts, deals, tasks, pipelines, interactions, quotes, orders, products, fields, users, and account information.56111MIT
- AlicenseNot gradedqualityBmaintenanceConnects AI assistants to HubSpot CRM, providing tools to manage contacts, companies, deals, and more via natural language.MIT
Related MCP Connectors
Connect AI to your Attio CRM. Manage contacts, companies, deals, and sales pipelines. Create tasks…
Connect AI assistants to Stellary projects, boards, documents, and governed agent workflows.
Connect your AI assistants to Keboola and expose your data, transformations, SQL queries, ...
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/thalleshcm/ploomes-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server