OpenParable
Skip to content
← Back to skills

MCP Registry

Agent Building
mcp-registry

MCP Registry is an Agent Skill for agent building published in the vibeeval/vibecosystem repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

MCP server registry, auto-discovery, configuration, custom server development guide

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/vibeeval/vibecosystem/blob/HEAD/skills/mcp-registry/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/mcp-registry, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

MCP Registry & Auto-Discovery

MCP Nedir?

Model Context Protocol (MCP) - Claude'un dis sistemlerle (DB, API, browser, dosya sistemi) iletisim kurmasini saglayan standart protokol.

Kurulu MCP Server'lar

Kontrol: ~/.mcp.json dosyasini oku.

# Mevcut durumu gor
cd ~/.claude && python3 scripts/mcp/registry.py status

Proje Icin MCP Onerisi

# Proje dizinindeki dosyalara gore oneri al
cd ~/.claude && python3 scripts/mcp/registry.py recommend /path/to/project

# Tum registry'yi gor
cd ~/.claude && python3 scripts/mcp/registry.py list

Bilinen MCP Server'lar

Resmi (Anthropic / MCP)

ServerKullanimSinyal Dosyalari
githubGitHub API (repo, issue, PR).github/, .git/
filesystemDosya sistemi erisimi*
postgresPostgreSQL DBschema.prisma, *.sql, migrations/
sqliteSQLite DB*.db, *.sqlite
dockerDocker yonetimiDockerfile, docker-compose.yml
puppeteerBrowser otomasyonplaywright.config., cypress.config.
brave-searchWeb arama-
chrome-devtoolsBrowser debugnext.config., vite.config.
kubernetesK8s clusterk8s/, kustomization.yaml

3rd Party (Kurulu)

ServerKullanimDurum
browser-useAI browser otomasyon~/.mcp.json'da
codebase-memoryCodebase indexing (64 dil)~/bin/codebase-memory-mcp
notionNotion workspace~/.mcp.json'da
crawl4aiWeb crawlingpip, crwl CLI

~/.mcp.json Konfigurasyonu

{
  "mcpServers": {
    "server-adi": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-X"],
      "env": {
        "API_KEY": "..."
      }
    }
  }
}

Ornek: GitHub MCP Ekleme

{
  "mcpServers": {
    "github": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-github"],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "ghp_xxxxx"
      }
    }
  }
}

Ornek: PostgreSQL MCP

{
  "mcpServers": {
    "postgres": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-postgres", "postgresql://user:pass@localhost:5432/db"]
    }
  }
}

Ozel MCP Server Yazma

Minimal Python MCP Server

from mcp.server.fastmcp import FastMCP

mcp = FastMCP("my-server")

@mcp.tool()
def my_tool(param: str) -> str:
    """Tool aciklamasi"""
    return f"Sonuc: {param}"

@mcp.resource("resource://my-data")
def my_resource() -> str:
    """Resource aciklamasi"""
    return "data"

if __name__ == "__main__":
    mcp.run()

Minimal TypeScript MCP Server

import { Server } from "@modelcontextprotocol/sdk/server/index.js";
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";

const server = new Server({ name: "my-server", version: "1.0.0" }, {
  capabilities: { tools: {} }
});

server.setRequestHandler(ListToolsRequestSchema, async () => ({
  tools: [{
    name: "my_tool",
    description: "Tool aciklamasi",
    inputSchema: { type: "object", properties: { param: { type: "string" } } }
  }]
}));

server.setRequestHandler(CallToolRequestSchema, async (request) => ({
  content: [{ type: "text", text: `Sonuc: ${request.params.arguments?.param}` }]
}));

const transport = new StdioServerTransport();
await server.connect(transport);

mcp.json'a Ekleme

{
  "mcpServers": {
    "my-server": {
      "command": "python3",
      "args": ["/path/to/server.py"]
    }
  }
}

MCP Debug & Troubleshooting

Server Baslatma Testi

# Server'in calistigini dogrula
echo '{"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{}},"id":1}' | npx -y @modelcontextprotocol/server-github 2>/dev/null

Yaygin Sorunlar

SorunCozum
"spawn ENOENT"command path'i kontrol et, npx/python3 PATH'te mi?
"Connection refused"Server'i manual calistir, hata mesajini oku
Tool gorunmuyorClaude Code'u restart et (MCP session basinda yuklenir)
Timeoutargs'a timeout flag ekle, veya network kontrol et
Auth hatasienv degiskenlerini kontrol et (.env degil, mcp.json'a yaz)
Python version uyumsuzlukPython 3.10+ gerekli, python3 --version kontrol et
pip kurulum hatasipip3 install --user --break-system-packages <paket>

Loglar

# Claude Code MCP loglarini gor
ls ~/.claude/logs/mcp*.log 2>/dev/null

# Server'i verbose modda calistir
DEBUG=* npx -y @modelcontextprotocol/server-github 2>&1 | head -50

Auto-Discovery Hook

mcp-discovery.ts hook'u session basinda otomatik calisir:

  • Proje dizinindeki dosyalari tarar
  • Kurulu olmayan ama faydali MCP server'lari tespit eder
  • systemMessage ile oneri gosterir
  • Session basina 1 kez calisir

Registry Script

cd ~/.claude && python3 scripts/mcp/registry.py recommend .  # Oneri
cd ~/.claude && python3 scripts/mcp/registry.py status       # Kurulu
cd ~/.claude && python3 scripts/mcp/registry.py list         # Tumu