
cleanslice/mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
cleanslice/mcp は [https://github.com/cleanslice/mcp.] からインポートされた MCP サーバーの候補です
概要
cleanslice/mcp は [https://github.com/cleanslice/mcp.] からインポートされた MCP サーバーの候補です
概要(AI 翻訳)
MCP (Model Context Protocol) サーバは、AI コーディングエージェントが CleanSlice アーキテクチャのドキュメントにアクセスできるようにします。 Claude、Cursor、Windsurf、またはMCP互換のクライアントに接続して、AIはCleanSliceの規約を使用してアプリをビルドする方法を知っています。
インストール
クロードコードにインストール
このコマンドを実行します。 詳細は、Claude Code MCP ドキュメントを参照してください。
現在のプロジェクトのみにインストールするには[
--scope userを削除してください。
Tip: CLAUDE.md で MCP の使用法を強制して下さい
クロード・コードは常に、任意のコードを記述する CleanSlice MCP before に相談するようにするには、プロジェクトの [CLAUDE.md に以下を追加します。
これにより、エージェントは、事実の後にではなく、すべてのタスクの開始時にCleanSlice のドキュメントを読み込みます。
任意:安全網として停止ホックを加えて下さい
[CLAUDE.mdにもかかわらず、エージェントがMCPをスキップするケースをキャッチするには、これを[.claude/settings.jsonに追加します。
Cursorにインストール
[Settings→Cursor Settings→[MCP]→[[Add new global MCP server]]→[[[Cursor Settings]]→[[[[MCP]]]→[[[Add new global MCP server]]]]→[[[Add new global MCP server]]]]→[[[Cursor Settings]]]]→[[[[[[[[MCP]]]]]→[[[[[[[[[MCP]]]]]]]]→[[[[[[[[[[[[[[[[[[[[Add new global MCP server]]]]]]]]]]→[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[]]]]]]]]]]]]]]]]]]]]]]]]
次のファイルをCursor ~/.cursor/mcp.jsonファイルに貼り付けます。 プロジェクトフォルダに.cursor/mcp.jsonを作成することで、特定のプロジェクトにインストールすることもできます。 詳細については、Cursor MCP ドキュメントを参照してください.
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
CleanSlice MCP Server
MCP (Model Context Protocol) server that gives AI coding agents access to the CleanSlice architecture documentation. Connect it to Claude, Cursor, Windsurf, or any MCP-compatible client so the AI knows how to build apps using CleanSlice conventions.
Installation
Run this command. See Claude Code MCP docs for more info.
claude mcp add --scope user --transport http cleanslice https://mcp.cleanslice.org/mcp
Remove
--scope userto install for the current project only.
Tip: enforce MCP usage with CLAUDE.md
To make sure Claude Code always consults the CleanSlice MCP before writing any code, add the following to your project’s CLAUDE.md:
## CleanSlice MCP — Required
Before writing or modifying any code you MUST consult the CleanSlice MCP:
1. Call `get-started` to load the core architecture rules.
2. Call `list-categories` to see available documentation areas.
3. Call `search` with at least 2 task-relevant queries covering:
(a) core implementation details for the feature you are building,
(b) edge cases, constraints, or standards that apply.
4. Call `read-doc` to read the full document when search snippets aren't enough.
Do NOT guess conventions — always verify against MCP results first.
This ensures the agent reads CleanSlice docs at the start of every task, not after the fact.
Optional: add a Stop hook as a safety net
To catch cases where the agent skips the MCP despite the CLAUDE.md instruction, add this to .claude/settings.json:
{
"hooks": {
"Stop": [
{
"hooks": [
{
"type": "agent",
"timeout": 180,
インストール
docker run -p 8080:8080 cleanslice-mcp設定
{
"mcpServers": {
"cleanslice": {
"type": "http",
"url": "https://mcp.cleanslice.org/mcp"
}
}
}