MCP cover image
See in Github
2025-04-14

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を使用し、ブラウザ経由でのユーザー認証を実装しています

相关推荐

  • Contraband Interactive
  • Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.

  • rustassistant.com
  • Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.

  • Aurity Ltd
  • Create and Publish Business Websites in seconds. AI will gather all the details about your website and generate link to your website.

  • Convincible Ltd
  • You're in a stone cell – can you get out? A classic choose-your-adventure interactive fiction game, based on a meticulously-crafted playbook. With a medieval fantasy setting, infinite choices and outcomes, and dice!

  • John Rafferty
  • Text your favorite pet, after answering 10 questions about their everyday lives!

  • Ian O'Connell
  • Provide players' names or enter Quickstart to start the game!

  • analogchat.com
  • Efficient Spotify assistant for personalized music data.

  • n8n-io
  • 具有本机AI功能的公平代码工作流程自动化平台。将视觉构建与自定义代码,自宿主或云相结合,400+集成。

  • WangRongsheng
  • 🧑‍🚀 llm 资料总结(数据处理、模型训练、模型部署、 o1 模型、mcp 、小语言模型、视觉语言模型)|摘要世界上最好的LLM资源。

  • langgenius
  • alibaba
  • av
  • 毫不费力地使用一个命令运行LLM后端,API,前端和服务。

  • Azure
  • 该存储库用于开发Azure MCP服务器,将Azure的功能带给您的代理商。

  • 1Panel-dev
  • 🔥1Panel提供了直观的Web接口和MCP服务器,用于在Linux服务器上管理网站,文件,容器,数据库和LLMS。

  • superiorlu
  • 🤖在AI上收集实用的AI存储库,工具,网站,论文和教程。 实用的ai百宝箱百宝箱

  • Byaidu
  • PDF科学纸翻译带有保留格式的pdf -基于ai完整保留排版的pdf文档全文双语翻译

  • Onelevenvy
  • Flock是一个基于工作流程的低音平台,可快速构建聊天机器人,抹布和协调多代理团队,由Langgraph,Langchain,Langchain,Fastapi和Nextjs提供支持。(羊群工作流工作流的低代码平台,rag rag rag 用于快速构建聊天机器人、 rag temant Agent fastem temantfaster和muti-agent agagent应用

  • caio-moliveira
  • 创建该项目是为了证明我们如何与不同的模型上下文协议(MCP)连接。

  • microsoft
  • Python tool for converting files and office documents to Markdown.

    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!