Skip to content
Automation
Command

/setup

Check MCP server connectivity

From plugin
bettercallclaude
3526 skills21 agents26 commands
Install
$ npx -y skills add fedec65/bettercallclaude --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/setup

Context preview

What this command does when you run it.

Check MCP server connectivity

Command definition

setup.md
description: "Check MCP server connectivity"
tools:
  - Read
  - Grep
  - Glob
  - Bash
  - WebSearch
  - WebFetch
  - mcp__plugin_bettercallclaude_bge-search__search_bge
  - mcp__plugin_bettercallclaude_bge-search__get_bge_decision
  - mcp__plugin_bettercallclaude_entscheidsuche__search_decisions
  - mcp__plugin_bettercallclaude_entscheidsuche__get_decision_details
  - mcp__plugin_bettercallclaude_fedlex-sparql__search_legislation
  - mcp__plugin_bettercallclaude_fedlex-sparql__get_article
  - mcp__plugin_bettercallclaude_legal-citations__validate_citation
  - mcp__plugin_bettercallclaude_legal-citations__format_citation
  - mcp__plugin_bettercallclaude_onlinekommentar__search_commentaries
  - mcp__plugin_bettercallclaude_swiss-caselaw__get_decision
  - mcp__plugin_bettercallclaude_swiss-caselaw__find_citations
  - mcp__plugin_bettercallclaude_swiss-caselaw__get_commentary
  - mcp__plugin_bettercallclaude_swiss-caselaw__cite
  - mcp__plugin_bettercallclaude_legal-persona__legal_analyze
  - mcp__plugin_bettercallclaude_legal-persona__legal_draft
  - mcp__plugin_bettercallclaude_legal-persona__legal_strategy
  - mcp__plugin_bettercallclaude_legal-persona__compute_deadlines
  - mcp__plugin_bettercallclaude_legal-persona__present_adversarial_analysis
  - mcp__plugin_bettercallclaude_legal-persona__present_intake_form
  - mcp__plugin_bettercallclaude_tas-jurisprudence__cas_search
  - mcp__plugin_bettercallclaude_tas-jurisprudence__cas_get_award
  - mcp__plugin_bettercallclaude_tas-jurisprudence__cas_recent
  - mcp__plugin_bettercallclaude_tas-jurisprudence__cas_by_sport
  - mcp__plugin_bettercallclaude_ollama__ollama_check_status
  - mcp__plugin_bettercallclaude_ollama__ollama_list_models
  - mcp__plugin_bettercallclaude_ollama__ollama_generate
  - mcp__plugin_bettercallclaude_ollama__ollama_classify_privacy
  - mcp__plugin_bettercallclaude_ollama__ollama_chat

BetterCallClaude MCP Server Setup

When this command is invoked, perform the following diagnostic and transport management workflow.

Step 1: Check Health Endpoint

Run this command via Bash to check the HTTP MCP service:

curl -sf https://mcp.bettercallclaude.ch/health

If the health check succeeds, the HTTP service is online. If it fails, note the error for the status table.

Step 2: Probe MCP Servers

Check connectivity for each of the 9 MCP servers using a **two-stage non-blocking approach**:

**Stage A — Check tool availability (non-blocking)**

Look at your currently available tools. For each server, check whether its tools appear in your tool list:

| Server | Tools to look for | |--------|-------------------| | entscheidsuche | `search_decisions`, `get_decision_details`, etc. | | bge-search | `search_bge`, `get_bge_decision`, etc. | | legal-citations | `validate_citation`, `format_citation`, etc. | | fedlex-sparql | `search_legislation`, `get_article`, etc. | | onlinekommentar | `search_commentaries`, `get_commentary`, etc. | | legal-persona | `legal_analyze`, `legal_draft`, `legal_strategy`, `compute_deadlines`, `present_adversarial_analysis`, `present_intake_form` | | tas-jurisprudence | `cas_search`, `cas_get_award`, `cas_recent`, `cas_by_sport` | | swiss-caselaw | `search_decisions`, `find_citations`, `find_appeal_chain`, `cite`, `get_decision`, etc. | | ollama | `ollama_check_status`, `ollama_list_models`, `ollama_generate`, `ollama_classify_privacy`, `ollama_chat` |

**If a server's tools do not appear in your available tool list, mark it as `[ ] Not connected` immediately and move on — do not attempt to call any of its tools.**

**Stage B — Lightweight call (only for servers confirmed available in Stage A)**

For each server whose tools ARE available, make one lightweight call to confirm it responds:

| Server | Lightweight test | |--------|-----------------| | entscheidsuche | `search_decisions` with a minimal query | | bge-search | `search_bge` with a minimal query | | legal-citations | `validate_citation` with a simple citation | | fedlex-sparql | `search_legislation` with a minimal query | | onlinekommentar | `search_commentaries` with a minimal query | | legal-persona | `legal_analyze` with a minimal legal question | | tas-jurisprudence | `cas_search` with a minimal query | | swiss-caselaw | `search_decisions` with a minimal query | | ollama | `ollama_check_status` (or `ollama_list_models`) |

If a tool call does not respond promptly, mark that server as `[ ] Timeout` and continue — do not wait or retry.

Step 3: Display Status Table

For each server, determine the transport type by checking the server configuration in `mcp.json`.

Output the following formatted status report, replacing status indicators and transport types based on Steps 1-2:

==============================================
  BetterCallClaude MCP Server Status
==============================================

  Server                    Status              Transport
  ------                    ------              ---------
  entscheidsuche            [x] Connected       HTTP
  bge-search                [x] Connected       HTTP
  legal-citations           [x] Connected       HTTP
  fedlex-sparql             [x] Connected       HTTP
  onlinekommentar           [x] Connected       HTTP
  legal-persona             [x] Connected       HTTP
  tas-jurisprudence         [x] Connected       HTTP
  swiss-caselaw             [x] Connected       SSE
  ollama                    [x] Connected       Local

  HTTP Service: https://mcp.bettercallclaude.ch
  Health: OK / Unreachable
  Connected: X/9 servers
==============================================

Mark each server as `[x] Connected`, `[ ] Not connected`, or `[ ] Timeout` based on Step 2 results. Show `HTTP`, `SSE`, or `Local` in the Transport column.

Step 4: Provide Guidance Based on Results

If all 9 servers are connected:

All 9 MCP servers are operational. No action needed.
BetterCallClaude is running at full capability.

If HTTP servers are not conn

Read more
Ships withbettercallclaude

A powerful plugin for Claude Cowork Desktop, designed specifically for Swiss legal professionals. 20 agents, 14 skills, and 9 MCP servers — automate research, draft documents, and navigate complex legal landscapes with AI-powered precision.

Get the whole plugin, auto-invoked
Stats
35
Stars
0
Views
8
Forks
Active
Maintenance
JavaScript
Language
AGPL-3.0
License
3d ago
Last commit
6mo ago
Created

Repo: fedec65/bettercallclaude