diff --git a/.agents/skills/ci-for-your-solution/SKILL.md b/.agents/skills/ci-for-your-solution/SKILL.md index d1fd033..f752dd8 100644 --- a/.agents/skills/ci-for-your-solution/SKILL.md +++ b/.agents/skills/ci-for-your-solution/SKILL.md @@ -16,7 +16,7 @@ Every solution starts with a simple pipeline that runs the commands in `AGENTS.m | `dotnet new` | `.github/workflows/ci.yml` | Restore, format, build, test and the coverage gate | | "Use this template" on GitHub | `.github/workflows/build-pipeline.yml`, the template's own | Format, build and test. The scans and the template's pack, verify and release jobs only run in the LeanMeanCleanApps organisation, and show as not run anywhere else | -The **Set up CI** guide for your template on the [Lean Mean Clean Apps docs site](https://leanmeancleanapps.github.io/) shows both, and links the template's full Build Pipeline as a worked example of every check below. +The **Set up CI** guide for your template on the [Lean Mean Clean Apps docs site](https://leanmeanclean.dev/) shows both, and links the template's full Build Pipeline as a worked example of every check below. ## Adding a check diff --git a/.agents/skills/docs-and-voice/SKILL.md b/.agents/skills/docs-and-voice/SKILL.md index f10804a..5250e01 100644 --- a/.agents/skills/docs-and-voice/SKILL.md +++ b/.agents/skills/docs-and-voice/SKILL.md @@ -13,7 +13,7 @@ metadata: | --- | --- | | A short introduction, install, the options table and links | `README.md` and `NUGET.md` (the package page) | | Running the app, environments, database and tests | `docs/RUN.md`, which also ships in every generated solution | -| Full guides | The docs site, , in the `leanmeancleanapps.github.io` repository, with a home page per template | +| Full guides | The docs site, , in the `leanmeancleanapps.github.io` repository, with a home page per template | | How to contribute | `CONTRIBUTING.md` | | How agents work here | `AGENTS.md` and `.agents/` | diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index f829013..de1e988 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -10,7 +10,7 @@ body: A few things first: - Can't get as far as a working solution? The **Template creation problem** form asks the right questions for that. - - The [troubleshooting page](https://leanmeancleanapps.github.io/mcp/reference/troubleshooting/) covers the usual suspects. It's short, and it might save you a form. + - The [troubleshooting page](https://leanmeanclean.dev/mcp/reference/troubleshooting/) covers the usual suspects. It's short, and it might save you a form. - Security vulnerabilities go through the [security policy](https://github.com/LeanMeanCleanApps/CleanModelContextProtocol/security/policy), not a public issue. - type: textarea id: description diff --git a/.github/ISSUE_TEMPLATE/docs_problem.yml b/.github/ISSUE_TEMPLATE/docs_problem.yml index b0085b8..2be284d 100644 --- a/.github/ISSUE_TEMPLATE/docs_problem.yml +++ b/.github/ISSUE_TEMPLATE/docs_problem.yml @@ -8,13 +8,13 @@ body: value: | Thanks. Docs that are wrong are worse than no docs at all, because at least no docs don't lie to you. - Spotted a typo? A pull request is quicker than this form, and every page on the [docs site](https://leanmeancleanapps.github.io/mcp/) is fair game. + Spotted a typo? A pull request is quicker than this form, and every page on the [docs site](https://leanmeanclean.dev/mcp/) is fair game. - type: input id: location attributes: label: Where is it? description: A link to the page or file, ideally to the heading. - placeholder: "https://leanmeancleanapps.github.io/mcp/..." + placeholder: "https://leanmeanclean.dev/mcp/..." validations: required: true - type: dropdown diff --git a/.github/ISSUE_TEMPLATE/template_problem.yml b/.github/ISSUE_TEMPLATE/template_problem.yml index ea1763f..8515304 100644 --- a/.github/ISSUE_TEMPLATE/template_problem.yml +++ b/.github/ISSUE_TEMPLATE/template_problem.yml @@ -8,7 +8,7 @@ body: value: | Sorry. The first five minutes are meant to be the easy part. - Before you fill this in, try the two things that fix most of these: run `dotnet new uninstall CleanModelContextProtocol.Template` and install it again, and check `dotnet --version` against the SDK in the [README](https://github.com/LeanMeanCleanApps/CleanModelContextProtocol#readme). The [troubleshooting page](https://leanmeancleanapps.github.io/mcp/reference/troubleshooting/) has the rest. + Before you fill this in, try the two things that fix most of these: run `dotnet new uninstall CleanModelContextProtocol.Template` and install it again, and check `dotnet --version` against the SDK in the [README](https://github.com/LeanMeanCleanApps/CleanModelContextProtocol#readme). The [troubleshooting page](https://leanmeanclean.dev/mcp/reference/troubleshooting/) has the rest. - type: dropdown id: stage attributes: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f97e15d..094a1c5 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -2,7 +2,7 @@ Thanks for stopping by. Bug reports, ideas, documentation fixes and pull requests are all welcome, roughly in that order of how quickly they get a reply. -This is a [Lean Mean Clean Apps](https://leanmeancleanapps.github.io/) project, built and looked after in spare time with strong coffee and a healthy disregard for pomp and ceremony. The team is one person at the moment, so replies are best effort, and the fastest way to get something changed is to make it easy to say yes to. If you'd like to make it two people, pull requests are how that starts. +This is a [Lean Mean Clean Apps](https://leanmeanclean.dev/) project, built and looked after in spare time with strong coffee and a healthy disregard for pomp and ceremony. The team is one person at the moment, so replies are best effort, and the fastest way to get something changed is to make it easy to say yes to. If you'd like to make it two people, pull requests are how that starts. ## Before you start @@ -13,7 +13,7 @@ This is a [Lean Mean Clean Apps](https://leanmeancleanapps.github.io/) project, ## One template in a family of five -This repository is one of five [Lean Mean Clean Apps](https://leanmeancleanapps.github.io/) templates that share everything except the Presentation layer: +This repository is one of five [Lean Mean Clean Apps](https://leanmeanclean.dev/) templates that share everything except the Presentation layer: - [Clean Minimal API](https://github.com/LeanMeanCleanApps/CleanMinimalApi) - [Clean Model Context Protocol](https://github.com/LeanMeanCleanApps/CleanModelContextProtocol) diff --git a/NUGET.md b/NUGET.md index 3ee7e17..8b6d448 100644 --- a/NUGET.md +++ b/NUGET.md @@ -2,15 +2,15 @@ A `dotnet new` template for a [Model Context Protocol](https://modelcontextprotocol.io) server using the [MCP C# SDK](https://github.com/modelcontextprotocol/csharp-sdk) in .NET 10, built with a streamlined Clean Architecture. All the layers you need, none of the ceremony you don't. -It's one of five [Lean Mean Clean Apps](https://leanmeancleanapps.github.io/) templates, for Minimal APIs, Model Context Protocol, GraphQL, Web API controllers and AWS Lambda. They share the same Application and Infrastructure layers and differ only in how they face the world. The full docs live at [leanmeancleanapps.github.io/mcp](https://leanmeancleanapps.github.io/mcp/). +It's one of five [Lean Mean Clean Apps](https://leanmeanclean.dev/) templates, for Minimal APIs, Model Context Protocol, GraphQL, Web API controllers and AWS Lambda. They share the same Application and Infrastructure layers and differ only in how they face the world. The full docs live at [leanmeanclean.dev/mcp](https://leanmeanclean.dev/mcp/). | Template | Presentation | Package | Docs | | --- | --- | --- | --- | -| Clean Minimal API | ASP.NET Core Minimal APIs | [CleanMinimalApi.Template](https://www.nuget.org/packages/CleanMinimalApi.Template) | [Docs](https://leanmeancleanapps.github.io/minimalapi/) | -| **Clean Model Context Protocol** | Model Context Protocol server, you are here | [CleanModelContextProtocol.Template](https://www.nuget.org/packages/CleanModelContextProtocol.Template) | [Docs](https://leanmeancleanapps.github.io/mcp/) | -| Clean GraphQL API | GraphQL with Hot Chocolate | [CleanGraphQLApi.Template](https://www.nuget.org/packages/CleanGraphQLApi.Template) | [Docs](https://leanmeancleanapps.github.io/graphql/) | -| Clean Web API | ASP.NET Core controllers | [CleanWebApi.Template](https://www.nuget.org/packages/CleanWebApi.Template) | [Docs](https://leanmeancleanapps.github.io/webapi/) | -| Clean Lambda Function | AWS Lambda | [CleanLambdaFunction.Template](https://www.nuget.org/packages/CleanLambdaFunction.Template) | [Docs](https://leanmeancleanapps.github.io/lambda/) | +| Clean Minimal API | ASP.NET Core Minimal APIs | [CleanMinimalApi.Template](https://www.nuget.org/packages/CleanMinimalApi.Template) | [Docs](https://leanmeanclean.dev/minimalapi/) | +| **Clean Model Context Protocol** | Model Context Protocol server, you are here | [CleanModelContextProtocol.Template](https://www.nuget.org/packages/CleanModelContextProtocol.Template) | [Docs](https://leanmeanclean.dev/mcp/) | +| Clean GraphQL API | GraphQL with Hot Chocolate | [CleanGraphQLApi.Template](https://www.nuget.org/packages/CleanGraphQLApi.Template) | [Docs](https://leanmeanclean.dev/graphql/) | +| Clean Web API | ASP.NET Core controllers | [CleanWebApi.Template](https://www.nuget.org/packages/CleanWebApi.Template) | [Docs](https://leanmeanclean.dev/webapi/) | +| Clean Lambda Function | AWS Lambda | [CleanLambdaFunction.Template](https://www.nuget.org/packages/CleanLambdaFunction.Template) | [Docs](https://leanmeanclean.dev/lambda/) | ## Get started @@ -70,7 +70,7 @@ dotnet new update ## More help -- [Docs](https://leanmeancleanapps.github.io/mcp/) for guides, a reference and why it's built this way +- [Docs](https://leanmeanclean.dev/mcp/) for guides, a reference and why it's built this way - [GitHub](https://github.com/LeanMeanCleanApps/CleanModelContextProtocol) for the code, [issues](https://github.com/LeanMeanCleanApps/CleanModelContextProtocol/issues) and [release notes](https://github.com/LeanMeanCleanApps/CleanModelContextProtocol/releases) - [Security policy](https://github.com/LeanMeanCleanApps/CleanModelContextProtocol/security/policy) to report a vulnerability privately diff --git a/README.md b/README.md index 4bb4caa..8fe6ade 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Clean Model Context Protocol](https://raw.githubusercontent.com/LeanMeanCleanApps/brand/main/assets/banners/png/mcp.png)](https://leanmeancleanapps.github.io/mcp/) +[![Clean Model Context Protocol](https://raw.githubusercontent.com/LeanMeanCleanApps/brand/main/assets/banners/png/mcp.png)](https://leanmeanclean.dev/mcp/) [![Build Pipeline](https://img.shields.io/github/actions/workflow/status/LeanMeanCleanApps/CleanModelContextProtocol/build-pipeline.yml?branch=main&label=Build%20Pipeline&logo=github&style=for-the-badge)](https://github.com/LeanMeanCleanApps/CleanModelContextProtocol/actions/workflows/build-pipeline.yml) [![NuGet](https://img.shields.io/nuget/v/CleanModelContextProtocol.Template?label=NuGet&logo=nuget&logoColor=white&style=for-the-badge)](https://www.nuget.org/packages/CleanModelContextProtocol.Template) @@ -7,9 +7,9 @@ A `dotnet new` template for a [Model Context Protocol](https://modelcontextprotocol.io) server using the [MCP C# SDK](https://github.com/modelcontextprotocol/csharp-sdk) in .NET 10, built with a streamlined Clean Architecture. All the layers you need, none of the ceremony you don't. -It's one of five [Lean Mean Clean Apps](https://leanmeancleanapps.github.io/) templates. They share the same Application and Infrastructure layers and differ only in how they face the world. Same genes, different haircuts. +It's one of five [Lean Mean Clean Apps](https://leanmeanclean.dev/) templates. They share the same Application and Infrastructure layers and differ only in how they face the world. Same genes, different haircuts. -The guides, the reference and the reasoning behind every opinion live at **[leanmeancleanapps.github.io/mcp](https://leanmeancleanapps.github.io/mcp/)**. This is the version for people who skim. We see you. +The guides, the reference and the reasoning behind every opinion live at **[leanmeanclean.dev/mcp](https://leanmeanclean.dev/mcp/)**. This is the version for people who skim. We see you. ## Get started @@ -93,7 +93,7 @@ There are six tools shaped around jobs rather than tables: `movies_search`, `mov No Docker? `dotnet run --project src/Presentation` works too. Every other way to run it, from plain `docker run` to stamping a version into the image, is in [docs/RUN.md](docs/RUN.md). -The server is open unless you ask for authentication. Create the solution with `--include-auth --authority https://login.example.com --audience https://mcp.example.com` and `/mcp` asks for a bearer token, and the server publishes [protected resource metadata](https://modelcontextprotocol.io/specification/latest/basic/authorization) so MCP clients can find your authorization server and sign in by themselves. Leave `--include-auth` out and there's no authentication code in the solution at all, so there's nothing to leave switched off by accident. [Securing the server](https://leanmeancleanapps.github.io/mcp/guides/secure-the-server/) has the details, including how to add it later. +The server is open unless you ask for authentication. Create the solution with `--include-auth --authority https://login.example.com --audience https://mcp.example.com` and `/mcp` asks for a bearer token, and the server publishes [protected resource metadata](https://modelcontextprotocol.io/specification/latest/basic/authorization) so MCP clients can find your authorization server and sign in by themselves. Leave `--include-auth` out and there's no authentication code in the solution at all, so there's nothing to leave switched off by accident. [Securing the server](https://leanmeanclean.dev/mcp/guides/secure-the-server/) has the details, including how to add it later. ## What's inside @@ -115,7 +115,7 @@ And around the edges: - **The pipeline** builds, checks formatting, tests with a 95% coverage bar, makes sure the packed template still works, runs [CodeQL](https://codeql.github.com), reviews new dependencies and their licences, starts the image to check it actually answers, and scans the container and Dockerfile with [Trivy](https://trivy.dev). Then it sums the lot up in one comment on your pull request, so you know exactly who to blame. Your copy, or a solution from `dotnet new`, gets the format check, build and tests with no accounts, tokens or secrets, so it goes green the moment you push it. The scans stay switched off outside our organisation until you want them, and Jacques can switch them on with you. Trust is earned. - **Dependabot** bundles the month's dependency updates into one pull request on the 15th. -The [architecture page](https://leanmeancleanapps.github.io/mcp/explanation/architecture/) has the long version, with full credit to [Jason Taylor's template](https://github.com/jasontaylordev/CleanArchitecture) and [Uncle Bob](https://blog.cleancoder.com/uncle-bob/2012/08/13/the-clean-architecture.html) for the ideas. +The [architecture page](https://leanmeanclean.dev/mcp/explanation/architecture/) has the long version, with full credit to [Jason Taylor's template](https://github.com/jasontaylordev/CleanArchitecture) and [Uncle Bob](https://blog.cleancoder.com/uncle-bob/2012/08/13/the-clean-architecture.html) for the ideas. ## Releases diff --git a/SUPPORT.md b/SUPPORT.md index 189aea0..4d9e140 100644 --- a/SUPPORT.md +++ b/SUPPORT.md @@ -2,14 +2,14 @@ ## Getting help -- **Using the template:** start with the [docs site](https://leanmeancleanapps.github.io/mcp/) and its [troubleshooting page](https://leanmeancleanapps.github.io/mcp/reference/troubleshooting/), then the [README](README.md) and [docs/RUN.md](docs/RUN.md). They're long because they answer the questions people actually ask. +- **Using the template:** start with the [docs site](https://leanmeanclean.dev/mcp/) and its [troubleshooting page](https://leanmeanclean.dev/mcp/reference/troubleshooting/), then the [README](README.md) and [docs/RUN.md](docs/RUN.md). They're long because they answer the questions people actually ask. - **Can't get the template installed, or a new solution to build or run?** Open a [template creation problem](https://github.com/LeanMeanCleanApps/CleanModelContextProtocol/issues/new?template=template_problem.yml). - **Found a bug?** Open a [bug report](https://github.com/LeanMeanCleanApps/CleanModelContextProtocol/issues/new?template=bug_report.yml). A clear title and a way to reproduce it will get you a faster answer than a long story. - **Docs wrong, missing or out of date?** Open a [docs problem](https://github.com/LeanMeanCleanApps/CleanModelContextProtocol/issues/new?template=docs_problem.yml), or just send a pull request. - **Have an idea?** Open a [feature request](https://github.com/LeanMeanCleanApps/CleanModelContextProtocol/issues/new?template=feature_request.yml). - **Found a security vulnerability?** Don't open an issue. Follow the [security policy](SECURITY.md). -This is a [Lean Mean Clean Apps](https://leanmeancleanapps.github.io/) project, looked after in spare time by a team that is currently one person with a day job and a coffee habit, so responses are best effort. They do arrive. +This is a [Lean Mean Clean Apps](https://leanmeanclean.dev/) project, looked after in spare time by a team that is currently one person with a day job and a coffee habit, so responses are best effort. They do arrive. ## Supporting the project diff --git a/src/Presentation/Extensions/WebApplicationBuilderExtensions.cs b/src/Presentation/Extensions/WebApplicationBuilderExtensions.cs index df1ce91..c388f27 100644 --- a/src/Presentation/Extensions/WebApplicationBuilderExtensions.cs +++ b/src/Presentation/Extensions/WebApplicationBuilderExtensions.cs @@ -164,7 +164,7 @@ public static WebApplicationBuilder ConfigureApplicationBuilder(this WebApplicat Version = assembly.GetCustomAttribute()?.InformationalVersion ?? string.Empty, // The docs site and a pinned brand release, not this repository: dotnet new renames the // template's name wherever it appears, so repository links break in a new solution. - WebsiteUrl = "https://leanmeancleanapps.github.io/mcp/", + WebsiteUrl = "https://leanmeanclean.dev/mcp/", Icons = [ new() diff --git a/template/README.md b/template/README.md index 35eb1e0..06fa054 100644 --- a/template/README.md +++ b/template/README.md @@ -20,4 +20,4 @@ See [docs/RUN.md](docs/RUN.md) for the ports, the database and its migrations, t ## Docs and coding agents - [AGENTS.md](AGENTS.md): architecture rules, project map and the skills in `.agents/skills/` for coding agents. -- [Template documentation](https://leanmeancleanapps.github.io/mcp/): guides, reference pages and design decisions. +- [Template documentation](https://leanmeanclean.dev/mcp/): guides, reference pages and design decisions. diff --git a/template/template.csproj b/template/template.csproj index decc9a0..7f47810 100644 --- a/template/template.csproj +++ b/template/template.csproj @@ -8,7 +8,7 @@ Stephen Walsh A dotnet new template for a Model Context Protocol server using the MCP C# SDK, built with a streamlined Clean Architecture on .NET 10. dotnet;csharp;dotnet-template;template;clean-architecture;cqrs;mediator;fluentvalidation;mapperly;entity-framework-core;docker;mcp;model-context-protocol;mcp-server;clean;cleanarchitecture;lmc;lmca;leanmeanclean;leanmeancleanapps;project-template;solution-template;net10;dotnet10;sqlite;efcore;serilog;opentelemetry;modelcontextprotocol;mcp-tools;ai;ai-agents;agents;llm - https://leanmeancleanapps.github.io/mcp/ + https://leanmeanclean.dev/mcp/ https://github.com/LeanMeanCleanApps/CleanModelContextProtocol git docs/LICENSE.md