MyPlayground
levels-fyi-mcp
MCP-Server zum Abfragen von Vergütungsdaten von levels.fyi.
Was dieser Server bietet
Servername: MyPlayground
Tools:
calculate_addition(a: int, b: int) -> intget_mock_weather(city: str) -> str(simuliertes Wetter, keine echten API-Daten)generate_username(base_name: str, add_numbers: bool = true) -> str
Related MCP server: FastMCP Demo Server
Installation für Endbenutzer (Verwendung in Cursor)
Dieser Abschnitt ist für Benutzer gedacht, die den MCP-Server nur in Cursor installieren und ausführen möchten.
Anforderungen
Python
>=3.11
Cursor MCP-Konfiguration (empfohlen)
Verwenden Sie uv run, damit Cursor die Projektumgebung direkt nutzt.
{
"mcpServers": {
"user-MyPlayground": {
"command": "uv",
"args": ["run", "python", "main.py"],
"cwd": "/absolute/path/to/levels-fyi-mcp"
}
}
}Verwendung starten
Öffnen Sie die Cursor MCP-Einstellungen und fügen Sie die obige Serverkonfiguration hinzu.
Stellen Sie sicher, dass
cwdauf Ihren lokalen Klon dieses Repos zeigt.Starten/laden Sie die MCP-Server in Cursor neu.
Rufen Sie Tools wie
calculate_addition,get_mock_weatherundgenerate_usernameauf.
Optional: direkter fastmcp-Befehl
Wenn Sie command: "fastmcp" in Cursor bevorzugen, installieren Sie es als globales Tool:
uv tool install fastmcpWenn Cursor fastmcp nicht finden kann, verwenden Sie die empfohlene uv run-Konfiguration von oben.
Entwickler-Setup
Dieser Abschnitt ist für Mitwirkende gedacht, die an Codeänderungen arbeiten.
Abhängigkeiten installieren
Vom Projektstammverzeichnis aus:
uv syncServer lokal ausführen
uv run python main.pyAbhängigkeiten hinzufügen oder aktualisieren
uv add <package>
uv syncSchnelle Umgebungsprüfung
uv run python -c "import fastmcp; print('fastmcp ok')"Projektstruktur
.
├── main.py
├── pyproject.toml
└── README.mdFehlerbehebung
Failed to spawn: fastmcp (os error 2)
Ursache: Cursor kann die ausführbare Datei fastmcp nicht finden.
Lösung:
Bevorzugen Sie die Cursor-Konfiguration mit
uv run python main.py, oderInstallieren Sie das globale Tool mit
uv tool install fastmcpund stellen Sie sicher, dass der PATH das uv-Tool-Verzeichnis enthält (üblicherweise~/.local/bin).
Fehler bei Tool-Argumenttypen
generate_username.add_numbersmuss ein boolescher Wert (true/false) sein, keine Zahlen oder Zeichenfolgen.
Hinweise
get_mock_weathergibt für Demos randomisierte, simulierte Daten zurück.Tool-Protokolle werden von
main.pyausgegeben und erscheinen in der Serverausgabe.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseCqualityDmaintenanceA simple demonstration project for the Model Control Protocol (MCP) server that provides tools for AI assistants to fetch news articles, perform calculations, retrieve weather data, and generate personalized greetings.3MIT
- FlicenseBqualityDmaintenanceA demonstration server showcasing MCP capabilities with basic tools including addition calculations and weather API integration for fetching city weather data.22
- AlicenseAqualityCmaintenanceProvides utility tools including random jokes, current weather, and name-based age prediction.3MIT
- FlicenseNot gradedqualityCmaintenanceProvides tools for calculating math expressions and querying weather, demonstrating how to build an MCP server using FastMCP or raw SDK.
Related MCP Connectors
Generate IDs, QR codes, and hashes, encode values, geolocate IPs, plus gated host diagnostics.
Hosted MCP endpoint with realistic fake data for prototyping agents. 12 tools, no setup.
500+ deterministic tools for AI agents: math, conversion, validation, hashing, encoding, date/time.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/karkir0003/levels-fyi-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server