My Tools MCP Server

My Tools MCP Server

nishio

OS Automation
Visit Server

README

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");
      }
    });
    

Recommended Servers

Claude Code MCP

Claude Code MCP

An implementation of Claude Code as a Model Context Protocol server that enables using Claude's software engineering capabilities (code generation, editing, reviewing, and file operations) through the standardized MCP interface.

Featured
Local
JavaScript
@kazuph/mcp-taskmanager

@kazuph/mcp-taskmanager

Model Context Protocol server for Task Management. This allows Claude Desktop (or any MCP client) to manage and execute tasks in a queue-based system.

Featured
Local
JavaScript
Beamlit MCP Server

Beamlit MCP Server

An MCP server implementation that enables seamless integration between Beamlit CLI and AI models using the Model Context Protocol standard.

Official
TypeScript
ThingsPanel MCP

ThingsPanel MCP

An integration server that connects AI models with ThingsPanel IoT platform, allowing AI assistants to interact with IoT devices through natural language for device control, data retrieval, and management operations.

Official
Python
systemd-coredump MCP Server

systemd-coredump MCP Server

Enables MCP-capable applications to access, manage, and analyze system core dumps through integration with systemd-coredump functionality.

Local
JavaScript
Terminal Controller for MCP

Terminal Controller for MCP

An MCP server that enables secure terminal command execution, directory navigation, and file system operations through a standardized interface for LLMs.

Local
Python
Apple Shortcuts Server

Apple Shortcuts Server

An MCP Server Integration with Apple Shortcuts

Local
JavaScript
mac-apps-launcher

mac-apps-launcher

An MCP server to list and launch applications on MacOS

Local
JavaScript
applescript-mcp

applescript-mcp

Enables LLM applications to interact with macOS through AppleScript.

Local
TypeScript
Bazel MCP Server

Bazel MCP Server

A local MCP server that exposes Bazel build system functionality to AI agents, allowing them to build, test, query, and manage Bazel projects through natural language even in environments where Bazel can't be directly accessed.

Local
JavaScript