{"id":1277,"date":"2026-09-29T13:23:28","date_gmt":"2026-09-29T04:23:28","guid":{"rendered":"https:\/\/cg-method.com\/ai\/?p=1277"},"modified":"2026-10-31T13:57:41","modified_gmt":"2026-10-31T04:57:41","slug":"claude-code-mcp-add","status":"publish","type":"post","link":"https:\/\/cg-method.com\/ai\/claude-code-mcp-add\/","title":{"rendered":"Claude Code\u2502MCP\u30b5\u30fc\u30d0\u30fc\u306e\u8ffd\u52a0\u65b9\u6cd5\u3068\u63a5\u7d9a\u30a8\u30e9\u30fc\u306e\u76f4\u3057\u65b9\uff5cclaude mcp add\u3068\u30b9\u30b3\u30fc\u30d7"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">MCP\u30b5\u30fc\u30d0\u30fc\u3092\u8ffd\u52a0\u3059\u308b\u3068\u3001Claude Code\u304b\u3089\u5916\u90e8\u306e\u30b5\u30fc\u30d3\u30b9\u3084\u624b\u5143\u306e\u9053\u5177\u3092\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u767b\u9332\u306b\u306f<code>claude mcp add<\/code>\u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u767b\u9332\u6210\u529f\u306f\u8a2d\u5b9a\u306e\u4fdd\u5b58\u3092\u610f\u5473\u3057\u3001\u63a5\u7d9a\u30fb\u8a8d\u8a3c\u30fb\u30c4\u30fc\u30eb\u306e\u5229\u7528\u8a31\u53ef\u306f\u5225\u306b\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n\n<li>\u30cd\u30c3\u30c8\u4e0a\u306e\u30b5\u30fc\u30d0\u30fc\uff1aclaude mcp add <code>--transport<\/code> http \u540d\u524d URL<\/li>\n\n\n<li>\u624b\u5143\u3067\u52d5\u304b\u3059\u30b5\u30fc\u30d0\u30fc\uff1aclaude mcp add \u540d\u524d <code>--<\/code> \u8d77\u52d5\u30b3\u30de\u30f3\u30c9<\/li>\n\n\n<li>\u30c1\u30fc\u30e0\u3067\u5171\u6709\u3059\u308b\u306a\u3089 <code>--scope<\/code> project\uff08.mcp.json \u306b\u4fdd\u5b58\uff09<\/li>\n\n\n<li>\u72b6\u614b\u306e\u78ba\u8a8d\uff1aclaude mcp list\u3001\u5bfe\u8a71\u4e2d\u306a\u3089 \/mcp<\/li>\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">2026\u5e7410\u670823\u65e5\u306b\u516c\u5f0f\u8cc7\u6599\u3068\u7167\u5408\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Windows\u4e0a\u306ev2.1.284\u306e\u51fa\u529b\u306f9\u670829\u65e5\u306e\u8a18\u9332\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4eca\u56de\u306f\u30b5\u30fc\u30d0\u30fc\u767b\u9332\u30fb\u8a8d\u8a3c\u30fb\u63a5\u7d9a\u3092\u5b9f\u884c\u3057\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">claude mcp add\u306e\u66f8\u304d\u65b9<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u30cd\u30c3\u30c8\u4e0a\u306e\u30b5\u30fc\u30d0\u30fc\uff08HTTP\uff09<\/h3>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-bash\"><code>claude mcp add --transport http notion https:\/\/mcp.notion.com\/mcp<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306f\u3001\u30cd\u30c3\u30c8\u4e0a\u306e\u30b5\u30fc\u30d0\u30fc\u306b\u306f HTTP \u3092\u52e7\u3081\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">SSE \u3068\u3044\u3046\u65b9\u5f0f\u3082\u3042\u308a\u307e\u3059\u304c\u3001\u4eca\u306f\u975e\u63a8\u5968\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u30ed\u30b0\u30a4\u30f3\u304c\u8981\u308b\u30b5\u30fc\u30d0\u30fc\u306f\u3001\u8ffd\u52a0\u3057\u305f\u3042\u3068\u5bfe\u8a71\u4e2d\u306b \/mcp \u3092\u958b\u3044\u3066\u30b5\u30fc\u30d0\u30fc\u3092\u9078\u3076\u3068\u3001\u30d6\u30e9\u30a6\u30b6\u30fc\u3067\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u30bf\u30fc\u30df\u30ca\u30eb\u304b\u3089 claude mcp login \u540d\u524d \u3067\u3082\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u624b\u5143\u3067\u52d5\u304b\u3059\u30b5\u30fc\u30d0\u30fc\uff08stdio\uff09<\/h3>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-bash\"><code>claude mcp add files -- npx -y @modelcontextprotocol\/server-filesystem C:\/demo\/mcp-demo<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><code>--<\/code> \u3088\u308a\u5f8c\u308d\u304c\u3001\u30b5\u30fc\u30d0\u30fc\u3092\u8d77\u52d5\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>--scope<\/code> \u3084 <code>--env<\/code> \u306a\u3069\u306e Claude Code \u5074\u306e\u6307\u5b9a\u306f\u3001\u5fc5\u305a <code>--<\/code> \u3088\u308a\u524d\u306b\u66f8\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>--env<\/code>\u306f\u8907\u6570\u306e\u5024\u3092\u53d7\u3051\u53d6\u308b\u305f\u3081\u3001\u76f4\u5f8c\u306b\u30b5\u30fc\u30d0\u30fc\u540d\u3092\u7f6e\u304f\u3068\u5024\u3068\u3057\u3066\u89e3\u91c8\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f8b\u306e\u3088\u3046\u306b\u540d\u524d\u3092\u5148\u306b\u66f8\u3044\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u30ad\u30fc\u306e\u76f4\u66f8\u304d\u306f\u5c65\u6b74\u3084\u4fdd\u5b58\u8a2d\u5b9a\u306b\u6b8b\u308b\u305f\u3081\u3001\u5171\u6709\u8a2d\u5b9a\u3067\u306f\u74b0\u5883\u5909\u6570\u53c2\u7167\u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-bash\"><code>claude mcp add myserver --env API_KEY=\u81ea\u5206\u306e\u30ad\u30fc -- npx -y \u30b5\u30fc\u30d0\u30fc\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u540d<\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">3\u3064\u306e\u30b9\u30b3\u30fc\u30d7\u3068\u4fdd\u5b58\u5834\u6240<\/h2>\n\n\n\n<figure class=\"wp-block-table is-style-regular\"><table class=\"has-fixed-layout\"><thead><tr><th style=\"min-width:8em !important\">\u30b9\u30b3\u30fc\u30d7<\/th><th>\u6307\u5b9a<\/th><th>\u4fdd\u5b58\u5834\u6240<\/th><th>\u4f7f\u3048\u308b\u7bc4\u56f2<\/th><\/tr><\/thead><tbody><tr><td>local\uff08\u521d\u671f\u5024\uff09<\/td><td>\u6307\u5b9a\u306a\u3057 \u304b <code>--scope<\/code> local<\/td><td>\u30db\u30fc\u30e0\u30d5\u30a9\u30eb\u30c0\u306e .claude.json<\/td><td>\u4eca\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u81ea\u5206\u3060\u3051<\/td><\/tr><tr><td>project<\/td><td><code>--scope<\/code> project<\/td><td>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u76f4\u4e0b\u306e .mcp.json<\/td><td>\u4eca\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u5168\u54e1\uff08Git\u3067\u5171\u6709\uff09<\/td><\/tr><tr><td>user<\/td><td><code>--scope<\/code> user<\/td><td>\u30db\u30fc\u30e0\u30d5\u30a9\u30eb\u30c0\u306e .claude.json<\/td><td>\u81ea\u5206\u306e\u5168\u30d7\u30ed\u30b8\u30a7\u30af\u30c8<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\">Claude Code\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u300cConnect Claude Code to tools via MCP\u300d\u3092\u3082\u3068\u306b\u4f5c\u6210<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">CLI\u3067\u306f\u540c\u3058\u540d\u524d\u306e\u30b5\u30fc\u30d0\u30fc\u304c\u8907\u6570\u306e\u30b9\u30b3\u30fc\u30d7\u306b\u3042\u308b\u3068\u3001local\u3001project\u3001user\u306e\u9806\u306b\u5b9a\u7fa9\u5168\u4f53\u304c\u9078\u3070\u308c\u3001\u9805\u76ee\u3054\u3068\u306b\u306f\u7d50\u5408\u3055\u308c\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>--scope<\/code> project \u3067\u8ffd\u52a0\u3059\u308b\u3068\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u76f4\u4e0b\u306b\u6b21\u306e\u3088\u3046\u306a .mcp.json \u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-json\"><code>{\n  \"mcpServers\": {\n    \"files\": {\n      \"type\": \"stdio\",\n      \"command\": \"cmd\",\n      \"args\": [\n        \"\/c\",\n        \"npx -y @modelcontextprotocol\/server-filesystem C:\/demo\/mcp-demo\"\n      ],\n      \"env\": {}\n    }\n  }\n}<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">.mcp.json \u306e\u4e2d\u3067\u306f ${API_KEY} \u306e\u3088\u3046\u306b\u74b0\u5883\u5909\u6570\u3092\u4f7f\u3048\u308b\u306e\u3067\u3001\u30ad\u30fc\u3092\u76f4\u63a5\u66f8\u304b\u305a\u306b\u5171\u6709\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u53c2\u7167\u3059\u308b\u5909\u6570\u306fClaude Code\u3092\u8d77\u52d5\u3059\u308b\u74b0\u5883\u306b\u8a2d\u5b9a\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u672a\u8a2d\u5b9a\u3067\u65e2\u5b9a\u5024\u3082\u306a\u3044\u5834\u5408\u3001\u901a\u5e38\u306f\u8b66\u544a\u304c\u51fa\u3066${VAR}\u3068\u3044\u3046\u6587\u5b57\u5217\u304c\u305d\u306e\u307e\u307e\u6b8b\u308b\u305f\u3081\u3001claude mcp list\u306e\u8b66\u544a\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u30ea\u30e2\u30fc\u30c8\u63a5\u7d9a\u306eurl\u3084headers\u3067\u306fANTHROPIC_API_KEY\u306a\u3069\u4e00\u90e8\u306e\u8a8d\u8a3c\u5909\u6570\u304c\u7a7a\u6587\u5b57\u3068\u3057\u3066\u6271\u308f\u308c\u308b\u306e\u3067\u3001Claude Code\u81ea\u8eab\u306e\u8a8d\u8a3c\u5909\u6570\u3092\u5916\u90e8\u30b5\u30fc\u30d0\u30fc\u7528\u306e\u30ad\u30fc\u3068\u3057\u3066\u6d41\u7528\u3057\u306a\u3044\u3067\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Windows\u3067\u8ffd\u52a0\u3059\u308b\u3068\u304d\u306e\u6ce8\u610f<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">npx\u304c\u8d77\u52d5\u3057\u306a\u3044\u3068\u304d\u306f\u5b9f\u884c\u65b9\u6cd5\u3092\u78ba\u8a8d\u3059\u308b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u672c\u6587\u306e<code>cmd \/c<\/code>\u306fWindows\u5411\u3051\u306e\u56de\u907f\u4f8b\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u73fe\u5728\u53d6\u5f97\u3057\u305f\u516c\u5f0f\u8cc7\u6599\u306b\u306f\u3001\u5168\u74b0\u5883\u3067\u3053\u308c\u3092\u5fc5\u9808\u3068\u3059\u308b\u8a18\u8f09\u306f\u78ba\u8a8d\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u76f4\u63a5\u8d77\u52d5\u3067\u304d\u308b\u74b0\u5883\u3082\u3042\u308b\u305f\u3081\u3001\u5b9f\u969b\u306e\u30a8\u30e9\u30fc\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-bash\"><code>claude mcp add --scope project files -- cmd \/c npx -y @modelcontextprotocol\/server-filesystem C:\/demo\/mcp-demo<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u4eca\u56de\u306e\u74b0\u5883\u3067\u306f\u3001cmd \/c \u3092\u4ed8\u3051\u305a\u306b\u767b\u9332\u3057\u305f\u3082\u306e\u3082\u52d5\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u540c\u3058\u540d\u524d\u30fb\u540c\u3058\u30b9\u30b3\u30fc\u30d7\u3078\u306e\u518d\u8ffd\u52a0\u306f\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u767b\u9332\u4f8b\u306f\u672a\u767b\u9332\u306e\u74b0\u5883\u5411\u3051\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u65e2\u5b58\u8a2d\u5b9a\u3092\u76f4\u3059\u5834\u5408\u306f<code>claude mcp get<\/code>\u3067\u4fdd\u5b58\u5148\u3068\u5f15\u6570\u3092\u78ba\u8a8d\u3057\u3001\u91cd\u8907\u767b\u9332\u3092\u907f\u3051\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Git Bash\u3060\u3068 \/c \u304c C:\/ \u306b\u5909\u308f\u308b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Git Bash \u304b\u3089 cmd \/c \u3068\u6253\u3063\u3066\u767b\u9332\u3057\u305f\u3068\u3053\u308d\u3001\/c \u304c C:\/ \u306b\u66f8\u304d\u63db\u3048\u3089\u308c\u3066\u4fdd\u5b58\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>Added stdio MCP server files with command: cmd C:\/ npx -y @modelcontextprotocol\/server-filesystem C:\/demo\/mcp-demo to project config<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u8a18\u9332\u3067\u306fGit Bash\u306e\u5f15\u6570\u5909\u63db\u304c\u539f\u56e0\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u30b7\u30a7\u30eb\u306e\u7248\u3084\u8a2d\u5b9a\u3067\u7570\u306a\u308b\u305f\u3081\u3001<code>claude mcp get<\/code>\u3067\u4fdd\u5b58\u3055\u308c\u305f\u5f15\u6570\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u72b6\u614b\u3067\u306f\u30b5\u30fc\u30d0\u30fc\u3092\u8d77\u52d5\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Git Bash \u3067\u306f \/\/c \u30682\u672c\u91cd\u306d\u3066\u66f8\u304f\u304b\u3001PowerShell \u3084\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u304b\u3089\u767b\u9332\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-bash\"><code>claude mcp add --scope project files -- cmd \/\/c \"npx -y @modelcontextprotocol\/server-filesystem C:\/demo\/mcp-demo\"<\/code><\/pre><\/div>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>Added stdio MCP server files with command: cmd \/c npx -y @modelcontextprotocol\/server-filesystem C:\/demo\/mcp-demo to project config<\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u3064\u306a\u304c\u3063\u305f\u304b\u3092\u78ba\u304b\u3081\u308b<\/h2>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-bash\"><code>claude mcp list<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u767b\u9332\u3055\u308c\u305f\u30b5\u30fc\u30d0\u30fc\u306e\u72b6\u614b\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001Pending approval\u306a\u3069\u306f\u63a5\u7d9a\u3092\u8a66\u3057\u305f\u7d50\u679c\u3067\u306f\u306a\u304f\u8a2d\u5b9a\u4e0a\u306e\u72b6\u614b\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u898b\u3064\u304b\u3089\u306a\u3044\u30b5\u30fc\u30d0\u30fc\u306fclaude mcp get \u540d\u524d\u3067\u3082\u78ba\u8a8d\u3057\u3001\u62d2\u5426\u8a2d\u5b9a\u3084\u7121\u52b9\u5316\u304c\u539f\u56e0\u3067\u306a\u3044\u304b\u3092\u8abf\u3079\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1\u3064\u306e\u30b5\u30fc\u30d0\u30fc\u306e\u8a2d\u5b9a\u3092\u8a73\u3057\u304f\u898b\u308b\u3068\u304d\u306f claude mcp get \u540d\u524d\u3001\u6d88\u3059\u3068\u304d\u306f claude mcp remove \u540d\u524d \u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5bfe\u8a71\u4e2d\u306a\u3089 \/mcp \u3067\u540c\u3058\u4e00\u89a7\u3092\u958b\u304d\u3001\u30a8\u30e9\u30fc\u306e\u4e2d\u8eab\u3084\u30ed\u30b0\u30a4\u30f3\u306e\u72b6\u614b\u3092\u898b\u3089\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u300cPending approval\u300d\u306f\u627f\u8a8d\u5f85\u3061<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><code>--scope<\/code> project \u3067\u8ffd\u52a0\u3057\u305f\u76f4\u5f8c\u306b claude mcp list \u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u6b21\u306e\u3088\u3046\u306b\u51fa\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>files: cmd \/c npx -y @modelcontextprotocol\/server-filesystem C:\/demo\/mcp-demo - \u23f8 Pending approval (run `claude` to approve)<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u308c\u306f\u6545\u969c\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">.mcp.json \u306f\u307b\u304b\u306e\u4eba\u304cGit\u306b\u5165\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u304b\u3082\u3057\u308c\u306a\u3044\u306e\u3067\u3001\u5bfe\u8a71\u30e2\u30fc\u30c9\u3067\u6700\u521d\u306b\u4f7f\u3046\u3068\u304d\u306b\u8a31\u53ef\u3092\u6c42\u3081\u308b\u4ed5\u7d44\u307f\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">claude \u3067\u5bfe\u8a71\u3092\u59cb\u3081\u3066\u3001\u8868\u793a\u3055\u308c\u308b\u78ba\u8a8d\u3067\u8a31\u53ef\u3059\u308c\u3070\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e00\u65b9\u3001claude -p \u3067\u52d5\u304b\u3057\u305f\u3068\u304d\u306f\u3001\u78ba\u8a8d\u306a\u3057\u3067\u8aad\u307f\u8fbc\u307e\u308c\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8a31\u53ef\u3057\u305f\u5185\u5bb9\u3092\u3084\u308a\u76f4\u3057\u305f\u3044\u3068\u304d\u306f\u3001claude mcp reset-project-choices \u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u63a5\u7d9a\u306b\u5931\u6557\u3059\u308b\u3068\u304d\u306e\u78ba\u8a8d\u9806<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u308f\u3056\u3068\u5b58\u5728\u3057\u306a\u3044\u30b3\u30de\u30f3\u30c9\u3067\u767b\u9332\u3057\u305f\u30b5\u30fc\u30d0\u30fc\u306f\u3001\u300cConnection closed\u300d\u3067\u63a5\u7d9a\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n\n<li>claude mcp get \u540d\u524d \u3067\u3001\u4fdd\u5b58\u3055\u308c\u305f\u30b3\u30de\u30f3\u30c9\u3084URL\u304c\u610f\u56f3\u3069\u304a\u308a\u304b\u3092\u898b\u308b<\/li>\n\n\n<li>stdio \u306e\u30b5\u30fc\u30d0\u30fc\u306f\u3001<code>--<\/code> \u3088\u308a\u5f8c\u308d\u306e\u30b3\u30de\u30f3\u30c9\u3092\u305d\u306e\u307e\u307e\u30bf\u30fc\u30df\u30ca\u30eb\u3067\u5b9f\u884c\u3057\u3066\u52d5\u304f\u304b\u3092\u898b\u308b<\/li>\n\n\n<li>Windows\u3067npx\u306e\u76f4\u63a5\u8d77\u52d5\u306b\u5931\u6557\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u4fdd\u5b58\u6e08\u307f\u8a2d\u5b9a\u3092\u78ba\u8a8d\u3057\u305f\u3046\u3048\u3067cmd \/c\u3092\u4f7f\u3046\u56de\u907f\u7b56\u3092\u691c\u8a0e\u3059\u308b<\/li>\n\n\n<li><code>--env<\/code> \u306a\u3069\u306e\u6307\u5b9a\u304c <code>--<\/code> \u3088\u308a\u5f8c\u308d\u306b\u5165\u3063\u3066\u3044\u306a\u3044\u304b\u3092\u898b\u308b<\/li>\n\n\n<li>\u5bfe\u8a71\u4e2d\u306b \/mcp \u3092\u958b\u304d\u3001\u8868\u793a\u3055\u308c\u308b\u30a8\u30e9\u30fc\u306e\u4e2d\u8eab\u3092\u898b\u308b<\/li>\n\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">\u8d77\u52d5\u5f85\u3061\u306f<code>MCP_TIMEOUT<\/code>\u3067\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6b21\u306e\u4f8b\u306fBash\u7528\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">PowerShell\u3067\u306f<code>$env:MCP_TIMEOUT = \"10000\"<\/code>\u3092\u5b9f\u884c\u3057\u3066\u304b\u3089<code>claude<\/code>\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u30c4\u30fc\u30eb\u5b9f\u884c\u6642\u9593\u306e\u4e0a\u9650\u3068\u306f\u5225\u3067\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-bash\"><code>MCP_TIMEOUT=10000 claude<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u30ea\u30e2\u30fc\u30c8\u63a5\u7d9a\u306e\u9014\u4e2d\u5207\u65ad\u306f\u6700\u59275\u56de\u306e\u518d\u63a5\u7d9a\u3092\u8a66\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">HTTP\/SSE\u306e\u521d\u56de\u306e\u4e00\u6642\u7684\u306a\u5931\u6557\u306f\u6700\u59273\u56de\u306a\u3069\u3001\u5931\u6557\u306e\u7a2e\u985e\u30fb\u5b9f\u884c\u30e2\u30fc\u30c9\u3067\u7570\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8a8d\u8a3c\u30a8\u30e9\u30fc\u306f\u518d\u30ed\u30b0\u30a4\u30f3\u306a\u3069\u306e\u5bfe\u5fdc\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u65e2\u5b9a\u306e\u51fa\u529b\u4e0a\u9650\u306f25,000\u30c8\u30fc\u30af\u30f3\u3067<code>MAX_MCP_OUTPUT_TOKENS<\/code>\u304b\u3089\u5909\u66f4\u3067\u304d\u307e\u3059\u304c\u3001\u6587\u5b57\u6570\u3084\u30b5\u30fc\u30d0\u30fc\u5074\u306e\u5236\u9650\u306f\u5225\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u9577\u3044\u6210\u529f\u30c6\u30ad\u30b9\u30c8\u306f\u30d5\u30a1\u30a4\u30eb\u306b\u4fdd\u5b58\u3055\u308c\u308b\u5834\u5408\u304c\u3042\u308a\u3001\u4e0a\u9650\u5909\u66f4\u3060\u3051\u3067\u5168\u5185\u5bb9\u304c\u4f1a\u8a71\u3078\u5165\u308b\u308f\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n\n<li>\u30cd\u30c3\u30c8\u4e0a\u306f <code>--transport<\/code> http\u3001\u624b\u5143\u306f <code>--<\/code> \u306e\u5f8c\u308d\u306b\u8d77\u52d5\u30b3\u30de\u30f3\u30c9<\/li>\n\n\n<li>\u81ea\u5206\u3060\u3051\u306a\u3089 local\u3001\u30c1\u30fc\u30e0\u3067\u5171\u6709\u3059\u308b\u306a\u3089 <code>--scope<\/code> project<\/li>\n\n\n<li>Windows\u3067\u8d77\u52d5\u306b\u5931\u6557\u3059\u308b\u5834\u5408\u306f cmd \/c \u3092\u691c\u8a0e\u3057\u3001Git Bash\u3067\u306f\u4fdd\u5b58\u3055\u308c\u305f\u5f15\u6570\u3092\u78ba\u8a8d\u3059\u308b<\/li>\n\n\n<li>Pending approval \u306f\u3001\u5bfe\u8a71\u30e2\u30fc\u30c9\u3067\u4e00\u5ea6\u8a31\u53ef\u3059\u308c\u3070\u4f7f\u3048\u308b<\/li>\n\n\n<li>\u3064\u306a\u304c\u3089\u306a\u3044\u3068\u304d\u306f claude mcp get \u3068 \/mcp \u3067\u30a8\u30e9\u30fc\u306e\u4e2d\u8eab\u3092\u898b\u308b<\/li>\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u53c2\u8003\uff1aClaude Code\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u300cConnect Claude Code to tools via MCP\u300d\uff082026\u5e7410\u670823\u65e5\u306b\u518d\u78ba\u8a8d\uff09\u3002<\/p>\n\n\n<h2 class=\"wp-block-heading\">\u3088\u304f\u3042\u308b\u8cea\u554f\uff1aClaude Code\u306bMCP\u30b5\u30fc\u30d0\u30fc\u3092\u8ffd\u52a0\u3059\u308b\u3068\u304d<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Claude Code\u306bMCP\u30b5\u30fc\u30d0\u30fc\u3092\u8ffd\u52a0\u3059\u308b\u306b\u306f\u3001\u3069\u3046\u66f8\u304d\u307e\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u30cd\u30c3\u30c8\u4e0a\u306e\u30b5\u30fc\u30d0\u30fc\u306f claude mcp add <code>--transport<\/code> http \u540d\u524d URL\u3001\u624b\u5143\u3067\u52d5\u304b\u3059\u30b5\u30fc\u30d0\u30fc\uff08stdio\uff09\u306f claude mcp add \u540d\u524d <code>--<\/code> \u8d77\u52d5\u30b3\u30de\u30f3\u30c9 \u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306f\u3001\u30cd\u30c3\u30c8\u4e0a\u306e\u30b5\u30fc\u30d0\u30fc\u306b\u306f HTTP \u3092\u52e7\u3081\u3066\u3044\u3066\u3001SSE \u3068\u3044\u3046\u65b9\u5f0f\u306f\u4eca\u306f\u975e\u63a8\u5968\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30ed\u30b0\u30a4\u30f3\u304c\u8981\u308b\u30b5\u30fc\u30d0\u30fc\u306f\u3001\u3069\u3046\u3059\u308c\u3070\u3088\u3044\u3067\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u8ffd\u52a0\u3057\u305f\u3042\u3068\u3001\u5bfe\u8a71\u4e2d\u306b \/mcp \u3092\u958b\u3044\u3066\u30b5\u30fc\u30d0\u30fc\u3092\u9078\u3076\u3068\u3001\u30d6\u30e9\u30a6\u30b6\u30fc\u3067\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u30bf\u30fc\u30df\u30ca\u30eb\u304b\u3089 claude mcp login \u540d\u524d \u3067\u3082\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">API\u30ad\u30fc\u306a\u3069\u3092\u6e21\u3059\u306b\u306f\uff1f \u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u7f6e\u304d\u5834\u6240\u306f\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><code>--env<\/code> \u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>--scope<\/code> \u3084 <code>--env<\/code> \u306a\u3069\u306e Claude Code \u5074\u306e\u6307\u5b9a\u306f\u3001\u5fc5\u305a <code>--<\/code> \u3088\u308a\u524d\u306b\u66f8\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>--<\/code> \u3088\u308a\u5f8c\u308d\u306f\u3001\u30b5\u30fc\u30d0\u30fc\u3092\u8d77\u52d5\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30b9\u30b3\u30fc\u30d7\u306f\u3001\u3069\u3046\u9078\u3073\u307e\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">local\uff08\u521d\u671f\u5024\uff09\u306f\u4eca\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u81ea\u5206\u3060\u3051\u3067\u3001\u30db\u30fc\u30e0\u30d5\u30a9\u30eb\u30c0\u306e .claude.json \u306b\u4fdd\u5b58\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>--scope<\/code> project \u306f\u4eca\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u5168\u54e1\uff08Git\u3067\u5171\u6709\uff09\u3067\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u76f4\u4e0b\u306e .mcp.json \u306b\u3001<code>--scope<\/code> user \u306f\u81ea\u5206\u306e\u5168\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u3001\u30db\u30fc\u30e0\u30d5\u30a9\u30eb\u30c0\u306e .claude.json \u306b\u4fdd\u5b58\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">CLI\u3067\u306f\u540c\u3058\u540d\u524d\u306e\u30b5\u30fc\u30d0\u30fc\u304c\u8907\u6570\u306e\u30b9\u30b3\u30fc\u30d7\u306b\u3042\u308b\u3068\u3001local\u3001project\u3001user\u306e\u9806\u306b\u5b9a\u7fa9\u5168\u4f53\u304c\u9078\u3070\u308c\u3001\u9805\u76ee\u3054\u3068\u306b\u306f\u7d50\u5408\u3055\u308c\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">.mcp.json \u306e\u4e2d\u3067\u306f ${API_KEY} \u306e\u3088\u3046\u306b\u74b0\u5883\u5909\u6570\u3092\u4f7f\u3048\u308b\u306e\u3067\u3001\u30ad\u30fc\u3092\u76f4\u63a5\u66f8\u304b\u305a\u306b\u5171\u6709\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Windows\u3067 npx \u306e\u30b5\u30fc\u30d0\u30fc\u3092\u8ffd\u52a0\u3059\u308b\u3068\u304d\u306e\u6ce8\u610f\u306f\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u672c\u6587\u306e<code>cmd \/c<\/code>\u306fWindows\u5411\u3051\u306e\u56de\u907f\u4f8b\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u73fe\u5728\u53d6\u5f97\u3057\u305f\u516c\u5f0f\u8cc7\u6599\u306b\u306f\u3001\u5168\u74b0\u5883\u3067\u3053\u308c\u3092\u5fc5\u9808\u3068\u3059\u308b\u8a18\u8f09\u306f\u78ba\u8a8d\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u76f4\u63a5\u8d77\u52d5\u3067\u304d\u308b\u74b0\u5883\u3082\u3042\u308b\u305f\u3081\u3001\u5b9f\u969b\u306e\u30a8\u30e9\u30fc\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8a18\u4e8b\u306e\u74b0\u5883\u3067\u306f\u3001cmd \/c\u3092\u4ed8\u3051\u305a\u306b\u767b\u9332\u3057\u305f\u3082\u306e\u3082\u52d5\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3064\u306a\u304c\u3089\u306a\u3044\u3068\u304d\u306fclaude mcp get \u540d\u524d\u3067\u4fdd\u5b58\u6e08\u307f\u306e\u30b3\u30de\u30f3\u30c9\u30fb\u5f15\u6570\u3068\u30b9\u30b3\u30fc\u30d7\u3092\u78ba\u8a8d\u3057\u3001\u5fc5\u8981\u306a\u7b87\u6240\u3092\u76f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u540c\u3058\u540d\u524d\u3092\u540c\u3058\u30b9\u30b3\u30fc\u30d7\u3078\u518d\u8ffd\u52a0\u3059\u308b\u3068\u30a8\u30e9\u30fc\u306b\u306a\u308b\u305f\u3081\u3001\u539f\u56e0\u3092\u78ba\u8a8d\u305b\u305aadd\u3092\u7e70\u308a\u8fd4\u3055\u306a\u3044\u3067\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8a18\u4e8b\u306eGit Bash\u74b0\u5883\u3067\u306f<code>\/c<\/code>\u304c<code>C:\/<\/code>\u3078\u5909\u63db\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3059\u3079\u3066\u306e\u74b0\u5883\u3067\u5fc5\u305a\u8d77\u304d\u308b\u3068\u306f\u9650\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Git Bash \u3067\u306f \/\/c \u30682\u672c\u91cd\u306d\u3066\u66f8\u304f\u304b\u3001PowerShell \u3084\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u304b\u3089\u767b\u9332\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u3064\u306a\u304c\u3063\u305f\u304b\u3069\u3046\u304b\u306f\u3001\u3069\u3046\u78ba\u304b\u3081\u307e\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">claude mcp list \u3067\u3001\u767b\u9332\u3057\u305f\u3059\u3079\u3066\u306e\u30b5\u30fc\u30d0\u30fc\u3068\u3001\u3064\u306a\u304c\u3063\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u304c\u4e00\u89a7\u3067\u51fa\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1\u3064\u306e\u30b5\u30fc\u30d0\u30fc\u306e\u8a2d\u5b9a\u3092\u8a73\u3057\u304f\u898b\u308b\u3068\u304d\u306f claude mcp get \u540d\u524d\u3001\u6d88\u3059\u3068\u304d\u306f claude mcp remove \u540d\u524d\u3001\u5bfe\u8a71\u4e2d\u306a\u3089 \/mcp \u3067\u540c\u3058\u4e00\u89a7\u3092\u958b\u304d\u3001\u30a8\u30e9\u30fc\u306e\u4e2d\u8eab\u3084\u30ed\u30b0\u30a4\u30f3\u306e\u72b6\u614b\u3092\u898b\u3089\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u300cPending approval\u300d\u3068\u51fa\u305f\u3089\u3001\u6545\u969c\u3067\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u6545\u969c\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">.mcp.json \u306f\u307b\u304b\u306e\u4eba\u304cGit\u306b\u5165\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u304b\u3082\u3057\u308c\u306a\u3044\u306e\u3067\u3001\u5bfe\u8a71\u30e2\u30fc\u30c9\u3067\u6700\u521d\u306b\u4f7f\u3046\u3068\u304d\u306b\u8a31\u53ef\u3092\u6c42\u3081\u308b\u4ed5\u7d44\u307f\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">claude \u3067\u5bfe\u8a71\u3092\u59cb\u3081\u3066\u3001\u8868\u793a\u3055\u308c\u308b\u78ba\u8a8d\u3067\u8a31\u53ef\u3059\u308c\u3070\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">claude -p \u3067\u52d5\u304b\u3057\u305f\u3068\u304d\u306f\u3001\u78ba\u8a8d\u306a\u3057\u3067\u8aad\u307f\u8fbc\u307e\u308c\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8a31\u53ef\u3057\u305f\u5185\u5bb9\u3092\u3084\u308a\u76f4\u3057\u305f\u3044\u3068\u304d\u306f\u3001claude mcp reset-project-choices \u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u63a5\u7d9a\u306b\u5931\u6557\u3059\u308b\u3068\u304d\u306f\u3001\u4f55\u3092\u78ba\u8a8d\u3057\u307e\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">claude mcp get \u540d\u524d \u3067\u3001\u4fdd\u5b58\u3055\u308c\u305f\u30b3\u30de\u30f3\u30c9\u3084URL\u304c\u610f\u56f3\u3069\u304a\u308a\u304b\u3092\u898b\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">stdio \u306e\u30b5\u30fc\u30d0\u30fc\u306f\u3001<code>--<\/code> \u3088\u308a\u5f8c\u308d\u306e\u30b3\u30de\u30f3\u30c9\u3092\u305d\u306e\u307e\u307e\u30bf\u30fc\u30df\u30ca\u30eb\u3067\u5b9f\u884c\u3057\u3066\u52d5\u304f\u304b\u3001<code>--env<\/code> \u306a\u3069\u306e\u6307\u5b9a\u304c <code>--<\/code> \u3088\u308a\u5f8c\u308d\u306b\u5165\u3063\u3066\u3044\u306a\u3044\u304b\u3092\u898b\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5bfe\u8a71\u4e2d\u306b \/mcp \u3092\u958b\u304d\u3001\u8868\u793a\u3055\u308c\u308b\u30a8\u30e9\u30fc\u306e\u4e2d\u8eab\u3082\u898b\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Authorization\u30d8\u30c3\u30c0\u30fc\u3092\u81ea\u5206\u3067\u8a2d\u5b9a\u3057\u305f\u30b5\u30fc\u30d0\u30fc\u306e401\u30fb403\u306f\u3001\u305d\u306e\u30d8\u30c3\u30c0\u30fc\u306e\u8a8d\u8a3c\u5024\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u5834\u5408\u306fOAuth\u3078\u81ea\u52d5\u7684\u306b\u5207\u308a\u66ff\u308f\u3089\u306a\u3044\u305f\u3081\u3001OAuth\u3092\u4f7f\u3046\u610f\u56f3\u306a\u3089\u4e0d\u8981\u306aAuthorization\u30d8\u30c3\u30c0\u30fc\u3092\u5916\u3057\u3066\u304b\u3089\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8d77\u52d5\u306b\u6642\u9593\u304c\u304b\u304b\u308b\u30b5\u30fc\u30d0\u30fc\u306f\u3001\u74b0\u5883\u5909\u6570 MCP_TIMEOUT \u3067\u5f85\u3064\u6642\u9593\uff08\u30df\u30ea\u79d2\uff09\u3092\u5ef6\u3070\u305b\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u30ea\u30e2\u30fc\u30c8\u63a5\u7d9a\u306e\u9014\u4e2d\u5207\u65ad\u306f\u6700\u59275\u56de\u306e\u518d\u63a5\u7d9a\u3092\u8a66\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">HTTP\/SSE\u306e\u521d\u56de\u306e\u4e00\u6642\u7684\u306a\u5931\u6557\u306f\u6700\u59273\u56de\u306a\u3069\u3001\u5931\u6557\u306e\u7a2e\u985e\u30fb\u5b9f\u884c\u30e2\u30fc\u30c9\u3067\u7570\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8a8d\u8a3c\u30a8\u30e9\u30fc\u306f\u518d\u30ed\u30b0\u30a4\u30f3\u306a\u3069\u306e\u5bfe\u5fdc\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u73fe\u884c\u4ed5\u69d8\u306f2026\u5e7410\u670823\u65e5\u306b\u7167\u5408\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Windows\/Git Bash\u306e\u518d\u73fe\u3001OAuth\u8a8d\u8a3c\u3001\u5b9f\u969b\u306e\u518d\u8a66\u884c\u56de\u6570\u306f\u4eca\u56de\u691c\u8a3c\u3057\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6700\u65b0\u306f\u516c\u5f0f\u30da\u30fc\u30b8\u3067\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n","protected":false},"excerpt":{"rendered":"<p>MCP\u30b5\u30fc\u30d0\u30fc\u3092\u8ffd\u52a0\u3059\u308b\u3068\u3001Claude Code\u304b\u3089\u5916\u90e8\u306e\u30b5\u30fc\u30d3\u30b9\u3084\u624b\u5143\u306e\u9053\u5177\u3092\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002 \u767b\u9332\u306b\u306fclaude mcp add\u3092\u4f7f\u3044\u307e\u3059\u3002 \u767b\u9332\u6210\u529f\u306f\u8a2d\u5b9a\u306e\u4fdd\u5b58\u3092\u610f\u5473\u3057\u3001\u63a5\u7d9a\u30fb\u8a8d\u8a3c\u30fb\u30c4\u30fc\u30eb\u306e\u5229\u7528\u8a31\u53ef\u306f\u5225\u306b [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1278,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","book_review_data":"","footnotes":"","ssp_meta_title":"Claude Code\u306eMCP\u30b5\u30fc\u30d0\u30fc\u8ffd\u52a0\u3068\u63a5\u7d9a\u30a8\u30e9\u30fc","ssp_meta_description":"Claude Code\u306bMCP\u30b5\u30fc\u30d0\u30fc\u3092\u8ffd\u52a0\u3059\u308b claude mcp add \u306e\u66f8\u304d\u65b9\u3001local\u30fbproject\u30fbuser\u306e3\u3064\u306e\u30b9\u30b3\u30fc\u30d7\u3001\u627f\u8a8d\u5f85\u3061\u3084\u63a5\u7d9a\u5931\u6557\u306e\u76f4\u3057\u65b9\u3092\u3001Windows\u3067\u5b9f\u969b\u306b\u767b\u9332\u3057\u3066\u78ba\u304b\u3081\u305f\u7d50\u679c\u3064\u304d\u3067\u89e3\u8aac\u3057\u307e\u3059\u3002"},"categories":[32],"tags":[],"class_list":["post-1277","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-claude-code-settings"],"_links":{"self":[{"href":"https:\/\/cg-method.com\/ai\/wp-json\/wp\/v2\/posts\/1277","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cg-method.com\/ai\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cg-method.com\/ai\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cg-method.com\/ai\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cg-method.com\/ai\/wp-json\/wp\/v2\/comments?post=1277"}],"version-history":[{"count":7,"href":"https:\/\/cg-method.com\/ai\/wp-json\/wp\/v2\/posts\/1277\/revisions"}],"predecessor-version":[{"id":2584,"href":"https:\/\/cg-method.com\/ai\/wp-json\/wp\/v2\/posts\/1277\/revisions\/2584"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cg-method.com\/ai\/wp-json\/wp\/v2\/media\/1278"}],"wp:attachment":[{"href":"https:\/\/cg-method.com\/ai\/wp-json\/wp\/v2\/media?parent=1277"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cg-method.com\/ai\/wp-json\/wp\/v2\/categories?post=1277"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cg-method.com\/ai\/wp-json\/wp\/v2\/tags?post=1277"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}