mcp-servers
यह क्या करती है
यह स्किल AI को MCP सर्वर जोड़ने और ठीक करने के चरण बताती है, जो सहायक को बाहरी सेवाओं तक पहुँच देते हैं। यह उन लोगों के लिए है जो GitHub, Linear या Sentry जैसे टूल अपने AI से जोड़ना चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप Linear, Sentry या GitHub जैसे टूल को अपने AI से जोड़ना चाहें।
- ✓जब कोई MCP टूल विफल हो या उसके टूल आपके सहायक में न दिखें।
- ✓जब आपको OAuth लॉगिन वाले MCP सर्वर में साइन इन करना हो।
Skill का लिंक
https://github.com/PostHog/posthog/blob/master/packages/agent/packages/harness/src/extensions/mcp/skills/mcp-servers/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरा Linear अकाउंट MCP सर्वर के ज़रिए मेरे AI से जोड़ने में मदद कीजिए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह बताती है कि MCP सेटिंग फ़ाइल कहाँ रहती है, सर्वर की एंट्री उसके विकल्पों के साथ कैसे जोड़ी जाती है, और नए टूल दिखने के लिए सेटिंग कब दोबारा लोड करनी है। यह आम गड़बड़ियाँ और साइन-इन के चरण भी बताती है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
MCP servers
This agent has a built-in MCP client. Servers are declared in mcp.json; their tools
appear as mcp_<server>_<tool> once connected. The model can also always find and call
MCP tools via a single mcp proxy tool (mcp({ search: "..." }) / mcp({ tool: "...", args })
without their schemas ever being loaded into context, and without a lifecycle: "lazy"
server being connected until one of its tools is actually needed — see "Context window
control" below.
Config files
| File | Scope |
|---|---|
~/.pi/agent/mcp.json |
global (all projects) |
<project>/.pi/mcp.json |
project-local, only honored in trusted projects |
Project entries override global entries with the same server name; project settings
keys override global ones per key. Prefer project-local config for project-specific
servers, global for personal/general-purpose ones. Create the file if it doesn't exist.
Applying changes: config is read at session start. After editing mcp.json, tell
the user to run /reload (this re-reads config, restarts servers, and refreshes tools).
You cannot run /reload yourself.
Config format
{
"settings": {
"toolPrefix": "mcp",
"requestTimeoutMs": 30000,
"maxRetries": 3,
"searchResultLimit": 15
},
"mcpServers": {
"<server-name>": { ... }
}
}
settings is optional. Server names: keep them short and lowercase; they become part
of tool names.
Local (stdio) server — spawned as a subprocess
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/workspace"],
"env": { "SOME_VAR": "literal-value" }
}
}
}
commandis required;transportdefaults to"stdio".envvalues are literals merged over the parent environment — there is no${VAR}interpolation. If a server needs a secret, ask the user to provide it or reference their shell environment by launching via a wrapper script.- Most published servers run via
npx -y <package>(Node) oruvx <package>(Python). If unsure of the package name, search the web for "<product> MCP server".
Remote (HTTP) server
{
"mcpServers": {
"internal": {
"transport": "streamable-http",
"url": "https://mcp.example.com/mcp",
"headers": { "Authorization": "Bearer <api-key>" }
}
}
}
transport:"streamable-http"(preferred) or"sse"(legacy);urlrequired.headersis for static API-key auth. Never invent keys — ask the user for theirs.
Remote server with OAuth (user login in browser)
{
"mcpServers": {
"linear": {
"transport": "streamable-http",
"url": "https://mcp.linear.app/mcp",
"auth": { "type": "oauth" }
}
}
}
auth: { "type": "oauth" }is enough for most servers (discovery + dynamic client registration + PKCE are automatic). Optional fields:scope,clientId,clientSecret,redirectUrl(only for pre-registered clients),clientName.- After
/reload, the first connection will fail with "Authentication required" — that is expected. Start the login yourself with themcp_authtool (opens the user's browser), or tell the user to run/mcp:auth <server-name>. Tokens are stored and refreshed automatically afterwards. - OAuth is only valid for
streamable-http/sse, notstdio. - If dynamic client registration is rejected (e.g. a client-name policy error), set
"clientName"in theauthobject and retry.
Other per-server options
lifecycle:"lazy"(default — starts on first use of one of its tools via themcpproxy tool, or manually with/mcp:start <name>) or"eager"(starts at session start). Use eager only for a server you want connected from the very first turn.requestTimeoutMs,healthCheckIntervalMs: numeric overrides, rarely needed.idleTimeoutMs:lifecycle: "lazy"only — auto-disconnect this many ms after the server's last tool call. Good for servers used in bursts, e.g.600000(10 min).description: one-line summary shown bymcpsearch before this server has ever connected (its real tool list isn't known yet). Set this on lazy servers so the model can find them via search before the first connection.directTools:false(default — all tools stay searchable-only viamcp),true(all tools load straight into context), or an array of MCP-side tool names to keep direct while the rest stay proxy-o
अक्सर पूछे जाने वाले सवाल
MCP सेटअप कहाँ सेव होता है?
mcp.json फ़ाइल में, या तो आपकी निजी सेटिंग में या किसी प्रोजेक्ट फ़ोल्डर के अंदर। प्रोजेक्ट सेटिंग केवल उसी प्रोजेक्ट पर लागू होती है।
मेरे नए टूल क्यों नहीं दिख रहे?
सेटिंग सेशन शुरू होते समय पढ़ी जाती है, इसलिए नए टूल दिखने से पहले आम तौर पर कॉन्फ़िगरेशन दोबारा लोड करना पड़ता है।
क्या यह कोई भी सेवा सेट अप कर सकती है?
यह सेटिंग फ़ाइल में जोड़े जा सकने वाले किसी भी MCP सर्वर को कवर करती है। हर सेवा को फिर भी अपना अकाउंट और साइन-इन चाहिए हो सकता है।
जानकारी
लेखक का मूल विवरण
Install, configure, authenticate, and troubleshoot MCP (Model Context Protocol) servers for this agent. Use when the user asks to add/install/remove an MCP server, connect a tool like Linear/Sentry/Supabase/GitHub via MCP, set up mcp.json, or when MCP tools are failing or need OAuth login.
repo: PostHog/posthog
लोकप्रियता
- GitHub स्टार
- 41k
- रैंकिंग में स्थान
- #6821
- लाइसेंस
- —
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
depot-ci
41kयह आपके एजेंट को Depot CI वर्कफ़्लो सेट अप करने, चलाने और माइग्रेट करने में मदद करती है, साथ ही रन के लॉग पढ़ने में।
depot-container-builds
41kयह आपके एजेंट को Depot के रिमोट बिल्डर पर Docker इमेज बनाने में मदद करती है, जिसमें मल्टी-प्लेटफ़ॉर्म इमेज और बिल्ड सुधार शामिल हैं।
depot-github-runners
41kयह आपके एजेंट को GitHub Actions जॉब Depot के मैनेज्ड रनर पर ले जाने, रनर का साइज़ और लेबल चुनने, और रनर सेटअप की समस्याएँ ठीक करने में मदद करती है।
editing-agents-md
41kयह आपके एजेंट को तय करने में मदद करती है कि कोई नियम AGENTS.md या CLAUDE.md में जाए या नहीं, और उसे ऐसे लिखे कि फ़ाइल भारी न हो।
मिलती-जुलती skills
mcporter
394kयह आपके एजेंट को HTTP या stdio पर MCP सर्वर और उनके टूल सूचीबद्ध करने, चलाने और जांचने देती है, और उनकी साइन-इन सेटिंग्स प्रबंधित करती है।
fastmcp
260kआपको Python में MCP सर्वर बनाने, जाँचने और तैनात करने में मदद करती है, जो AI सहायकों को आपके API, डेटाबेस या फ़ाइलों तक टूल के रूप में पहुँच देता है।
mcp-oauth-remote-gateway
260kजब Hermes किसी सर्वर पर चलता है, तो रिमोट MCP सर्वर के लिए OAuth साइन-इन हाथ से करने में मदद करती है, जहाँ सामान्य ब्राउज़र साइन-इन नहीं पहुँच पाता।