スマレジMCPサーバー
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
社内勉強会の発表資料用のMCPサーバ試作レポジトリです。
スマレジMCPサーバー
スマレジプラットフォームAPIの操作方法を提供するModel Context Protocol (MCP) サーバーです。
概要
このMCPサーバーは、LLM(Claude、GPT等)がスマレジAPIを使用するコードを生成できるよう、API操作方法の情報を提供します。実際のAPIを呼び出すのではなく、APIの使用方法を教えるドキュメントサーバーとして機能します。
Related MCP server: OwlPay MCP Server
機能
提供するリソース
取引一覧取得方法 (
smaregi://api/transactions/list)スマレジAPIから取引一覧を取得する方法
エンドポイント、パラメータ、サンプルコードを含む
取引作成方法 (
smaregi://api/transactions/create)スマレジAPIで新規取引を作成する方法
必須フィールド、リクエスト形式、サンプルコードを含む
特徴
動的ドキュメント取得: 最新のスマレジAPIドキュメントを都度取得
MCP準拠: 標準的なMCPプロトコルに完全準拠
Docker対応: コンテナとして簡単にデプロイ可能
STDIO Transport: 標準入出力による安全な通信
必要な環境
Docker(推奨)
または Rust 1.75以上(直接実行する場合)
インストールと使用方法
Dockerを使用する場合(推奨)
MCPクライアント設定
MCPクライアント(Claude Desktop等)の設定ファイルに以下を追加:
{ "mcpServers": { "smaregi": { "command": "docker", "args": ["run", "--rm", "-i", "smaregi-mcp:latest"] } } }使用例
MCPクライアントで以下のように質問できます:
スマレジAPIで取引一覧を取得するコードを書いてスマレジAPIで新しい取引を作成するPythonコードを教えて
直接実行する場合
ビルド
cargo build --release実行
./target/release/smaregi-mcp
開発者向け情報
プロジェクト構造
.kiro/specs/: プロジェクト仕様(要件、設計、タスク)docs/: 技術ドキュメントsrc/: Rustソースコード(実装後)
開発に参加する
MCP Inspectorによる動作確認
開発中のMCPサーバーの動作確認には、公式のMCP Inspectorを使用します。
インストール
npm install -g @modelcontextprotocol/inspector基本的な使い方
# 開発中(デバッグビルド)
mcp-inspector cargo run
# リリースビルド
cargo build --release
mcp-inspector ./target/release/smaregi-mcp
# Docker環境
docker build -t smaregi-mcp:latest .
mcp-inspector docker run -i smaregi-mcp:latest確認項目
サーバーが正常に起動するか
リソース一覧が正しく表示されるか(Resources Tab)
各リソースの内容が取得できるか
エラーハンドリングが適切か
ログ出力が正しく動作するか
注意事項
Inspectorの後にコマンド全体をそのまま渡す(
--は不要)STDIO方式のサーバーでは標準出力に書き込まない(JSON-RPCが破壊される)
ログはstderrに出力する
技術仕様
言語: Rust
MCPプロトコル: JSON-RPC 2.0 over STDIO
アーキテクチャ: 4層構造(Transport → Protocol → Resource → Application)
ドキュメントソース: https://developers.smaregi.dev/platform-api-reference/
制限事項
実際のスマレジAPIは呼び出しません
認証機能は提供しません
データの保存やキャッシュは行いません
取引一覧取得と作成のみをサポート(PoC範囲)
ライセンス
このプロジェクトはProof of Conceptとして作成されています。
参考資料
サポート
技術的な質問や問題については、プロジェクトの仕様ドキュメントを参照してください。
This server cannot be deployed
Maintenance
Related MCP Connectors
Publish your API docs so AI assistants can look up endpoints and call your API correctly.
Read-only MCP for Japanese business systems: APIs, authentication, integration routes and live status, each with source URL and survey date. Website: https://renkeimap.jp Systems: https://renkeimap.jp/system Live status and outages: https://renkeimap.jp/status Integration tools: https://renkeimap.jp/tool AI and automation tools: https://renkeimap.jp/ai Guides: https://renkeimap.jp/guide How to use this MCP: https://renkeimap.jp/guide/learn/our-mcp-server 日本の業務システムの API・認証・接続方式・稼働状況を、出典と調査日つきで返す読み取り専用 MCP(IT連携マップ)。 システム一覧:https://renkeimap.jp/system 稼働状況・障害情報:https://renkeimap.jp/status 記事・ガイド:https://renkeimap.jp/guide この MCP の使い方:https://renkeimap.jp/guide/learn/our-mcp-server 訂正窓口:https://renkeimap.jp/request
Read-only search over the Vocenya AI receptionist API docs and endpoints, with code samples.
Serves your design system and coding standards to coding agents, so they stop guessing.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceEnables developers to access kintone API specifications, field type documentation, and development best practices through natural language queries. Supports API request validation and provides comprehensive development guidance for kintone customizations.22 npmMIT
- AlicenseBqualityDmaintenanceEnables LLMs to search and retrieve OwlPay documentation directly through natural language queries. Accelerates system integration by providing instant access to OwlPay API documentation and guides.11MIT
- AlicenseNot gradedqualityDmaintenanceProvides AI assistants with access to comprehensive Safaricom Daraja API documentation for all 22 M-Pesa APIs through searchable tools, enabling developers to query payment processing, transaction management, and business operations documentation.17MIT
- AlicenseAqualityDmaintenanceExposes Swagger/OpenAPI API documentation to AI models, enabling exploration, search, and interaction with endpoints, schemas, and execution of API calls.144 npm2MIT