semlang-setup
Inspect and configure SemLang MCP for the current Pi project. Use when SemLang MCP is missing, broken, or needs project-local Pi setup.
- License 许可
- MIT
- 最近更新
- 2026-07-17
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- semlang-setup
- description
- Inspect and configure SemLang MCP for the current Pi project. Use when SemLang MCP is missing, broken, or needs project-local Pi setup.
03 SKILL.md 正文
SemLang Setup for Pi
Use this skill to help a user configure SemLang MCP in the current project.
Keep the setup minimal: this package loads pi-mcp-adapter; the skill only
helps manage MCP JSON configuration.
Workflow
- Inspect existing MCP config files, when present:
.pi/mcp.json.mcp.json- optionally
~/.pi/agent/mcp.json - optionally
~/.config/mcp/mcp.json
- Determine whether any inspected config already defines
mcpServers.semlang. - If a
semlangMCP server already exists, summarize where it was found and do not add another server unless the user explicitly asks. - If SemLang MCP is missing, propose adding project-local Pi config at
.pi/mcp.json. Prefer this Pi-owned project config unless an existing.mcp.jsonalready has, or clearly should have, the SemLang config. - Ask for user confirmation before creating or editing MCP config unless the user has already explicitly authorized the edit.
- Preserve existing MCP config contents. Merge only the missing
mcpServers.semlangentry and keep other servers/settings unchanged. - After writing config, tell the user to run
/reloador restart Pi. - Mention that SemLang MCP respects
SEMLANG_*environment settings and thatsemlang setupcan inspect resolved SemLang settings.
Server snippet
Unless a project-local SemLang binary strategy is explicitly requested and is more reliable for the project, add this server entry pinned to the package version:
{
"mcpServers": {
"semlang": {
"command": "npx",
"args": ["-y", "semlang@0.1.3", "mcp"],
"lifecycle": "lazy"
}
}
}
For an existing config file, merge the semlang object under the existing
mcpServers object instead of replacing the file.
04 同仓库更多 Skills
semlang
Use when reading, writing, or running SemLang semantic-model files, including reusable ontology changes, query workflows, and one-off SemLang analysis packages.
initial-ontology-creation
Use when creating an initial SemLang ontology from a data source, optional documentation, and user validation of core entities, relationships, roles, situations, measures, and sample questions.