Skip to content

Migrate in leighmcculloch/mcp-stellar-xdr #1

Migrate in leighmcculloch/mcp-stellar-xdr

Migrate in leighmcculloch/mcp-stellar-xdr #1

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@e95548e56dfa95d4e1a28d6f422fafe75c4c26fb # v2.0.3
- run: deno fmt --check
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@e95548e56dfa95d4e1a28d6f422fafe75c4c26fb # v2.0.3
- run: deno lint
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@e95548e56dfa95d4e1a28d6f422fafe75c4c26fb # v2.0.3
- run: deno check mcp-stellar-xdr.ts
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@e95548e56dfa95d4e1a28d6f422fafe75c4c26fb # v2.0.3
- name: Test MCP server startup
run: timeout 5s deno run --allow-read mcp-stellar-xdr.ts < /dev/null || true
- name: Test MCP tools
run: |
# Test types tool
echo '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "types"}}' | timeout 5s deno run --allow-read mcp-stellar-xdr.ts | head -1
# Test guess tool with sample XDR
echo '{"jsonrpc": "2.0", "id": 2, "method": "tools/call", "params": {"name": "guess", "arguments": {"xdr": "AAAAAgAAAAA="}}}' | timeout 5s deno run --allow-read mcp-stellar-xdr.ts | head -1