Skip to content

Commit d8c787e

Browse files
authored
Revert "* Trigger docs deployment for docs/* changes too (#23)" (#24)
This reverts commit 87c25e8.
1 parent 87c25e8 commit d8c787e

File tree

6 files changed

+11
-15
lines changed

6 files changed

+11
-15
lines changed

.github/workflows/deploy-docs.yaml

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

1110
permissions:

README.md

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

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.
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.
64

75
> Built by [Mozilla AI](https://mozilla.ai)
86

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: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44
55
---
66

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.
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.
108

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

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

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

4038
🚀 **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: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,10 @@ 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 may be included.
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.
303306
// An error is returned if a supported runtime is found but a valid package name cannot be extracted.
304307
func (r *Registry) supportedRuntimePackageNames(installations map[string]Installation) (map[runtime.Runtime]string, error) {
305308
result := make(map[runtime.Runtime]string)
@@ -329,8 +332,6 @@ func (r *Registry) supportedRuntimePackageNames(installations map[string]Install
329332
// URLs, git references, and script files (".py").
330333
//
331334
// 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.
334335
// Returns an error if no suitable package name is found.
335336
func extractPlainPackage(rt runtime.Runtime, args []string) (string, error) {
336337
for _, arg := range args {

0 commit comments

Comments
 (0)