Setup · Updated May 2026
Connect Claude Code to Jasning
Wire the Jasning MCP server into Claude Code so the CLI can read and write your dispatch board.
Claude Code is Anthropic's terminal-native coding agent. It speaks MCP, so it can drive Jasning the same way the desktop and web Claude clients do.
This is useful when you want to script dispatch from the same place you run your code: bulk-importing customers, generating reports, batching appointments from a CSV.
What you'll need
- A Jasning account
- Claude Code installed (
npm install -g @anthropic-ai/claude-code) - A working terminal
Steps
1. Add the MCP server
From your project directory, run:
claude mcp add --transport http jasning https://jasning.com/mcp
This registers Jasning as a remote MCP server for that project. The first call triggers the OAuth flow.
For a global config that works across every project, use --scope user:
claude mcp add --scope user --transport http jasning https://jasning.com/mcp
2. Authorize
Run any prompt in Claude Code that needs Jasning. The CLI opens the consent page in your default browser, you click Grant access, and the token lands in your local Claude Code config.
3. Test it
claude "show me today's dispatch via jasning"
If you see a list of appointments, you're connected.
Useful patterns
Claude Code shines for bulk and scripted work. Some examples worth trying:
Bulk import customers from a CSV.
claude "read customers.csv and create each one in jasning, skipping anyone whose name already exists"
Claude Code will read the file, call customers-list with each name first to dedupe, then customers-create for the remainder.
Generate a weekly recap.
claude "summarize last week's appointments per driver as a markdown file"
Claude lists appointments by ISO week, groups by driver, writes the file. Cheap to set up as a Friday-afternoon hook.
Pre-flight a planning change.
claude "what would happen if I moved all of friday to monday?"
Claude calls appointments-list for both days and availability-suggest for Monday, then describes the conflicts before you commit.
Hooks
Claude Code supports stop-hooks and on-tool-call hooks. A useful pattern: a stop-hook that appends every Claude Code session to a Jasning note (if you also use Hjarni) so the conversation history is searchable later. Out of scope for this doc, but worth knowing.
Revoking access
- In Claude Code:
claude mcp remove jasning - In Jasning: Settings → Tokens, revoke the entry.
The token stops working immediately.