Koppla din AI-assistent
Konfigurera Claude Code för att svara pÄ frÄgor om Pojkar 2014s matcher med live-data.
FörutsÀttningar
-
â
Claude Code installerat och fungerar:
claude --version - â Din lags MCP-URL för Pojkar 2014 (visas nedan)
Din MCP-URL:
https://team.rdops.com/sv/lugihf/p2014/mcp
1
Registrera MCP-servern
Kör detta en gÄng i terminalen för att registrera lagets datakÀlla:
claude mcp add --transport http teamops-lugihf-p2014 https://team.rdops.com/sv/lugihf/p2014/mcp
Detta uppdaterar ~/.claude/mcp.json:
{
"mcpServers": {
"teamops-lugihf-p2014": {
"type": "http",
"url": "https://team.rdops.com/sv/lugihf/p2014/mcp"
}
}
}
Aktivera det sedan i ~/.claude/settings.json:
{
"enabledMcpjsonServers": [
"teamops-lugihf-p2014"
]
}
2
Skapa skill-plugin
Skill:en talar om för Claude nÀr och hur teamops-lugihf-p2014-servern ska anvÀndas. Skapa dessa filer:
Katalogstruktur:
~/.claude/skills/teamops-lugihf-p2014/
.claude-plugin/
plugin.json
skills/
teamops-lugihf-p2014/
SKILL.md
.claude-plugin/plugin.json
{
"name": "teamops-lugihf-p2014",
"description": "Pojkar 2014 handball team schedule and game info",
"version": "1.0.0",
"author": {
"name": "your-name"
}
}
skills/teamops-lugihf-p2014/SKILL.md
--- name: teamops-lugihf-p2014 description: Use this skill when the user asks about upcoming handball games, matches, or schedule for Pojkar 2014. Triggers on questions like "when does my son play?", "what games do we have this weekend?", "what time do we need to be there?", or any question about the Pojkar 2014 team schedule, opponents, or logistics. --- Use the `teamops-lugihf-p2014` MCP server to answer the user's question. Look up upcoming games, match schedules, opponent teams, trainer attendance, and timing information from that server. When answering: - Lead with the most relevant info (e.g. next game date/time) - Include location and arrival time where relevant - Mention which trainers are attending if available - Keep responses concise and parent-friendly
3
Registrera plugin
LÀgg till plugin-sökvÀgen i ~/.claude/settings.json:
{
"enabledMcpjsonServers": [
"teamops-lugihf-p2014"
],
"plugins": [
"/home/YOUR_USER/.claude/skills/teamops-lugihf-p2014"
]
}
ErsÀtt YOUR_USER med ditt faktiska anvÀndarnamn.
Hur det fungerar
NĂ€r det Ă€r konfigurerat kĂ€nner Claude automatiskt igen schemarelaterade frĂ„gor och hĂ€mtar live-matchdata. Inget snedstreck-kommando behövs â frĂ„ga bara naturligt:
â
"when does my son play next?"
â
"what games do we have this weekend?"
â
"what time do we need to be there on Saturday?"