株式会社オブライト
Software Development2026-03-08

Claude Code MCP Integration Guide — Accelerate Development with External Tool Integration

Model Context Protocol (MCP) is an open standard connecting Claude Code with external tools and data sources. Practical guide covering GitHub, Slack, Notion, AWS, GCP integration, custom MCP server creation, Hooks integration, and enterprise best practices for Tokyo development teams.


What is MCP — An Open Standard Connecting AI Tools to External Data Sources

Model Context Protocol (MCP), released by Anthropic in November 2024, is an open standard for integrating AI tools with external data sources and services. Historically, AI development tools adopted proprietary plugin systems, but MCP provides a unified protocol enabling Claude Code, Claude Desktop, and other AI products to utilize common MCP servers. With 97 million monthly SDK downloads and over 10,000 active servers, official MCP servers for major services—GitHub, Slack, Notion, Google Drive, Jira, Linear, AWS, GCP, Azure—are rapidly emerging. MCP transforms Claude Code from a mere code generation tool into an integrated development hub connected to an organization's entire system ecosystem, unlocking unprecedented automation and contextual awareness.

MCP Architecture — JSON-RPC-Based Client-Server Model

MCP adopts a JSON-RPC-based client-server architecture. Clients (Claude Code, Claude Desktop, etc.) connect to MCP servers, accessing three element types: Tools (executable actions like "Create GitHub Issue" or "Send Slack message"), Resources (readable data like "Notion database article list" or "Google Drive files"), and Prompts (reusable templated instructions). MCP servers are implemented via TypeScript or Python SDKs, supporting three communication modes: stdio, SSE, and WebSocket. Both local and remote execution are supported, allowing flexible deployment according to security policies. This architecture ensures language-agnostic extensibility—any tool implementing the JSON-RPC protocol can serve as an MCP server, fostering a rich ecosystem of community-contributed integrations beyond Anthropic's official offerings.

claude mcp add Command — Adding MCP Servers and Configuration Files

Adding MCP servers to Claude Code is straightforward via `claude mcp add <server-name>`. For example, `claude mcp add github` installs the official GitHub server and prompts for a GitHub token. Configuration is saved in `.claude/settings.json`, with each server's connection details recorded in the `mcpServers` section. Three scope levels exist: project scope (`./claude/settings.json`) applies only to the current repository, user scope (`~/.claude/settings.json`) spans all projects, and global scope (system-wide) manages team-shared settings. Use `claude mcp list` to view active servers and `claude mcp remove <server-name>` to uninstall. Development teams in Shinagawa and Minato wards define necessary MCP server sets per project, sharing configurations across team members via version-controlled settings files to ensure consistent tooling environments.

GitHub MCP Integration — Automating Issue/PR Creation and Code Search

The GitHub MCP server enables Claude Code's direct access to GitHub repositories. Tools include `mcp__github__search_repositories` for repository search, `mcp__github__create_issue` for issue creation, `mcp__github__create_pull_request` for PR creation, and `mcp__github__get_pull_request` for PR details. In practice, workflows like "Upon production error, Claude Code analyzes logs, retrieves relevant code from GitHub, and auto-generates a fix PR" become reality. Additionally, `mcp__github__search_code` performs cross-codebase searches, enabling large-scale changes like "Find all usages of this function and refactor them." Startups in Minato and Shibuya wards leverage GitHub MCP to reduce Issue→Implementation→PR cycle time by 50%, accelerating feature delivery and reducing context-switching overhead for developers.

Slack MCP Integration — Channel Collaboration and Automated Bug Report Processing

The Slack MCP server enables bidirectional Claude Code-Slack workspace integration. Tools include `mcp__slack__list_channels` for channel listing, `mcp__slack__get_messages` for message retrieval from specific channels, and `mcp__slack__post_message` for sending messages. Practical examples include Claude Code periodically polling the `#bug-reports` channel, analyzing reproduction steps, auto-fixing bugs, and notifying `#eng-notifications` upon completion. Typing `@Claude Improve login screen UI` in Slack triggers Claude Code task execution, with results posted back to the thread. Development teams in Shinagawa and Minato wards use Slack MCP to reduce communication costs between support and engineering teams, streamlining incident response and feature requests through automated triage and prioritization.

Notion MCP Integration — Document Reference and Knowledge Base Collaboration

The Notion MCP server allows Claude Code to read and write Notion workspace pages and databases. Tools include `mcp__notion__search` for page search, `mcp__notion__get_page` for page content retrieval, and `mcp__notion__update_page` for updates. Common use cases include "Technical specifications stored in Notion; Claude Code references specs to implement features" and "Retrieve API response formats from Notion database to generate validation logic." Additionally, "Claude Code auto-logs implementation explanations to Notion development log pages" is feasible. For organizations managing meeting notes, design docs, and ADRs (Architecture Decision Records) in Notion, Notion MCP automates document-code synchronization. Product teams in Shibuya and Minato wards are adopting this to maintain living documentation that stays current with codebase evolution.

AWS/GCP MCP Integration — Cloud Resource Management and Auto-Deployment

Official AWS and GCP MCP servers provide Claude Code with direct cloud resource access. AWS MCP includes `mcp__aws__list_ec2_instances` for EC2 listing, `mcp__aws__get_cloudwatch_logs` for log retrieval, and `mcp__aws__deploy_lambda` for Lambda function deployment. GCP MCP offers `mcp__gcp__list_gce_instances`, `mcp__gcp__get_cloud_run_logs`, and `mcp__gcp__deploy_cloud_function`. Real-world scenarios include "Detect error patterns in production CloudWatch logs, fix corresponding Lambda function code, and deploy" or "Monitor GCE instance resource usage and execute scale-out decisions via Claude Code." SaaS companies in Shinagawa and Minato wards use AWS/GCP MCP for infrastructure automation, reducing incident response time by 70% through intelligent log analysis and automated remediation.

Creating Custom MCP Servers — Implementing Proprietary Tool and Internal API Integration

For proprietary tools and internal APIs not covered by official MCP servers, implement custom MCP servers via TypeScript/Python SDKs. TypeScript SDK uses the `@modelcontextprotocol/sdk` package, extending the `MCP.Server` class to define tools, resources, and prompts. For instance, wrapping an internal customer management system API in an MCP server enables instructions like "Claude Code, retrieve customer ID X's info and generate an invoice." Python SDK (`mcp` package) offers similar capabilities; data science teams build Pandas-Jupyter MCP servers for automated data analysis. Custom servers are distributed via internal npm registries or PyPI private repositories for team-wide sharing. Enterprise companies in Minato and Shinagawa wards MCP-ify legacy system API suites to accelerate modernization via Claude Code, bridging old and new architectures seamlessly.

Hooks × MCP Combination — Pre/Post Tool Execution Control and Security Hooks

Combining Claude Code's Hooks feature with MCP enables pre/post tool execution control, auditing, and security checks. PreToolUse hooks fire before MCP tool execution, implementing policies like "Production resource access requires approver permission." PostToolUse hooks fire after execution, triggering follow-up actions such as "Slack notification after GitHub PR creation" or "Send metrics to Datadog after AWS Lambda deployment." Security hooks log access to MCP resources containing sensitive data, generating audit trails. Implementation is written in CLAUDE.md or `.claude/hooks.json` with JavaScript logic. Financial and healthcare companies in Shinagawa and Minato wards leverage Hooks × MCP to achieve Claude Code adoption while satisfying compliance requirements, balancing automation with governance.

MCP Debugging and Troubleshooting — Connection Errors and Timeout Countermeasures

For MCP integration troubleshooting, `claude mcp serve --debug` is invaluable. This mode outputs detailed JSON-RPC communication logs, error stack traces, and timeout information. Common issues include expired authentication tokens (GitHub, Slack, Notion), firewall-blocked stdio communication, and incorrect server startup script paths. `claude doctor` runs environment diagnostics, verifying MCP server connection status, versions, and dependencies. For timeout countermeasures, extend the `timeout` parameter in `.claude/settings.json` (default 30s → 120s) or switch to asynchronous execution mode. The community forum (https://github.com/modelcontextprotocol/servers/issues) features active support from official maintainers and community members, with many developers from Shibuya and Minato wards participating and sharing solutions.

Enterprise Adoption Best Practices — Access Control, Audit Logs, Managed Settings

Best practices for enterprise Claude Code MCP integration adoption include the following. First, access control follows the principle of least privilege—grant only the minimum required scope per MCP server (e.g., read-only for GitHub MCP, specific channels only for Slack MCP). Audit logs leverage Hooks to record all MCP tool executions, forwarding to Splunk or Datadog. Managed Settings allow team administrators to centrally manage `.claude/managed-settings.json`, preventing individual member overrides. Secret management uses environment variables or 1Password/HashiCorp Vault integration, avoiding plaintext storage. MCP server connections via VPN/proxy are configurable, supporting on-premises environment integration. Enterprise companies in Shinagawa and Minato wards implement internal MCP integration guidelines based on these best practices, rolling them out organization-wide for secure, scalable AI adoption.

MCP Adoption Support for Shinagawa and Minato Ward Companies — Oflight's Custom MCP Development Service

Oflight provides Claude Code MCP integration adoption support and custom MCP server development centered in Shinagawa, Minato, and Shibuya wards. Services include MCP adoption strategy planning (existing tool inventory and prioritization), official MCP server setup and customization, custom MCP server development for internal APIs and legacy systems, Hooks integration for security and audit functionality, team training (hands-on and documentation), and ongoing operational support—end-to-end coverage. Particularly experienced in financial, healthcare, and manufacturing sectors, we specialize in compliance-compliant MCP integration design. Free consultations are available—contact us today. Elevate your development team's productivity to the next level with Claude Code × MCP. Let Oflight be your trusted partner in Tokyo's innovation districts, empowering your AI-driven development transformation.

Feel free to contact us

Contact Us