Skip to content

Commit 15b3059

Browse files
authored
Trigger docs deployment for docs/* changes too (#25)
* Trigger docs deployment for docs/* changes too * Replace annoying '—' (em space) that comes from letting LLMs re-write your content 🤦 * Adjust some comments in mcpm registry code
1 parent d8c787e commit 15b3059

File tree

6 files changed

+15
-11
lines changed

6 files changed

+15
-11
lines changed

.github/workflows/deploy-docs.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches: [main]
66
paths:
77
- "cmd/**"
8+
- "docs/**"
89
workflow_dispatch:
910

1011
permissions:

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# mcpd
22

3-
**mcpd** is a CLI and local daemon that helps developers and infrastructure teams manage [Model Context Protocol](https://github.com/mozilla-ai/mcp-spec) (MCP) servers declaratively — with the same experience locally and in production.
3+
**mcpd** is a CLI and local daemon that helps developers and infrastructure teams manage
4+
[Model Context Protocol](https://github.com/mozilla-ai/mcp-spec) (MCP) servers declaratively,
5+
with the same experience locally and in production.
46

57
> Built by [Mozilla AI](https://mozilla.ai)
68

docs/execution-context.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ These values apply at runtime and are separate from your project-specific `.mcpd
3030
```
3131

3232
!!! warning "Manual Changes"
33-
The Execution Context Configuration file is automatically updated by `mcpd config` commands you shouldn't edit it by hand unless absolutely necessary.
33+
The Execution Context Configuration file is automatically updated by `mcpd config` commands, you shouldn't edit it by hand unless absolutely necessary.

docs/index.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
55
---
66

7-
`mcpd` is a toolchain and runtime developed by [Mozilla AI](https://mozilla.ai) that simplifies the configuration, execution and integration of Model Context Protocol (MCP) servers with your agentic application — across local development and production environments.
7+
`mcpd` is a toolchain and runtime developed by [Mozilla AI](https://mozilla.ai) that simplifies the configuration,
8+
execution and integration of Model Context Protocol (MCP) servers with your agentic application.
9+
It is intended to provide the same experience across local development and production environments.
810

911
It removes the friction of cross-language server orchestration, secrets management, version pinning, and lifecycle control.
1012

@@ -32,7 +34,7 @@ Traditional agent frameworks often embed complex subprocess logic, brittle start
3234
One command: `mcpd daemon`. Starts and manages all servers behind the scenes.
3335

3436
🧰 **Intuitive SDK Integration**
35-
The Python `mcpd_sdk` makes calling tools feel like native function calls no HTTP, STDIO, or SSE boilerplate.
37+
The Python `mcpd_sdk` makes calling tools feel like native function calls; no HTTP, STDIO, or SSE boilerplate.
3638
Even easier for users of [any-agent](https://github.com/mozilla-ai/any-agent) via `.agent_tools()`.
3739

3840
🚀 **Seamless Local-to-Prod Transition**

docs/requirements.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
To use `mcpd`, ensure the following tools are installed:
44

5-
- [`uv` / `uvx`](https://docs.astral.sh/uv/getting-started/installation/) for running `uvx` Python packages
6-
- [`npx` / `npm` / `NodeJS`](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) for running JavaScript/TypeScript packages
7-
- [Go](https://go.dev/doc/install) only required for building and developing `mcpd`
5+
- [`uv` / `uvx`](https://docs.astral.sh/uv/getting-started/installation/) - for running `uvx` Python packages
6+
- [`npx` / `npm` / `NodeJS`](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) - for running JavaScript/TypeScript packages
7+
- [Go](https://go.dev/doc/install) - only required for building and developing `mcpd`
88

99
!!! note "Internet Connectivity"
1010
`mcpd` requires internet access to contact package registries and to allow MCP servers access to the internet if required when running.

internal/provider/mcpm/registry.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -299,10 +299,7 @@ func convertInstallations(src map[string]Installation) map[runtime.Runtime]packa
299299
// It returns a map where keys are supported runtime identifiers (e.g., "npx", "uvx") and values are
300300
// the corresponding plain package names used to execute the server.
301301
//
302-
// Only installations where the command matches a supported runtime are included.
303-
// Additionally, the installation must use a standard execution format—plain package names like "some-package" or
304-
// "some-package@version". Non-standard forms such as git URLs, Python scripts, or direct file paths
305-
// are ignored.
302+
// Only installations where the command matches a supported runtime may be included.
306303
// An error is returned if a supported runtime is found but a valid package name cannot be extracted.
307304
func (r *Registry) supportedRuntimePackageNames(installations map[string]Installation) (map[runtime.Runtime]string, error) {
308305
result := make(map[runtime.Runtime]string)
@@ -332,6 +329,8 @@ func (r *Registry) supportedRuntimePackageNames(installations map[string]Install
332329
// URLs, git references, and script files (".py").
333330
//
334331
// This function enforces a strict format, ensuring only plain package names are accepted.
332+
// e.g. "some-package" or "some-package@version".
333+
// Non-standard forms such as git URLs, Python scripts, or direct file paths are ignored.
335334
// Returns an error if no suitable package name is found.
336335
func extractPlainPackage(rt runtime.Runtime, args []string) (string, error) {
337336
for _, arg := range args {

0 commit comments

Comments
 (0)