Skip to content

Connecting a local server

This guide follows the same structure as the stitched docs article and focuses on a reliable local setup.

  • Jumper extension installed.
  • Node.js 18+ available locally.
  • A reachable MCP endpoint such as ws://localhost:8080/mcp.

Create jumper.config.json:

{
"server": {
"port": 8080,
"host": "localhost",
"cors": true
},
"bridge": {
"token": "env(JUMPER_API_TOKEN)",
"logLevel": "debug"
},
"mappings": [
{
"mcp_param": "revenue_metric",
"selector": "#revenue .value",
"extract": "text"
}
]
}
Terminal window
jumper start --config ./jumper.config.json

Expected startup signals:

  • Service bound to configured port.
  • MCP handshake endpoint reachable.
  • Extension status indicates active bridge.
  1. Open the target dashboard tab.
  2. Select one mapped element.
  3. Confirm payload appears in console logs.

Example payload:

{
"mcp_action": "inject_data",
"payload": {
"key": "revenue_metric",
"value": 45289.0,
"type": "currency"
},
"status": "success"
}
  • Ensure port is not occupied by another service.
  • Keep token in environment variables, not plain text files.
  • Fail closed when selectors return no matches.