Sponsored by Deepsite.site

SmartHR MCP Server

Created By
TomoyaGoto8 months ago
Content

SmartHR MCP Server

このプロジェクトは、SmartHR API に対応した MCP (Model Context Protocol) サーバーです。 SmartHR の従業員・部署・役職・雇用形態・等級などの情報を MCP ツールとして扱うことができます。

構成

smarthr-mcp-server/
├── .env_sample
├── .gitignore
├── main.py
├── pyproject.toml
├── README.md
├── requirements.txt
├── smarthr_mcp_server.json         # MCP ツールとしての定義とコマンド情報(MCP 対応クライアント用)
├── uv.lock
└── smarthr_mcp_server/
    ├── server.py                   # FastMCP ベースの MCP サーバー実装
    ├── smarthr_client.py          # SmartHR API との通信を担当するクライアントモジュール
    └── smarthr_mcp_server.egg-info/

環境変数(.env)

SmartHR API との通信には以下の環境変数が必要です。

SMARTHR_API_BASE_URL=https://app.smarthr.jp/api
SMARTHR_API_KEY=YOUR_SMARTHR_API_TOKEN

使い方

  1. リポジトリをクローンまたはダウンロード

  2. 環境変数の設定(.env)

  3. Claude for Desktop の設定

    claud_desktop_config.json に smarthr_mcp_server.json の内容を追記

  4. Claude for Desktop の再起動

    % killall "Claude"
    % open -a Claude
    

対応ツール一覧

登録 関連

関数名説明
smarthr_create_crew()従業員
smarthr_create_department()部署
smarthr_create_dependent()家族情報
smarthr_create_employment_type()雇用形態
smarthr_create_grade()等級
smarthr_create_job_category()職種
smarthr_create_job_title()役職

削除 関連

関数名説明
smarthr_delete_crew()従業員
smarthr_delete_dependent()家族情報
smarthr_delete_employment_type()雇用形態
smarthr_delete_grade()等級
smarthr_delete_job_category()職種
smarthr_delete_job_title()役職

廃止 関連

関数名説明
smarthr_discontinue_department()部署

取得 関連

関数名説明
smarthr_get_crew()従業員
smarthr_get_department()部署
smarthr_get_dependent()家族情報
smarthr_get_employment_type()雇用形態
smarthr_get_grade()等級
smarthr_get_job_category()職種
smarthr_get_job_title()役職

招待 関連

関数名説明
smarthr_invite_crew()従業員

リスト取得 関連

関数名説明
smarthr_list_crews()従業員
smarthr_list_departments()部署
smarthr_list_dependents()家族情報
smarthr_list_employment_types()雇用形態
smarthr_list_grades()等級
smarthr_list_job_categories()職種
smarthr_list_job_titles()役職
smarthr_list_relations()続柄

部分更新 関連

関数名説明
smarthr_partial_update_department()部署
smarthr_partial_update_dependent()家族情報
smarthr_partial_update_employment_type()雇用形態
smarthr_partial_update_grade()等級
smarthr_partial_update_job_category()職種
smarthr_partial_update_job_title()役職

検索 関連

関数名説明
smarthr_search_crews()従業員

更新 関連

関数名説明
smarthr_update_crew()従業員
smarthr_update_department()部署
smarthr_update_dependent()家族情報
smarthr_update_employment_type()雇用形態
smarthr_update_grade()等級
smarthr_update_job_category()職種
smarthr_update_job_title()役職

ライセンス

MIT

免責事項

本プログラムを利用して行う一切の行為、被った損害・損失に対しては、一切の責任を負いかねます。

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Tavily Mcp
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
ChatWiseThe second fastest AI chatbot™
DeepChatYour AI Partner on Desktop
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Amap Maps高德地图官方 MCP Server
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Playwright McpPlaywright MCP server
CursorThe AI Code Editor
WindsurfThe new purpose-built IDE to harness magic
Serper MCP ServerA Serper MCP Server