Welcome to this hands-on workshop where you'll learn to work effectively with Claude Code and build a Model Context Protocol (MCP) server.
Before starting this workshop, ensure you have the following installed and configured:
Claude Code is Anthropic's official CLI tool for working with Claude. Install it by following the instructions at:code.claude.com
Ask and you will receive.
This workshop uses Python for building the MCP server:
- Ensure Python 3.9 or higher is installed on your system
- Verify installation:
python3 --version
This workshop is designed to help you:
- Learn how to interact with Claude Code effectively
- Understand the capabilities and workflows of AI-assisted development
- Experience real-time collaboration between you and Claude
The .claude/CLAUDE.md file is your project's instruction manual for Claude. Learn to:
- Document project structure and conventions
- Specify runtime environments and dependencies
- Provide context-specific guidelines that improve Claude's understanding
- Create instructions that save time across multiple interactions
Embrace Test-Driven Development (TDD) principles where:
- Tests as Communication: Use tests to express intent, not just verify correctness
- Rapid Iteration: Write test, see it fail, implement, see it pass
- Continuous Validation: Catch issues early and refactor with confidence
- Documentation Through Examples: Tests serve as living documentation
Understand how Claude Code uses tools to:
- Read and search through codebases
- Execute commands and run tests
- Edit files precisely
- Interact with external systems
Gain hands-on experience with MCP:
- What is MCP?: A protocol that allows AI assistants to interact with external tools and data sources
- Why MCP?: Extend Claude's capabilities with custom tools specific to your domain
- Build an MCP Server: Create a documentation indexing and search server
- Tool Implementation: Learn to expose functionality through MCP tools
In this workshop, you'll build an MCP server that provides:
- Documentation Indexing: Store and organize documentation in a searchable format
- Semantic Search: Query documentation using natural language
- Document Management: Add, list, and retrieve documentation
local_doc_list(sqlite_file)- List available documentation in the indexlocal_doc_search(sqlite_file, query)- Search for relevant documentationlocal_doc_add(sqlite_file, content)- Add new documentation to the index
- Clone or navigate to this workshop directory
- Install requirements (Claude Code)
- Start working with Claude Code in this directory
- Follow along with the workshop exercises
- Setup Phase: Configure your environment and understand the project structure
- Planning Phase: Use
.claude/CLAUDE.mdto set project context - Development Phase: Build the MCP server using Claude Code
- Integration Phase: Connect the MCP server to Claude Code
By the end of this workshop, you'll understand:
- How to leverage Claude Code for productive development workflows
- The importance of clear project instructions via
.claude/CLAUDE.md - How TDD accelerates development and improves communication
- The power of extending Claude with custom tools via MCP
- Best practices for AI-assisted software development
Happy building!