Podcasts पर वापस जाएंClaude
Claude Code 101
Claude Code में MCP
Model contact protocol is an open standard that lets Claude code connect to external tools and data sources.
Model Context Protocol एक खुला मानक है जो Claude Code को बाहरी टूल्स और डेटा स्रोतों से जोड़ने की सुविधा देता है।
[music]
[music]
When you ask a question, Claude will automatically understand when it should use those tools to better understand your query.
जब आप कोई प्रश्न पूछते हैं, Claude स्वचालित रूप से समझ जाता है कि आपके प्रश्न को बेहतर ढंग से समझने के लिए उसे उन टूल्स का उपयोग कब करना चाहिए।
Context is one of the most important parts when working with Claude code.
Claude Code के साथ काम करते समय context सबसे महत्वपूर्ण हिस्सों में से एक है।
A lot of your context lives elsewhere like your databases, your productivity apps, or [music] in public repositories.
आपका बहुत सारा context अन्य जगहों पर रहता है, जैसे आपके डेटाबेस, उत्पादकता ऐप्स, या [music] सार्वजनिक रिपॉजिटरी में।
This is where MCP comes [music] in.
यहीं पर MCP [music] काम आता है।
First, it's important to understand the concept of tools when talking about Agentic AI.
पहले, Agentic AI के बारे में बात करते समय टूल्स की अवधारणा को समझना महत्वपूर्ण है।
Tools give agents like Claude code the ability to perform actions in order for them to better complete their tasks.
टूल्स Claude Code जैसे एजेंट्स को अपने कार्यों को बेहतर ढंग से पूरा करने के लिए क्रियाएं करने की क्षमता देते हैं।
This is different from other AI where you just get an output back directly in text usually.
यह अन्य AI से अलग है जहां आपको आमतौर पर सीधे टेक्स्ट में आउटपुट मिलता है।
For example, if your team is using Linear as our project management software, you can add a Linear MCP server to bring in the details of your specific issues.
उदाहरण के लिए, यदि आपकी टीम प्रोजेक्ट मैनेजमेंट सॉफ्टवेयर के रूप में Linear उपयोग कर रही है, तो आप अपनी विशिष्ट issues के विवरण लाने के लिए एक Linear MCP सर्वर जोड़ सकते हैं।
If you want to get up-to-date documentation of a dependency that you're working with, then the Context 7 MCP server will provide Claude code with that.
यदि आप किसी ऐसी डिपेंडेंसी का अप-टू-डेट दस्तावेज़ प्राप्त करना चाहते हैं जिस पर आप काम कर रहे हैं, तो Context 7 MCP सर्वर Claude Code को वह प्रदान करेगा।
There are also hundreds of different connectors at claude.com/connectors.
claude.com/connectors पर सैकड़ों अलग-अलग कनेक्टर भी हैं।
You can add MCP servers with the Claude MCP add command.
आप Claude MCP add कमांड के साथ MCP सर्वर जोड़ सकते हैं।
There are two main types.
दो मुख्य प्रकार हैं।
HTTP servers are for remote services.
HTTP सर्वर दूरस्थ सेवाओं के लिए हैं।
These are hosted by the service provider and connect over the network.
ये सेवा प्रदाता द्वारा होस्ट किए जाते हैं और नेटवर्क पर कनेक्ट होते हैं।
STDIO servers are for local processes that run on your machine.
STDIO सर्वर उन स्थानीय प्रक्रियाओं के लिए हैं जो आपकी मशीन पर चलती हैं।
You can manage your servers with the /mcp inside a Claude code session to see what's connected, the status, and disable servers that you don't want to use.
आप Claude Code सत्र के अंदर /mcp के साथ अपने सर्वर प्रबंधित कर सकते हैं, देख सकते हैं क्या जुड़ा है, स्थिति, और उन सर्वरों को अक्षम कर सकते हैं जिन्हें आप उपयोग नहीं करना चाहते।
MCP servers can be scoped in three different ways.
MCP सर्वरों को तीन अलग-अलग तरीकों से स्कोप किया जा सकता है।
One, local means it's only available in the current project for you.
एक, local का मतलब है कि यह केवल आपके लिए वर्तमान प्रोजेक्ट में उपलब्ध है।
Two, the user, which means it's available across all your projects.
दो, user, जिसका मतलब है कि यह आपके सभी प्रोजेक्ट में उपलब्ध है।
And three, project scope uses a .mcp.json file that you check into your version control, so anyone working on the code base gets the exact same servers automatically.
और तीन, project स्कोप एक .mcp.json फ़ाइल का उपयोग करता है जिसे आप अपने वर्शन कंट्रोल में चेक इन करते हैं, ताकि कोडबेस पर काम करने वाले सभी को स्वचालित रूप से समान सर्वर मिलें।
Now, one thing to be aware of is that MCP servers add tool definitions to your context window, even when you're not using them.
अब, एक बात ध्यान रखने वाली है कि MCP सर्वर आपकी context विंडो में टूल परिभाषाएं जोड़ते हैं, तब भी जब आप उनका उपयोग नहीं कर रहे।
So, if you have a lot of servers configured, this eats into your available context.
इसलिए, यदि आपके पास बहुत सारे सर्वर कॉन्फ़िगर हैं, तो यह आपके उपलब्ध context को खाता है।
Run the {slash} MCP command to see what's connected and disable anything that you're not actively using or don't think that you're going to use.
/mcp कमांड चलाएं यह देखने के लिए कि क्या जुड़ा है और उन सर्वरों को अक्षम करें जिन्हें आप सक्रिय रूप से उपयोग नहीं कर रहे या नहीं सोचते कि उपयोग करेंगे।
If a tool has a CLI equivalent like GH for GitHub or AWS for AWS, the CLI is more context efficient because it doesn't add persistent tool definitions.
यदि किसी टूल में GitHub के लिए gh या AWS के लिए aws जैसा CLI समकक्ष है, तो CLI अधिक context कुशल है क्योंकि यह स्थायी टूल परिभाषाएं नहीं जोड़ता।
You also might benefit from using a skill in this scenario.
आप इस परिदृश्य में skill का उपयोग करने से भी लाभ उठा सकते हैं।
A skill has a name and a description that is loaded into context.
एक skill का एक नाम और विवरण होता है जो context में लोड होता है।
Similar to MCP, when Cloud thinks it needs to use that skill, it then decides to load it into the context window, which is where you could put the command line interface tools.
MCP की तरह, जब Claude को लगता है कि उसे उस skill का उपयोग करना है, तो वह context विंडो में इसे लोड करने का निर्णय लेता है, जहां आप कमांड लाइन इंटरफेस टूल्स रख सकते हैं।
If your MCP tools exceed 10% of your context window, Cloud code will automatically switch to tool search mode, which will discover the right tools on demand, but this might not work as well since it's just not in the
यदि आपके MCP टूल्स आपकी context विंडो का 10% से अधिक हो जाते हैं, तो Claude Code स्वचालित रूप से टूल सर्च मोड में स्विच कर देगा, जो मांग पर सही टूल खोजेगा, लेकिन यह उतना अच्छा काम नहीं कर सकता क्योंकि यह सिर्फ context में नहीं है।
[music]
[music]
Now, a quick recap.
अब, एक त्वरित पुनर्कथन।
MCP connects Cloud code to your external tools and data
MCP Claude Code को आपके बाहरी टूल्स और डेटा से जोड़ता है
[music]
[music]
Add servers with Cloud MCP add, scope them to your project with .mcp.json so that your team gets them automatically, and keep an eye on the context usage by disabling servers [music] that you're not actively using.
Claude MCP add के साथ सर्वर जोड़ें, .mcp.json के साथ उन्हें अपने प्रोजेक्ट में स्कोप करें ताकि आपकी टीम को स्वचालित रूप से मिले, और उन सर्वरों को अक्षम करके context उपयोग पर नज़र रखें [music] जिन्हें आप सक्रिय रूप से उपयोग नहीं कर रहे।