본문으로 건너뛰기
Skillpedia
커넥터 (MCP)41k · #6821

mcp-servers

하는 일

이 스킬은 어시스턴트에 외부 서비스 접근 권한을 주는 MCP 서버를 추가하고 고치는 과정을 AI에게 안내합니다. GitHub, Linear, Sentry 같은 도구를 AI에 연결하고 싶은 사람을 위한 것입니다.

사용하는 경우

  • ✓Linear, Sentry, GitHub 같은 도구를 AI에 연결하고 싶을 때.
  • ✓MCP 도구가 실패하거나 어시스턴트에 도구가 나타나지 않을 때.
  • ✓OAuth 로그인을 사용하는 MCP 서버에 로그인해야 할 때.

스킬 링크

https://github.com/PostHog/posthog/blob/master/packages/agent/packages/harness/src/extensions/mcp/skills/mcp-servers/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/PostHog/posthog/blob/master/packages/agent/packages/harness/src/extensions/mcp/skills/mcp-servers/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“MCP 서버를 통해 제 Linear 계정을 AI에 연결하는 방법을 도와주세요.”

매주 새 스킬 5개. 읽는 데 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" }
    }
  }
}
  • command is required; transport defaults to "stdio".
  • env values 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) or uvx <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); url required.
  • headers is 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 the mcp_auth tool (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, not stdio.
  • If dynamic client registration is rejected (e.g. a client-name policy error), set "clientName" in the auth object and retry.

Other per-server options

  • lifecycle: "lazy" (default — starts on first use of one of its tools via the mcp proxy 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 by mcp search 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 via mcp), 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
라이선스
—
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬