Back to MCP directory
publicPublicdnsLocal runtime

Stellar XDR-JSON

一个为Claude提供Stellar XDR-JSON转换工具的MCP服务器

article

README

🚀 星辰 MCP 服务器用于 XDR-JSON 转换

这是一个 Claude 模型上下文协议 (MCP) 服务器,提供星辰 XDR-JSON 转换工具,能够让 Claude 理解 XDR 的含义,为相关应用提供了强大的支持。

🚀 快速开始

📦 安装指南

本项目无需传统意义上的安装步骤,而是需要在不同使用场景下添加服务器配置。

💻 使用示例

基础用法(Claude 桌面版)

要与 Claude 桌面版一起使用,可按以下步骤操作:

  1. 添加服务器配置:
    • 在 macOS 上,配置文件路径为:~/Library/Application Support/Claude/claude_desktop_config.json
    • 在 Windows 上,配置文件路径为:%APPDATA%/Claude/claude_desktop_config.json%
    {
      "mcpServers": {
        "mcp-stellar-xdr-json": {
          "command": "npx",
          "args": ["deno", "run", "--allow-read", "https://github.com/leighmcculloch/mcp-stellar-xdr-json/raw/refs/heads/main/mcp-stellar-xdr-json.ts"]
        }
      }
    }
    
  2. 重新打开 Claude 桌面版。

高级用法(Claude 代码)

  1. 添加服务器配置:
    claude mcp add \
      --transport stdio \
      --scope user \
      mcp-stellar-xdr-json \
      -- \
      npx deno run --allow-read https://github.com/leighmcculloch/mcp-stellar-xdr-json/raw/refs/heads/main/mcp-stellar-xdr-json.ts
    
  2. 重新打开 Claude 代码。

示例展示

理解事务

可参考此链接查看示例:https://github.com/user-attachments/assets/8c4eef81-9109-432d-8be6-8e24ead74eef

理解合同事件

可参考此链接查看示例:https://github.com/user-attachments/assets/91523c7e-652e-46f8-92af-2315f408e32d

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client