Configuring MCP Servers & Plugins for Claude Code

Index MoAI skill modules and documentation into a dense semantic search index.

1.2k|214|Updated Sep 16, 2025
One-click install
npx skills add https://github.com/modu-ai/moai-adk --skill configuring-mcp-servers-plugins-for-claude-code
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Configuring MCP Servers & Plugins for Claude Code
Source: https://github.com/modu-ai/moai-adk/tree/main/.claude/skills/moai-cc-mcp-plugins
Command: npx skills add https://github.com/modu-ai/moai-adk --skill configuring-mcp-servers-plugins-for-claude-code

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @anthropic-ai/mcp-server-github, @modelcontextprotocol/server-filesystem, @modelcontextprotocol/server-sqlite, @modelcontextprotocol/server-brave-search, and includes templates (resource) components.

What problem does it solve?

Claude Code's capabilities are limited without external integrations. This Skill guides you through setting up Model Context Protocol (MCP) servers and plugins, allowing Claude to interact with external tools like GitHub, filesystems, databases, and web search, expanding its operational reach.

Core Features & Use Cases

  • MCP Server Setup: Configure servers for GitHub, Filesystem, SQLite, and Brave Search directly in settings.json.
  • Secure OAuth Integration: Manage OAuth credentials and define minimal scopes for secure external access.
  • Filesystem Whitelisting: Restrict Claude's file access to explicitly allowed directories for enhanced security.
  • Use Case: To enable Claude to create GitHub pull requests or search the web for documentation, you would use this Skill to configure the GitHub and Brave Search MCP servers, ensuring proper authentication and permissions.

Quick Start

Example: Configure GitHub MCP server in settings.json

(This is a JSON snippet, not a command)

{ "mcpServers": { "github": { "command": "npx", "args": ["-y", "@anthropic-ai/mcp-server-github"], "oauth": { "clientId": "your-client-id", "clientSecret": "your-client-secret", "scopes": ["repo", "issues"] } } } }

After configuration, use /mcp in Claude Code terminal to verify.

Frequently Asked Questions about Configuring MCP Servers & Plugins for Claude Code

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure MCP servers to give Claude Code access to external tools?

MCP servers connect Claude Code to external APIs and tools through settings.json configuration. You define server commands, authentication credentials, and permission scopes for GitHub, Filesystem, SQLite, and Brave Search, enabling Claude to interact with these services directly.

What's the proper way to set up GitHub OAuth authentication for Claude Code integrations?

GitHub OAuth integration requires clientId, clientSecret, and defined scopes in the mcpServers configuration. Specify minimal scopes like 'repo' and 'issues' to grant Claude only the permissions needed, then verify setup using /mcp in the Claude Code terminal.

Can I restrict which directories Claude Code can access when using the filesystem MCP server?

Yes, filesystem whitelisting restricts Claude's file access to explicitly allowed directories. Configure permitted paths in settings.json to enhance security and prevent unintended file operations outside your specified boundaries.

Do I need separate authentication for each MCP server, or can they share credentials?

Each MCP server requires its own configuration block in settings.json with service-specific credentials. GitHub uses OAuth with clientId and clientSecret; filesystem and SQLite typically use local paths; Brave Search uses API keys. Each has distinct authentication requirements.

What should I do after configuring an MCP server to verify it's working correctly?

After adding server configuration to settings.json, use the /mcp command in Claude Code terminal to verify setup. This confirms the server is reachable and properly authenticated before attempting to use it for tasks like creating pull requests or searching the web.

Can Claude Code use MCP servers to create pull requests or perform web searches?

Yes, configuring the GitHub MCP server enables Claude to create and manage pull requests with proper OAuth scopes, and configuring Brave Search enables web queries. Both require authentication and permission configuration in settings.json to function.