AI Library

AI Library

Books for Reading AI

Choose a book, then read it in order from the table of contents.

2026 Beijing: The Dangerous Dance of Two Giants book cover

16 posts available

2026 Beijing: The Dangerous Dance of Two Giants

Kim Kyung-jin

Table of Contents, Introduction, 13 Chapters, Epilogue

This book reads the Beijing summit through Hormuz, rare earths, Taiwan, Boeing, soybeans, AI chips, and Korea’s exposure to the U.S.-China bargain.

Share

Leaving It to AI and Stepping Away cover

27 posts

Leaving It to AI and Stepping Away

Kim Kyung-jin

A Complete Beginner’s Guide to YOLO Mode. Table of contents and 26 chapters

A beginner-friendly online book on YOLO mode in Claude Code and Codex. It explains how to let AI read files, write code, run commands, and finish work while keeping rollback, Docker sandboxing, and safety checks close at hand.

Share

Artificial Intelligence Fighter, Artificial Intelligence Air Force book cover

43 posts available

Artificial Intelligence Fighter, Artificial Intelligence Air Force

Kim Kyung-jin

Table of Contents, Preface, 40 Chapters, Epilogue

Artificial Intelligence Fighter, Artificial Intelligence Air Force is an online AI Library book by Kim Kyung-jin. It covers AI fighters, autonomous air power, unmanned combat aircraft, CCA, MUM-T, sixth-generation fighters and is organized as Table of Contents, Preface, 40 Chapters, Epilogue.

Share

Artificial Intelligence on Trial book cover

26 posts available

Artificial Intelligence on Trial

Attorney Kyungjin Kim

Table of Contents, Preface, 21 Chapters, 3 Appendices

Artificial Intelligence on Trial is an online AI Library book by Attorney Kyungjin Kim. It covers artificial intelligence and law, AI liability, algorithmic judgment, courts and technology and is organized as Table of Contents, Preface, 21 Chapters, 3 Appendices.

Share

PALANTIR book cover

16 posts available

PALANTIR: War, Surveillance, Artificial Intelligence

Attorney Kyungjin Kim

Table of Contents, Preface, 14 Chapters

PALANTIR: War, Surveillance, Artificial Intelligence is an online AI Library book by Attorney Kyungjin Kim. It covers Palantir, war, surveillance, artificial intelligence, data analytics, national security and is organized as Table of Contents, Preface, 14 Chapters.

Share

Brain Readers: Neuralink and the Final Human Revolution book cover

21 posts available

Brain Readers: Neuralink and the Final Human Revolution

Kim Kyung-jin

Table of Contents, Prologue, 18 Chapters, Epilogue

Brain Readers: Neuralink and the Final Human Revolution is an online AI Library book by Kim Kyung-jin. It follows Neuralink, brain-computer interfaces, brain data, medicine, neurorights, and the future of human enhancement.

Share

Artificial Intelligence and the Reshaping of Society book cover

16 posts available

Artificial Intelligence and the Reshaping of Society

Kim Kyung-jin

Table of Contents, Preface, 13 Chapters, Epilogue

Artificial Intelligence and the Reshaping of Society is an online AI Library book by Kim Kyung-jin. It follows how artificial intelligence changes work, education, inequality, cities, democracy, and human relationships.

Share

The Jensen Huang Story book cover

16 posts available

The Jensen Huang Story

Kim Kyung-jin

Table of Contents, Preface, 13 Chapters, Epilogue

The Jensen Huang Story is an online AI Library book by Kim Kyung-jin. It covers Jensen Huang, NVIDIA, GPUs, AI chips, and the AI industry.

Share

Ten Questions AI Poses to Humanity book cover

12 posts available

Ten Questions AI Poses to Humanity

Kim Kyung-jin

Table of Contents, Preface, 10 Chapters

Ten Questions AI Poses to Humanity is an online AI Library book by Kim Kyung-jin. It asks how artificial intelligence changes truth, weapons, work, data, identity, and human control.

Share

Malaysia and the Malacca Strait book cover

23 posts available

Malaysia and the Malacca Strait: Whoever Controls It Controls the World

Kim Kyung-jin

Table of Contents, Preface, 20 Chapters, Epilogue

Malaysia and the Malacca Strait is an online AI Library book by Kim Kyung-jin. It covers Malaysia, the Malacca Strait, maritime logistics, geopolitics, global trade, and Southeast Asia’s strategic future.

Share

Georgia history and culture travel book cover

24 posts available

A Journey Through Georgia’s History and Culture

Kim Kyung-jin

Table of Contents, Preface, 17 Chapters, 4 Appendices, Epilogue

A Journey Through Georgia’s History and Culture is an online AI Library book by Kim Kyung-jin. It covers Georgia’s history, culture, religion, politics, travel, and the Caucasus crossroads between Europe and Asia.

Share

Reading Armenia book cover

13 posts available

Reading Armenia: A Thousand Prayers, One Mountain

Kim Kyung-jin

Table of Contents, Preface, 10 Chapters, Epilogue

Reading Armenia: A Thousand Prayers, One Mountain is an online AI Library book by Kim Kyung-jin. It covers Armenian history, faith, Mount Ararat, cultural memory, travel, and the endurance of a small nation.

Share

Mastering Claude Code book cover

41 posts available

Mastering Claude Code

Kim Kyung-jin

Table of Contents, Preface, Chapters, Appendices

Mastering Claude Code is an online AI Library book by Kim Kyung-jin. It covers Claude Code setup, commands, workflows, automation, agents, and practical methods for using Claude Code in real work.

Share

Claude Cowork and Agent manual book cover

11 posts available

Claude Cowork and Agent Utilization Manual

Kim Kyung-jin

Table of Contents, Preface, 8 Chapters, Closing Note

Claude Cowork and Agent Utilization Manual is an online AI Library book by Kim Kyung-jin. It covers Claude Code, AI agents, coding automation, work automation, and practical agent-based collaboration.

Share

2026 U.S.-Iran War and the Global Energy Crisis book cover

39 posts available

The 2026 U.S.-Iran War and the Global Energy Crisis

Kim Kyung-jin

Table of Contents, Preface, Chapters and Appendices

The 2026 U.S.-Iran War and the Global Energy Crisis is an online AI Library book by Kim Kyung-jin. It covers war, oil, the Strait of Hormuz, maritime security, energy markets, and the global consequences of conflict.

Share

The Traces Han Dong-hoon Left on South Korea book cover

13 posts available

The Traces Han Dong-hoon Left on South Korea

Kim Kyung-jin

Table of Contents, Prologue, Chapters, Epilogue

The Traces Han Dong-hoon Left on South Korea is an online AI Library book by Kim Kyung-jin. It examines his record in justice policy, immigration reform, public institutions, and the structural questions facing South Korea.

Share

The Han Dong-hoon Story book cover

39 posts available

The Han Dong-hoon Story

Kim Kyung-jin

Table of Contents, Prologue, Chapters, Epilogue

The Han Dong-hoon Story is an online AI Library book by Kim Kyung-jin. It traces Han Dong-hoon’s life, public career, political choices, and the changing landscape of South Korean conservative politics.

Share

Beyond the Glass Ceiling cover

39 entries

Beyond the Glass Ceiling

Kim Kyung-jin

Table of contents, prologue, 31 chapters, epilogue, 5 appendices

A political biography tracing Sanae Takaichi’s rise from Nara to Japan’s premiership, through party struggles, security policy, diplomacy, and the meaning of Japan’s first female prime minister.

Share

AI Hegemony War book cover

8 posts available

AI Hegemony War

Kim Kyung-jin

Table of Contents, 7 Chapters

An online AI Library book by Kim Kyung-jin on AI superintelligence, the U.S.-China technology race, Europe and Korea’s AI laws, and international AI governance.

Share

Sam Altman Biography: Pioneer of the AI Revolution cover

22 posts

Sam Altman Biography: Pioneer of the AI Revolution

Kim Kyung-jin, Kim Kyung-ran

Table of contents, preface, 7 parts, 20 chapters

An online biography following Sam Altman’s childhood, startups, Y Combinator, OpenAI, ChatGPT, the 2023 board crisis, and his sense of responsibility in the AI era.

Share

From Chaiwala to Prime Minister cover

13 entries

From Chaiwala to Prime Minister

Kim Kyung-jin

Table of contents, preface, 10 chapters, epilogue

A political biography tracing Narendra Modi from a chai-selling boy in Vadnagar to RSS organizer, Gujarat chief minister, and three-term prime minister, while reading modern India, Korea-India relations, and the risks of a rising power.

Share

AI Classroom: Your Grades Will Change book cover

26 posts available

AI Classroom: Your Grades Will Change

Kim Kyung-jin

Table of Contents, Preface, 24 Sections

An online AI Library book by Kim Kyung-jin on how AI can support elementary, middle, and high school learning, teaching, assessment, and educational equity.

Share

Military Artificial Intelligence cover

17 entries

Military Artificial Intelligence

Kim Kyung-jin and Kim Won-tae

Table of contents, preface, 14 chapters, epilogue

A full-length study of military artificial intelligence, from autonomous weapons, drones, command systems, logistics, and cyber defense to the strategies of the United States, China, Israel, Korea, and global defense AI companies.

Share

Global Case Studies in Introducing AI into Public Administration book cover

25 posts available

Global Case Studies in Introducing AI into Public Administration

Kim Kyung-jin

Table of Contents, 23 Chapters, Epilogue

An online AI Library book by Kim Kyung-jin on public-sector AI adoption, national strategies, administrative services, governance, and future policy tasks.

Share

Seven Misunderstandings About the Arctic Route book cover

10 posts available

Seven Misunderstandings About the Arctic Route

Kim Kyung-jin

Table of Contents, Preface, 7 Chapters, Epilogue

An online AI Library book by Kim Kyung-jin on seven common misunderstandings about the Arctic Route, including speed, liner service, insurance, safety rules, year-round access, carbon impact, and infrastructure.

Share

Artificial Intelligence Election cover

14 posts

Artificial Intelligence Election

Kim Kyung-jin

Table of contents, author preface, 11 chapters, closing essay

An online book on campaign messaging, publicity materials, digital campaigning, data analysis, campaign operations, disinformation defense, legal risk, and ready-to-use prompts.

Share

Demis Hassabis book cover

34 posts available

Demis Hassabis, Father of Google’s Artificial Intelligence

Kim Kyung-ran, Kim Kyung-jin

Table of Contents, Author’s Preface, 31 Chapters, Epilogue

Demis Hassabis, Father of Google’s Artificial Intelligence is an online AI Library book by Kim Kyung-ran, Kim Kyung-jin. It covers Demis Hassabis, Google DeepMind, artificial intelligence, AlphaGo, AI research and is organized as Table of Contents, Author’s Preface, 31 Chapters, Epilogue.

Share

The Dhammapada 423 Verses book cover

28 posts available

The Dhammapada: 423 Verses

Kim Kyung-jin

Table of Contents, Editor’s Note, 26 Chapters, 423 Verses

An online AI Library book by Kim Kyung-jin. This edition arranges all 423 verses of the Dhammapada into 26 chapters for slow, poetic reading.

Share

Nano Banana Pro Practical Prompt Book cover

24 posts

Nano Banana Pro Practical Prompt Book

Kim Kyung-jin

6 parts, 22 chapters, classroom prompt appendix

An online book for using Nano Banana Pro in classes and real work, covering image generation, editing, text rendering, character consistency, business use cases, and monetization.

Share

Liberal Arts AI for College Students book cover

16 posts available

Liberal Arts AI for College Students

Kim Kyung-jin

Table of Contents, Preface, 13 Chapters, Closing Essay

An online AI Library textbook for college students. It introduces AI history, daily use, document work, research, images, presentations, video, productivity, learning, careers, copyright, and governance.

Share

Legal Practice and Artificial Intelligence book cover

16 posts available

Legal Practice and Artificial Intelligence

Kim Kyung-jin

Table of Contents, Preface, 14 Parts

An online AI Library book by Kim Kyung-jin on legal research, drafting, evidence analysis, contract review, NotebookLM, and practical generative AI workflows for legal practice.

Share

Hello, I Am Kim Kyung-jin book cover

10 posts available

Hello, I Am Kim Kyung-jin

Kim Kyung-jin

Table of Contents, Preface, Recommendations, 6 Chapters, Closing

An online AI Library book on Kim Kyung-jin’s life, science and technology policy, parliamentary diplomacy, legislative battles, Dongdaemun vision, and proposals for Korea’s demographic future.

Share

Politics and People book cover

25 posts available

Politics and People

Kim Kyung-jin

Table of Contents, Prologue, 22 Chapters, Epilogue

An online AI Library book by Kim Kyung-jin on how politics begins with reading people, winning trust, keeping relationships, and enduring seasons of crisis.

Share

[AI Library] Chapter 9: MCP Connected Servers: Extending Your Agent

Mastering Claude Code
Author
Kim Kyung-jin
Date
2026-05-06 09:09
Views
363

Mastering Claude Code

Chapter 9: MCP Connected Servers: Extending Your Agent

Kim Kyung-jin

Mastering Claude Code

Introduction

One Saturday morning, I decided to bake a cake. The recipe called for eggs, flour, and frosting. I had to buy eggs from a poultry farm, flour from a mill, and frosting from a specialty cake supply shop. I had to visit three different places, learn each one's ordering method, and navigate each one's payment system. It was cumbersome. But what if there were a single supermarket in the neighborhood?

I could buy eggs, flour, and frosting all in one place. One ordering method, one payment system. That supermarket is what an MCP connected server is.

What Is MCP: The Supermarket Analogy

MCP stands for Model Context Protocol. It is a standardized way for agents to connect to external services.

Take Gmail as an example. Gmail has the ability to send emails, read them, search them, and create drafts. One service contains multiple tools. When you connect the Gmail MCP server to Claude Code, the agent can use all these tools at once.

You don't need to write a separate script to send email. You don't need to dig through API documentation to search. When the agent is connected to an MCP server, it automatically discovers what tools are available and selects the right tool for each situation.

Let me expand on the supermarket analogy.

[Figure 9-1] A diagram comparing two approaches: on the left, "Without MCP," showing an agent connecting to three separate APIs individually; on the right, "Using MCP," showing an agent accessing multiple tools through a single MCP server.

The heart of MCP is standardization. When any service is built as an MCP server following the MCP specification, Claude Code connects to it in the same way and calls tools in the same way. Whether it's Gmail, Firecrawl, or Google Calendar, the connection method is structurally the same.

Installing a Firecrawl MCP Server: A Hands-On Exercise

Theory alone won't make it click. Let's install an MCP server ourselves. Firecrawl is a service that collects data from websites. It offers multiple features including web scraping, crawling, search, and screenshot capture. When you connect Firecrawl's MCP server to Claude Code, the agent can freely retrieve web data.

Step 1: Obtain a Firecrawl API Key

Visit the Firecrawl website (firecrawl.dev) and create an account. The free plan gives you 500 credits, which is plenty for practice. Once you enter the dashboard, your API key is displayed. Copy this key and save it.

Step 2: Save the API Key in an .env File

If there is no .env file in your project root, create one. If it already exists, open that file. Save your API key there in the following format.

Why save it in an .env file? I'll cover the reasons in detail in the next section, but the short answer is this: an API key is like a password. If you type it directly in the conversation, the key remains in plain text within the context window. When you save it in an .env file, the agent reads from the file when needed, but the key itself never appears in the conversation record.

Step 3: Run the MCP Server Installation Command

Request the installation from Claude Code. Firecrawl's official documentation provides installation commands for Claude Code CLI. Tell the agent what needs to be done.

The agent runs the command to register the MCP server in your project. Once installation is complete, the configuration is finalized to reference the API key stored in your .env file.

Step 4: Verify the Installation

Once installation is complete, try typing the /context command. Firecrawl-related tools should appear in the MCP Tools section. If web scraping, crawling, search, and other tools appear in the list, the connection is working properly.

[Figure 9-2] A screenshot showing the results of the /context command, with Firecrawl tools listed in the MCP Tools section.

From this point on, when the agent receives a natural language request like "scrape job postings from this URL," it automatically selects and runs the appropriate tool from the Firecrawl MCP server. You don't need to know which endpoint to call or what parameters to pass.

API Key Security: Why Store Secrets in an .env File

I mentioned the .env file during the Firecrawl installation process. Let me explore more deeply why you shouldn't type API keys directly in the conversation window.

An API key is a credential for accessing external services. It is essentially a password. If this key is exposed, someone could use my account and charges could be incurred.

What happens when you paste an API key directly into the Claude Code conversation window? It becomes part of the conversation record. It exists in plain text within the context window. When the agent runs a Bash command with the key as an argument, the key may also appear in execution logs. This is not desirable from a security standpoint.

Using an .env file mitigates this problem. The key exists only on your computer. The agent reads environment variables through methods like os.environ in scripts, and the key value itself never appears in the conversation record.

Add one more safeguard: create a .gitignore file in your project and add .env to the list. This way, even if you upload the project to a public repository like GitHub, the .env file is not uploaded. You prevent the risk of secrets being exposed on the internet.

These two measures form the basic defense line of your security.

[Figure 9-3] A diagram showing the safe management flow of API keys, comparing the path ".env file → load as environment variable → reference in script" with the unsafe path "type directly in conversation → exposed in context record."

If you accidentally type an API key in the conversation during practice, it is safe to rotate it immediately. Simply revoke the old key in the service dashboard, issue a new one, and save it in your .env file.

Expanding the Agent's Reach with MCP

Just by connecting Firecrawl alone, the agent's range of capabilities expands significantly. It can scrape hundreds of job postings from job sites and organize them into Excel files. It can collect dentist contact information from Yellow Pages to build a sales lead list. It can regularly monitor competitor websites.

If one MCP server is like one supermarket, connecting multiple MCP servers is like holding memberships to multiple supermarkets at once. Adding the Gmail MCP server enables reading, sending, and searching emails. Adding the Google Calendar MCP server enables viewing and creating calendar events.

By combining these, the agent can handle complex requests like "find meeting requests in today's emails and add them to my calendar."

[Figure 9-4] A diagram with the agent at the center and multiple MCP servers (Firecrawl, Gmail, Calendar, Notion, etc.) connected in a radial pattern. Two to three representative tools for each server are shown as small icons.

Each time you add an MCP server, the pattern is the same: save the service's API key in your .env file and run the installation command. You simply repeat the process once you've learned it.

There is one caveat to note: as you connect more MCP servers, the MCP tool definitions take up more space in the context window. Using the /context command from the previous chapter, you can see the token consumption for the MCP Tools section increases. The agent has more hands, but less space to remember.

Connecting MCP servers indiscriminately can leave insufficient space for important conversation content.

The choice of MCP connected servers should align with your project's purpose. A competitor analysis project does not require Gmail MCP connected servers. An email automation project does not necessarily need Firecrawl. The efficient approach is to equip only the tools you truly need.

We have equipped the agent with memory (the range it can read at once), instructions (claude.md), and tools (MCP connected servers). When these three work in harmony, the agent becomes ready to perform substantive work. Now we move forward to building actual projects by combining these tools.

Attorney Kim Kyung-jin, AI Expert

Specialist in AI Legal Policy, former member of the National Assembly, author of numerous works

If this book has been with you even for a moment, please support the next story so it can reach the world.

(Voluntary support account: Nonghyup 302-1096-0948-81 Account holder: Kim Kyung-jin)

Kim Kyung-jin

Attorney · Former Member of the National Assembly · AI Policy Researcher

kimkj.com

© 2026 Kim Kyung-jin. All rights reserved.

#KimKyungjin #AILibrary #MasteringClaudeCode
Scroll to Top
kimkj.com Home