Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_BACKUP_DIRNoバックアップディレクトリのパス (Path to the backup directory). デフォルトは設定ファイルと同じディレクトリの backups/ (Default is backups/ in the same directory as the config file)
MCP_CONFIG_PATHNoMCP設定ファイルのパス (Path to the MCP configuration file)~/.aws/amazonq/mcp.json

Tools

Functions exposed to the LLM to take actions

NameDescription
list_servers

設定されている全てのMCPサーバーをリスト表示する。

Returns: Dict[str, Any]: サーバーのリストと設定ファイルのパスを含む辞書 - servers: 各サーバーの設定情報のリスト - config_path: 設定ファイルのパス
get_server

特定のMCPサーバーの設定を取得する。

Args: name: 取得するサーバーの名前 Returns: Dict[str, Any]: サーバーの設定情報、またはエラー情報
add_server

新しいMCPサーバー設定を追加する。

既に同名のサーバーが存在する場合はエラーを返します。 Args: name: 新しいサーバーの名前 command: 実行するコマンド args: コマンドライン引数(オプション) env: 環境変数(オプション) Returns: Dict[str, Any]: 成功メッセージと追加されたサーバー情報、またはエラー情報
update_server

既存のMCPサーバー設定を更新する。

指定されたフィールドのみが更新されます。 Args: name: 更新するサーバーの名前 command: 新しいコマンド(オプション) args: 新しい引数リスト(オプション) env: 追加/更新する環境変数(オプション) replace_env: Trueの場合、環境変数を完全に置き換える(デフォルト: False) Returns: Dict[str, Any]: 成功メッセージと更新されたサーバー情報、またはエラー情報
remove_server

MCPサーバー設定を削除する。

Args: name: 削除するサーバーの名前 Returns: Dict[str, Any]: 成功メッセージと残りのサーバーリスト、またはエラー情報
validate_config

現在のMCP設定ファイルを検証する。

設定ファイルの存在、JSON形式の妥当性、各サーバー設定の 必須フィールドをチェックします。 Returns: Dict[str, Any]: 検証結果を含む辞書 - valid: 検証が成功したかどうか - servers_count: サーバー数 - servers: サーバー名のリスト - issues: 見つかった問題のリスト(ある場合) - error: エラーメッセージ(ある場合)
export_config

MCP設定全体をJSON形式でエクスポートする。

現在の設定を表示や別の場所へのコピー用に取得します。 Returns: Dict[str, Any]: 設定全体と設定ファイルパスを含む辞書 - config: 現在の設定の完全な内容 - config_path: 設定ファイルのパス

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/r3-yamauchi/mcp-conf-mcp-server'

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