Skip to main content
Glama

Dixa MCP Server

by ktabori

Dixa MCP サーバー

Dixa API 用の FastMCP サーバー実装。会話とタグを管理するためのリソースとツールを提供します。

特徴

  • リソース
    • 会話を検索
    • 会話の詳細を取得する
    • 会話メモを取得する
    • 会話メッセージを取得する
    • 利用可能なタグを取得する
  • ツール
    • 会話にタグを追加する
    • 会話からタグを削除する

プロジェクト構造

/src ├── dixa.ts # Main server setup ├── config.ts # Configuration and environment settings ├── types.ts # Shared types and error handling ├── resources/ # Resource implementations ├── schemas/ # Zod schemas for validation └── tools/ # Tool implementations

構成

サーバーには次の環境変数が必要です。

  • DIXA_API_KEY : Dixa APIキー
  • DIXA_API_BASE_URL (オプション): デフォルトの API URL を上書きします (デフォルトは ' https://dev.dixa.io/v1 ')

使用法

  1. 環境変数を設定します。
export DIXA_API_KEY='your-api-key'
  1. サーバーを起動します。
    npm start
## Running Your Server ### Test with `mcp-cli` The fastest way to test and debug your server is with `fastmcp dev`: ```bash npx fastmcp dev server.js npx fastmcp dev server.ts

これにより、ターミナルで MCP サーバーをテス��およびデバッグするために、 mcp-cliを使用してサーバーが実行されます。

MCP Inspectorで検査する

もう 1 つの方法は、公式のMCP Inspector使用して Web UI でサーバーを検査することです。

npx fastmcp inspect server.ts

よくある質問

Claude Desktop ではどのように使用しますか?

ガイドhttps://modelcontextprotocol.io/quickstart/userに従って、次の構成を追加します。

{ "mcpServers": { "my-mcp-server": { "command": "npx", "args": [ "tsx", "/PATH/TO/YOUR_PROJECT/src/index.ts" ], "env": { "YOUR_ENV_VAR": "value" } } } }

発達

新しいリソースの追加

  1. src/schemas/にスキーマを作成する
  2. src/resources/にリソースを作成します。
  3. src/dixa.tsにリソースを追加する

リソースの例:

export const myResource = { uri: "dixa://my-resource", name: "My Resource", description: "Description", load: async (args: MyArgs, apiKey: string) => { // Implementation } };

新しいツールの追加

  1. src/tools/にツールを作成する
  2. src/dixa.tsにツールを追加する

ツールの例:

export const myTool = { name: "My Tool", description: "Description", execute: async (args: MyArgs, apiKey: string) => { // Implementation } };

エラー処理

このプロジェクトではカスタム エラー クラスを使用します。

  • DixaError : APIエラーの基本エラークラス
  • DixaValidationError : レスポンス検証失敗の場合

ショーケース

[!注記]

FastMCP を使用してサーバーを開発した場合は、ここでPR を送信して公開してください。

謝辞

貢献

  1. リソースとツールの既存のパターンに従う
  2. 適切なJSDocドキュメントを追加する
  3. types.tsconfig.tsの共有ユーティリティを使用する
  4. 新しい機能を追加する場合はREADMEを更新してください
-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Dixa API 用の FastMCP サーバー実装。AI アシスタントが顧客の会話データとタグを検索、取得、管理できるようになります。

  1. 特徴
    1. プロジェクト構造
      1. 構成
        1. 使用法
          1. エラー処理
            1. ショーケース
              1. 謝辞
                1. 貢献

                  Related MCP Servers

                  • A
                    security
                    F
                    license
                    A
                    quality
                    This server provides access to the Perplexity AI API, enabling interaction through chatting, searching, and documentation retrieval within MCP-based systems.
                    Last updated -
                    5
                    2
                    JavaScript
                  • -
                    security
                    F
                    license
                    -
                    quality
                    An MCP server that integrates real-time web search capabilities into AI assistants using the Exa API, providing both basic and advanced search functionality with formatted markdown results.
                    Last updated -
                    119
                    Python
                    • Linux
                    • Apple
                  • -
                    security
                    -
                    license
                    -
                    quality
                    An MCP server that integrates Apifox API documentation with AI assistants, allowing AI to extract and understand API information from Apifox projects.
                    Last updated -
                    91
                    TypeScript
                  • -
                    security
                    F
                    license
                    -
                    quality
                    An MCP server that connects AI assistants to SearchAgora, enabling users to search for, discover, and purchase products across the web through natural language conversations.
                    Last updated -
                    1
                    Python
                    • Apple

                  View all related MCP servers

                  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/ktabori/dixa-mcp'

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