Extend Claude Code's capabilities with MCP servers. Connect to external tools, data sources, and services with the latest 2025 features including remote servers and OAuth.
MCP transforms Claude from a passive assistant into an active tool that can manipulate files, run commands, access real-time data, and perform complex multi-step operations across different platforms.
Connect to remote MCP servers without running them locally. Access cloud-based services and enterprise tools directly.
Secure authentication to remote MCP servers with OAuth. No API keys to manage or credentials to store manually.
Enhanced connectivity with HTTP + Server-Sent Events (SSE) for improved performance and reliability.
Get started with essential MCP servers in minutes. Choose your setup method based on your experience level.
Install essential MCP servers with a single command. Perfect for getting started quickly.
# Install essential MCP servers
claude mcp add sequential-thinking -s user -- npx -y @modelcontextprotocol/server-sequential-thinking
claude mcp add filesystem -s user -- npx -y @modelcontextprotocol/server-filesystem ~/Projects
claude mcp add puppeteer -s user -- npx -y @modelcontextprotocol/server-puppeteer
claude mcp add fetch -s user -- npx -y @kazuph/mcp-fetch
Create configuration files manually for better control and customization options.
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "~/Projects"]
},
"github": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github"],
"env": {"GITHUB_TOKEN": "your_token"}
}
}
}
Discover the most useful MCP servers for development, automation, and productivity.
Read, write, and manipulate files in your project directories. Essential for any development workflow.
claude mcp add filesystem -s user -- npx -y @modelcontextprotocol/server-filesystem ~/Projects
Interact with GitHub repositories, issues, pull requests, and more. Requires GitHub token for authentication.
claude mcp add github -s user -- env GITHUB_TOKEN=your_token npx -y @modelcontextprotocol/server-github
Browser automation for testing, scraping, and web interactions.
claude mcp add puppeteer -s user -- npx -y @modelcontextprotocol/server-puppeteer
Enhanced multi-step reasoning for complex problem-solving tasks.
claude mcp add sequential-thinking -s user -- npx -y @modelcontextprotocol/server-sequential-thinking
HTTP requests and API interactions for external data access.
claude mcp add fetch -s user -- npx -y @kazuph/mcp-fetch
Error monitoring and performance tracking integration with Sentry.
claude mcp add sentry -s user -- npx -y @sentry/mcp-server
Project management integration with Linear for issue tracking and workflows.
claude mcp add linear -s user -- npx -y @linear/mcp-server
Connect to remote MCP servers with OAuth authentication. No local installation required.
Remote MCP support allows Claude Code to connect to cloud-based MCP servers without running them locally. This enables access to enterprise services, cloud APIs, and shared development tools.
Example configuration for connecting to remote MCP servers with OAuth authentication.
{
"mcpServers": {
"enterprise-github": {
"type": "remote",
"url": "https://mcp.example.com/github",
"oauth": {
"provider": "github",
"scopes": ["repo", "issues", "pull_requests"]
}
},
"company-tools": {
"type": "remote",
"url": "https://internal-mcp.company.com/tools",
"oauth": {
"provider": "company-sso",
"scopes": ["tools:read", "tools:write"]
}
}
}
}
OAuth Flow: Claude Code will automatically handle the OAuth authentication flow, opening your browser for secure login when needed.
# Check MCP server status
claude mcp list
# Debug MCP issues
claude --mcp-debug
# Check server configuration
/mcp
# Fix npm permissions
mkdir ~/.npm-global
npm config set prefix ~/.npm-global
echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.bashrc
Command | Purpose |
---|---|
/mcp |
Check server status |
claude mcp list |
List configured servers |
claude --mcp-debug |
Debug MCP issues |
MCP_DEBUG=true claude |
Enable debug logging |
Secure authentication with OAuth for remote MCP servers without managing API keys manually.
Claude Code now supports native OAuth authentication for remote MCP servers, eliminating the need to manually manage API keys.
{
"mcpServers": {
"github": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github"],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "oauth:github"
}
}
}
}
Simple steps to configure OAuth authentication for your MCP servers.
Build and deploy your own MCP servers to extend Claude Code with custom functionality.
Create custom MCP servers using the official SDK and templates.
import { Server } from '@modelcontextprotocol/sdk/server/index.js';
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
const server = new Server(
{
name: 'my-custom-server',
version: '0.1.0',
},
{
capabilities: {
tools: {},
},
}
);
// Add your custom tools here
server.setRequestHandler(ListToolsRequestSchema, async () => {
return {
tools: [
{
name: 'my_tool',
description: 'My custom tool',
inputSchema: {
type: 'object',
properties: {},
},
},
],
};
});
const transport = new StdioServerTransport();
await server.connect(transport);
Various ways to deploy and distribute your custom MCP servers.