Cover image
Try Now
2025-04-14

3 years

Works with Finder

0

Github Watches

0

Github Forks

0

Github Stars

MCP Test Sheet Builder

GoogleスプレッドシートとGoogleドライブを使用して、テスト項目を自動生成するMCPサーバーです。

機能

  • GoogleDriveにアクセス可能
  • GoogleDrive内のスプレッドシートを閲覧・編集可能
  • 指定したテンプレートのスプレッドシートをコピーしてファイルを作成可能
  • プロンプトで指定された要件をテストするための因子水準を作成し、スプレッドシートに記載可能
  • 因子水準に基づいてテスト項目をスプレッドシートに作成可能

MCPツール

このサーバーは以下のMCPツールを提供します:

  1. mcp_test_sheet_builder_generate_test: テストシートを生成するツール

    • パラメータ:
      • templateId: テンプレートとなるスプレッドシートのID(必須)
      • title: 生成するスプレッドシートのタイトル(必須)
      • prompt: テスト要件を記述したプロンプト(必須)
      • useOrthogonalArray: 直交表を使用するかどうか(省略可、デフォルト: false)
  2. mcp_test_sheet_builder_get_spreadsheet: スプレッドシートの情報を取得するツール

    • パラメータ:
      • id: スプレッドシートのID(必須)
      • range: 取得する範囲(例: Sheet1!A1:Z100)(省略可)

セットアップ方法

  1. Google Cloud Consoleでプロジェクトを作成
  2. Google Drive APIとGoogle Sheets APIを有効化
  3. OAuth同意画面を設定
  4. OAuth 2.0クライアントIDを作成し、認証情報をダウンロード
  5. ダウンロードしたJSONファイルをcredentials/client_secret.jsonとして保存
  6. 以下のコマンドでトークンを生成:
    node simple-token-generator.js
    
    • このコマンドを実行すると、認証URLが表示されます
    • URLをコピーしてブラウザで開き、Google認証を行います
    • 認証が完了すると自動的にmcp-test-sheet-builder/credentials/token.jsonが生成されます
    • 「トークンが保存されました」と表示されれば認証は成功です
  7. Cursor SettingsのMCP Serversで「Add new global MCP server」を押下し、mcp.jsonに以下を追記
    "mcp_test_sheet_builder": {
       "command": "node",
       "args": [
         "[実際のパスを設定する]/MCP-TestSheetBuilder/mcp-test-sheet-builder/build/index.js"
       ]
     }
    
  8. mcp_test_sheet_builderを有効にする

トラブルシューティング

  • トークンが期限切れになった場合は、simple-token-generator.jsを使用して新しいトークンを生成してください
  • Google APIの権限が不足している場合は、Google Cloud Consoleでプロジェクトの権限を確認してください
  • トークン生成プロセスで問題が発生した場合の対処法:
    • client_secret.jsonの内容が正しいか確認する
    • OAuth同意画面で適切なスコープが設定されているか確認する
    • Google Cloud Consoleでリダイレクトにhttp://localhost:8080が登録されているか確認する
    • Node.jsのバージョンが17以上であることを確認する(ESMサポートのため)

技術詳細

  • このバージョンではMCPプロトコルのみをサポートしています
  • パラメータのバリデーションにZodを使用しています
  • GoogleスプレッドシートとGoogleドライブの操作にGoogle API Node.js クライアントライブラリを使用しています
  • 認証にはOAuth 2.0を使用し、ブラウザ経由でのユーザー認証を実装しています

相关推荐

  • av
  • Exécutez sans effort LLM Backends, API, Frontends et Services avec une seule commande.

  • 1Panel-dev
  • 🔥 1Panel fournit une interface Web intuitive et un serveur MCP pour gérer des sites Web, des fichiers, des conteneurs, des bases de données et des LLM sur un serveur Linux.

  • rulego
  • ⛓️RULEGO est un cadre de moteur de règle d'orchestration des composants de nouvelle génération légère, intégrée, intégrée et de nouvelle génération pour GO.

  • WangRongsheng
  • 🧑‍🚀 全世界最好的 LLM 资料总结 (数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Résumé des meilleures ressources LLM du monde.

  • Onelevenvy
  • Flock est une plate-forme à faible code de workflow pour construire rapidement des chatbots, un chiffon et coordonner des équipes multi-agents, alimentée par Langgraph, Langchain, Fastapi et NextJs. (Flock 是一个基于 Workflow 工作流的低代码平台 , 用于快速构建聊天机器人、 Rag 、 Agent 和 和 , 采用 采用 采用 采用 Langgraph 、 Langchain 、 Fastapi 和 ,))

  • Byaidu
  • PDF Traduction de papier scientifique avec formats conservés - 基于 AI 完整保留排版的 PDF 文档全文双语翻译 , 支持 Google / Deepl / Olllama / Openai 等服务 , 提供 CLI / GUI / MCP / DOCKER / ZOTERO

  • n8n-io
  • Plateforme d'automatisation de workflow à code équitable avec des capacités d'IA natives. Combinez le bâtiment visuel avec du code personnalisé, de l'auto-hôte ou du cloud, 400+ intégrations.

  • hkr04
  • SDK C ++ MCP (Protocole de contexte modèle léger)

  • sigoden
  • Créez facilement des outils et des agents LLM à l'aide de fonctions Plain Bash / JavaScript / Python.

  • RockChinQ
  • 😎简单易用、🧩丰富生态 - 大模型原生即时通信机器人平台 | 适配 QQ / 微信 (企业微信、个人微信) / 飞书 / 钉钉 / Discord / Telegram / Slack 等平台 | 支持 Chatgpt 、 Deepseek 、 Dify 、 Claude 、 GEMINI 、 XAI 、 PPIO 、 OLLAMA 、 LM Studio 、阿里云百炼、火山方舟、 Siliconflow 、 Qwen 、 Moonshot 、 ChatGlm 、 Sillytraven 、 MCP 等 LLM 的机器人 / Agent | Plateforme de bots de messagerie instantanée basés sur LLM, prend en charge Discord, Telegram, WeChat, Lark, Dingtalk, QQ, Slack

    Reviews

    4 (5)
    Avatar
    user_9VbAfZrZ
    2025-04-24

    As a loyal user of MCP applications, I highly recommend the MCP-TestSheetBuilder created by Takatoshi-Miura. This tool has significantly improved my workflow by providing a seamless and efficient way to build test sheets. Its user-friendly interface and robust functionality make it an indispensable resource for any professional needing to create and manage test sheets with ease. A must-have for anyone in need of streamlined test sheet creation!

    Avatar
    user_zQ5ktZlP
    2025-04-24

    As a dedicated user of MCP applications, I must say the MCP-TestSheetBuilder by Takatoshi-Miura is an outstanding tool. Its user-friendly interface makes creating test sheets a breeze, saving me a significant amount of time. The functionality and performance are impressive, making it an invaluable asset in my daily workflow. Highly recommend it!

    Avatar
    user_6fI0gx96
    2025-04-24

    MCP-TestSheetBuilder by Takatoshi-Miura is a fantastic tool that simplifies the process of creating test sheets. Its user-friendly interface and seamless functionality make it a must-have for anyone in need of efficient test sheet generation. Highly recommended for professionals seeking a reliable and efficient solution!

    Avatar
    user_9TgOMqfh
    2025-04-24

    The MCP-TestSheetBuilder by Takatoshi-Miura is an incredible tool for creating detailed test sheets effortlessly. Its user-friendly interface and robust features make it an essential for anyone needing to build professional test sheets quickly. Highly recommend it for its efficiency and simplicity!

    Avatar
    user_pOV5gItg
    2025-04-24

    As an avid user of MCP applications, I found MCP-TestSheetBuilder by Takatoshi-Miura incredibly efficient. This tool streamlines the testing process, offering seamless integration and a user-friendly interface. Its robust capabilities have significantly improved our workflow. Highly recommended for anyone looking to optimize their testing procedures!