Lender PluginLightweightCommand

/setup-mcp

Connect the MarketCheck MCP server in under 2 minutes — no npm, no local processes

$/setup-mcp [api-key]
Lightweight
Complexity
0
API Calls
$0.00 – $0.00
MC API Cost
$0.003 – $0.008
Total Cost

Purpose

Before any lending risk skill can run, the MarketCheck MCP server must be reachable. Setup-mcp writes the MCP configuration into your Claude Code config file so the marketcheck tool suite is available in every session — from collateral valuations to portfolio risk briefings.

Audience:Lender plugin first-time usersIT teams deploying the Lender plugin

Arguments

api-keyoptional

Your MarketCheck API key. Prompted interactively if not provided.

How It Works

Execution flow. MCP tool calls are shown inline on each step.

01
MCP Connection Check

Checks if mcp__marketcheck__* tools are already available. If yes, reports 'already connected' and stops.

02
API Key Collection

Uses the api-key argument if provided. Otherwise prompts the user. Key is embedded in the server URL.

03
Config File Location

Checks ~/.claude/.mcp.json (preferred) then .mcp.json (project-level). Creates user-level config if neither exists. Reads existing config to preserve other MCP server entries.

04
Config Write

Merges the marketcheck server entry into the mcpServers object. Preserves all other existing server entries.

05
Confirmation and Next Steps

Reports config path and server URL. Instructs restart. Suggests next steps: /onboarding, then first collateral check.

Example Output

MarketCheck MCP configured successfully.

  Config file: ~/.claude/.mcp.json
  Server URL:  https://mc-api.marketcheck.com/mcp?api_key=••••••••••••••••

    Restart Claude Code to activate the MCP connection.

  Next steps:
  1. Restart Claude Code
  2. Run /onboarding to set up your lender profile
  3. Try: "Collateral value for VIN 1HGCV1F3XPA123456"

Cost Estimate

TierLightweight
API Calls0
MC API — best$0.00
MC API — worst$0.00
Claude — best$0.003
Claude — worst$0.008
Total range$0.003$0.008

Limitations

  • Requires Claude Code restart after config write for MCP to connect.
  • API key is embedded in the MCP server URL — restrict access to the config file.
Lender Plugin
View all skills & commands