Cover image
my-tools-mcp-server-öffentliche Präview
Public

my-tools-mcp-server-öffentliche Präview

Try Now
2025-02-03

3 years

Works with Finder

1

Github Watches

1

Github Forks

0

Github Stars

My Tools MCP Server

このプロジェクトは、個人の自動化ツールをAIエージェントでも利用できるようにするためのMCPサーバーです。

プロジェクト概要

公開とプライベートリポジトリの使い分け

このMCPサーバーは、個人専用のツールとして設計されています。プライベートリポジトリには個人の設定やスクリプトが含まれていますが、現時点で秘密情報は含まれていないため、パブリックリポジトリにも一部の情報を公開しています。

今後の展望

今後は、細々としたツールを作るたびに新しいサーバーを作成するのではなく、my-toolsサーバーに様々なツールを集約し、効率的に管理していく予定です。

作業メモ

  1. プロジェクトディレクトリを作成します。

    $ mkdir my-tools
    $ code my-tools
    
  2. MCPサーバーを作成します。

    $ npx @modelcontextprotocol/create-server time-server
    
  3. サーバーにPythonスクリプトを呼び出すツールを追加します。index.tsファイルを編集し、以下のコードを追加します。

    {
      name: "get_current_time",
      description: "Get the current time",
      inputSchema: {
        type: "object",
        properties: {},
        required: []
      }
    }
    
  4. execSyncを使用してPythonスクリプトを呼び出します。

    server.setRequestHandler(CallToolRequestSchema, async (request) => {
      switch (request.params.name) {
        case "get_current_time": {
          const output = execSync('python3 current_time.py').toString().trim();
          return {
            content: [{
              type: "text",
              text: `Current time is: ${output}`
            }]
          };
        }
        default:
          throw new Error("Unknown tool");
      }
    });
    

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Khalid kalib
  • Write professional emails

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • apappascs
  • Entdecken Sie die umfassendste und aktuellste Sammlung von MCP-Servern auf dem Markt. Dieses Repository dient als zentraler Hub und bietet einen umfangreichen Katalog von Open-Source- und Proprietary MCP-Servern mit Funktionen, Dokumentationslinks und Mitwirkenden.

  • OffchainLabs
  • GO -Umsetzung des Ethereum -Beweises des Anteils

  • huahuayu
  • Ein einheitliches API-Gateway zur Integration mehrerer Ethercan-ähnlicher Blockchain-Explorer-APIs mit Modellkontextprotokoll (MCP) für AI-Assistenten.

  • deemkeen
  • Steuern Sie Ihren MBOT2 mit einer Power Combo: MQTT+MCP+LLM

    Reviews

    4 (1)
    Avatar
    user_3RySfUMA
    2025-04-15

    As a dedicated user of the Mcp Hn application, I must say it has significantly improved my server management experience. Developed by WhileBug, this tool offers seamless navigation and efficiency, making complex tasks remarkably straightforward. The user-friendly interface and robust functionalities cater to both novice and experienced users alike. Highly recommended for anyone in need of a reliable server management tool!