Skip to main content
Glama
bssth
by bssth

aspro-mcp

npm version npm downloads install size types CI License: MIT Node

Model Context Protocolサーバーであり、Aspro.Cloud REST APIをLLMクライアント(Claude Desktop、Claude Codeなど)に公開します。サーバーにはOpenAPI仕様が同梱されているため、モデルはモジュール、エンティティ、メソッドを自律的に探索し、安全に呼び出すことができます。

特徴

  • 自己記述型。 モデルは aspro_list_modulesaspro_list_entitiesaspro_list_methodsaspro_describe を経由してAPIをブラウズし、その後に aspro_call を実行します。エンドポイントを暗記する必要はありません。

  • 部分一致検索。 モジュール、エンティティ、メソッド、パス、説明、タグを対象とした検索が可能です。

  • デフォルトでForm-urlencoded POSTに対応。 Asproが期待するコンテンツタイプに対応しており、配列やネストされたオブジェクトの処理も可能です。

  • パスパラメータの置換。 /get/{id}/update/{id}/delete/{id} 等のパスパラメータを自動的に処理します。

  • テナントごとの設定。 ASPRO_COMPANY(サブドメイン)または完全な ASPRO_BASE_URL を使用して設定可能です。

インストール

git clone https://github.com/bssth/aspro-mcp.git
cd aspro-mcp
npm install
npm run build

Node.js ≥ 18 が必要です。

設定

サンプル環境ファイルをコピーして記入してください:

cp .env.example .env
ASPRO_COMPANY=your_company        # the {company} part of https://{company}.aspro.cloud
ASPRO_API_KEY=your_api_key_here   # passed as ?api_key=... on every request
# ASPRO_BASE_URL=...              # optional; overrides the URL built from ASPRO_COMPANY
# ASPRO_TIMEOUT_MS=30000          # optional; default 30s

APIキーは、Aspro.Cloudアカウントの 設定 → インテグレーション → API から取得してください。

クライアントへの接続

Claude Desktop / Claude Code

MCP設定にサーバーを追加します:

{
  "mcpServers": {
    "aspro": {
      "command": "node",
      "args": ["/absolute/path/to/aspro-mcp/dist/index.js"]
    }
  }
}

サーバーは、クライアントが起動した作業ディレクトリに関係なく、プロジェクトルートから .env を読み込みます。

その他のMCPクライアント

stdio経由でMCPをサポートするクライアントであれば、node dist/index.js(または npm start)を実行することで利用可能です。

公開されているツール

ツール

説明

aspro_list_modules

トップレベルのモジュール(crmfintaskなど)をエンティティ/操作数とともに一覧表示します。

aspro_list_entities

モジュール内のエンティティと、各エンティティで利用可能なメソッドを一覧表示します。

aspro_list_methods

モジュールの操作(HTTPメソッド + パス + 短い説明)を一覧表示します(エンティティによるフィルタリングも可能)。

aspro_search

モジュール、エンティティ、メソッド、パス、説明、タグを対象とした部分一致検索を行います。

aspro_describe

操作の完全なスキーマ(クエリ/パスパラメータ、型と説明付きのボディフィールド)を表示します。

aspro_call

呼び出しを実行します。{ status, ok, url, data } を返します。

推奨されるフローは search/list_*describecall です。

開発

npm run dev      # tsc --watch
npm run build    # tsc
npm run smoke    # offline: exercises the spec indexer and URL builder

スモークテストはネットワークにアクセスしません。同梱されているOpenAPI仕様が解析可能か、操作が記述可能か、URLビルダーが正しい形式のURLを生成するかを確認します。

プロジェクト構成

src/
  index.ts    MCP server (tool registration + entry point)
  config.ts   .env loading and validation
  client.ts   HTTP client (URL building, form-urlencoded POSTs, timeouts)
  spec.ts    OpenAPI indexer (modules / entities / methods / search / describe)
  smoke.ts    offline smoke test
spec/
  openapi.json  bundled Aspro.Cloud OpenAPI spec

セキュリティ上の注意

  • APIキーは環境変数から読み込まれ、すべてのリクエストに ?api_key=... として付加されます。.env をコミットしないでください。

  • サーバーには許可リストがありません。設定されると、仕様に記述されているすべてのエンドポイント(/delete/{id} などの破壊的なものを含む)を呼び出すことができます。必要な権限のみを持つ専用のAPIキーを使用してください。

  • ツールの出力を信頼しないでください。Asproのエンティティ(カスタムフィールドの値、説明など)には、ユーザーが入力したコンテンツが含まれている可能性があります。

コントリビューション

IssueやPRを歓迎します。提出前に npm run build && npm run smoke を実行してください。

ライセンス

MIT — LICENSE を参照してください。

aspro-mcp は非公式のサードパーティ製コネクタであり、Aspro.Cloudとは提携していません。

Install Server
A
license - permissive license
A
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
1Releases (12mo)

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bssth/aspro-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server