TheFocus.AI TheFocus.AI
07 the always on system Lesson 26

Connect Your Data

One command plugs in a live system — and Skills + MCP becomes compound capability.

~10 min

TUTOR WITH THEFOCUS.AI

Agent Integration

Copy this prompt into Claude, ChatGPT, or any external AI assistant. It points the assistant to the course instructions and links it to your student profile to track your progress and customize observations.

Please tutor me in this lesson using the following context. First, read the instructions at: https://courses.thefocus.ai/llms.txt My Student ID is: <none> The lesson markdown source is at: https://courses.thefocus.ai/mastering-claude/07-the-always-on-system/26-connect-your-data.md

You are not enrolled yet. Enroll to generate a Student ID to track lesson completions and store learning notes.

Plug in your data

You have Claude Code (Chapter 06). You have a skill that encodes your organizational knowledge (Chapter 04). Now you connect your actual data.

MCP servers connect to Claude Code with one command. From your project directory:

claude mcp add quickbooks --env QB_ACCESS_TOKEN=... --env QB_REALM_ID=... \
  -- npx -y qb-mcp-server

That registers the server for you personally. Add --scope project and the config is written to a .mcp.json file at the project root instead — check it into git and everyone on the team gets the same connection:

{
  "mcpServers": {
    "quickbooks": {
      "command": "npx",
      "args": ["-y", "qb-mcp-server"],
      "env": {
        "QB_ACCESS_TOKEN": "${QB_ACCESS_TOKEN}",
        "QB_REALM_ID": "${QB_REALM_ID}"
      }
    }
  }
}

Start Claude Code. The MCP server runs as a child process. Claude can now call its tools.

Verify it works — ask Claude: “What MCP tools do you have access to?” It will list the available tools from the connected server. Then ask a real question.

Cornwall Market: Sarah adds the QuickBooks MCP server and restarts Claude Code. She asks, “Show me all invoices over 30 days overdue.” For the first time, she is querying her accounting system through natural language instead of navigating menus and pulling reports. Claude returns a list — three invoices from Pacific Foods, one from a specialty supplier. She has been meaning to follow up on those.

Try This

Add an MCP server with claude mcp add. This could be a database (Neon), a deployment platform (Vercel), a browser (Chrome DevTools), or your accounting system (QuickBooks). The exact server depends on your MCP roadmap from Chapter 05.

Start Claude Code. Ask "What MCP tools do you have access to?" to verify the connection (or run /mcp to see server status). Then ask a real question — something you would normally answer by opening a dashboard or pulling a report.

The moment it comes together

This is the moment the book has been building toward. You have two things: a skill that knows how to do the work (categorization rules, vendor mappings, exception flags from Chapter 04) and an MCP connection that provides the actual data (live transactions, real invoices, current account balances from the connection you just made).

Put them together: “Categorize last week’s uncategorized transactions using our rules.”

Claude reads your categorization skill. It queries QuickBooks via MCP for last week’s transactions. It applies the vendor rules — Chen’s Produce items go to 5100, Pacific Foods items get split across departments, cleaning supplies go to 6100 not Cost of Goods. It flags the one Pacific Foods line item over $500 for review. It produces a categorized report.

What Just Happened

Skill: "Chen's Produce → account 5100. Pacific Foods → split by department. Flag items over $500."

MCP: "Here are 47 transactions from last week, 12 are uncategorized."

Combined: "I categorized 11 of 12 transactions. One Pacific Foods line item is $620 — flagged for review. The uncategorized items were: 4 produce (→ 5100), 3 dairy (→ 5110), 2 dry goods (→ 5130), 1 cleaning supplies (→ 6100), 1 flagged."

This is Skills + MCP. Knowledge plus data. The skill without MCP knows rules but cannot see transactions. MCP without the skill can pull data but does not know your categorization logic. Together, they do what previously required a human with six months of experience at Cornwall Market.

Check your understanding

Answer in your own words — write it down before opening the key. Your tutor grades against the criteria and generates fresh variants on retries.

Q1. “Categorize last week’s uncategorized transactions using our rules.” Explain what the skill contributes, what MCP contributes, and why neither alone can complete this task.

Q2. What does adding —scope project to claude mcp add change, and why does that matter for a team rather than an individual?

Answer key — attempt every question first

Answer key

Q1

Model answer: The skill contributes the HOW — categorization rules, vendor mappings, exception thresholds. MCP contributes the WHAT — the live transactions from the accounting system. Skill without MCP knows the rules but sees no data; MCP without the skill sees data but decides nothing. The compound capability is rules applied to reality.

Pass criteria: both contributions correctly assigned; both one-legged failure modes stated

Q2

Model answer: It writes the connection to a .mcp.json at the project root instead of personal config — check it into git and every teammate gets the same connection automatically. It turns a personal integration into team infrastructure, versioned with the project.

Pass criteria: project file vs personal config; git-shared team consequence

Next: Build Your Own MCP Server

Previous Lesson 26 of 42 Next