mcpField
M
My Tools MCP Server

My Tools MCP Server

Local
github.com/nishioOther0Updated 90w ago

About My Tools MCP Server

A personal MCP server that makes individual automation tools available to AI agents. The project plans to consolidate miscellaneous tools in one server rather than creating a new server for each one.

Key features

  1. 01Expose personal automation tools to AI agents
  2. 02Call Python scripts from server tools
  3. 03Plan to consolidate tools in one server

Use cases

  1. 01Make a personal script available to an AI agent
  2. 02Collect multiple small automation tools in one server

MCP support

Provides an MCP server through which AI agents can use personal automation tools.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"my-tools-mcp-server-public-preview": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/create-server"
]
}
}
}
Run commandnpx -y @modelcontextprotocol/create-server

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@modelcontextprotocol/create-server

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

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

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.