Skip to main content
Glama

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
-
license - not tested
-
quality - not tested

Related MCP Servers

  • -
    security
    F
    license
    -
    quality
    This server acts as a Message Communication Protocol (MCP) service for integrating Apifox and Cursor, enabling OpenAPI interface implementation through AI-driven interaction.
    Last updated -
    7
  • -
    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 -
    141
    • Linux
    • Apple
  • A
    security
    F
    license
    A
    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 -
    2
    18
  • -
    security
    A
    license
    -
    quality
    An MCP server that enables AI applications to interact with DiceDB databases.
    Last updated -
    5
    MIT License
    • Linux
    • 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