SGL for developers
SGL developer docs, API reference and engine plugins, for games, mods and integrations.
Sollte ich dies verwenden
Qualität und Sicherheit
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"sgl-developers": {
"url": "https://www.sovereigngl.com/api/mcp/developers"
}
}
}Remote-Endpunkte
https://www.sovereigngl.com/api/mcp/developersstreamable-httpWas es kann
Tool-Inventar
Tools (5)
🟢choose_integration(platform, goals)
Given a game engine, platform or kind of project (Unity, Godot, GameMaker, Roblox, a Minecraft mod, a web game, a Discord bot, a stream overlay, a Shopify store…), says whether SGL has a ready-made plugin for it and how to use it, or, when there isn’t one, how to build the integration: the calls in order, where to keep tokens and keys, and which SGL plugin’s source to port.
Eingabe-Schema
{
"type": "object",
"properties": {
"platform": {
"type": "string",
"description": "The engine, platform or project, in the person’s words, e.g. \"Unity 2022\", \"GameMaker\", \"Fabric mod for Minecraft 1.21\", \"Discord bot in Python\"."
},
"goals": {
"type": "array",
"items": {
"type": "string",
"enum": [
"sign-in",
"match",
"results",
"events",
"registrations",
"webhooks",
"display"
]
},
"description": "Optional: what it should do. sign-in: Sign in with SGL in the game; match: Event lobbies: the player’s called match, ready; results: Results from the game; events: Create and run events from your own tools; registrations: Sign players up from a launcher or bot; webhooks: Hear about changes as they happen; display: Brackets, standings and results on a stream overlay or website. Games default to sign-in, match and results."
}
},
"required": [
"platform"
]
}🟢get_developer_docs(topic)
A section of SGL’s developer documentation (the API docs and "SGL in your game"): sign-in for games, the player API, lobbies, results, webhooks, scopes, errors and so on. Without a topic, the list of topics.
Eingabe-Schema
{
"type": "object",
"properties": {
"topic": {
"type": "string",
"enum": [
"overview",
"quickstart",
"authentication",
"scopes",
"consent",
"players",
"errors",
"reference",
"examples",
"webhooks",
"official-results",
"practices",
"how",
"setup",
"sign-in",
"player-api",
"lobbies",
"results",
"server",
"sdks",
"sgl-link"
],
"description": "The section to read."
}
}
}🟢api_reference(search, group)
SGL’s HTTP endpoints with their scope, the player permission they need, what they do, and example request and response bodies: the organization API (API key) and the player API (a game’s sign-in). Search by path or word, or pick a group.
Eingabe-Schema
{
"type": "object",
"properties": {
"search": {
"type": "string",
"description": "A path or word, e.g. \"/results\", \"registrations\", \"ready\"."
},
"group": {
"type": "string",
"enum": [
"Events",
"Registrations",
"Results",
"Teams",
"Players and accounts",
"Player API"
],
"description": "Only this group."
}
}
}🟢code_example(engine)
Working code from SGL’s own plugins (Unity, Unreal, Godot, C), as their documentation ships it: install, set up and use, including sign-in, the called match, ready and results. "http" gives the plain HTTP calls (curl and Node.js) for platforms without a plugin, and "webhook" a webhook receiver that checks the signature.
Eingabe-Schema
{
"type": "object",
"properties": {
"engine": {
"type": "string",
"enum": [
"unity",
"unreal",
"godot",
"c",
"http",
"webhook"
],
"description": "Which code."
}
},
"required": [
"engine"
]
}🟢game_mods(game)
The unofficial mods and tools SGL lists on a game’s page (made by other studios and players, not the game’s developer or SGL): what each does, who made it and its link. Useful before building one that may already exist.
Eingabe-Schema
{
"type": "object",
"properties": {
"game": {
"type": "string",
"description": "The game’s name or SGL slug, e.g. \"Dawn of War\" or \"tekken-8\"."
}
},
"required": [
"game"
]
}Community
Nachweis