Download the PHP package kinetis/mcp without Composer

On this page you can find all versions of the php package kinetis/mcp. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package mcp

kinetis/mcp
The native Model Context Protocol server for Kinetis

Packagist Version Packagist Downloads PHP Version License CI


Part of Kinetis, a non-blocking PHP framework for API-first applications, developed in the kinetis-dev/kinetis monorepo.

The Model Context Protocol server for Kinetis — tools and resources an AI agent can discover and call, declared with attributes and validated exactly like HTTP routes.

Two transports: stdio (kinetis mcp:serve — how Claude Code, Codex and most local clients launch a server) and Streamable HTTP (/mcp, an ordinary route), both on MCP 2025-06-18, over the JSON-RPC and stdio mechanics in kinetis/mcp-protocol. The server keeps no session state, so one instance serves a persistent stdio process and a stateless HTTP route alike. Every message is its own unit of work: a fresh request scope, transaction rollback for anything a tool leaves open, disposal once the response is written. The mcp middleware group authenticates the HTTP endpoint with the same middleware the auth packages ship for routes, and the identity they resolve reaches the tool; without one, /mcp answers 401 and dispatches nothing, unless MCP_HTTP_PUBLIC=true opens it. A deployment that pre-warms .kinetis-cache/ runs bin/kinetis build in the deploy that upgrades this package, so its compiled mcp group carries the guard. An unexpected exception — a tool, a resource, or the logger reporting either one — never crashes the server or reaches the client as anything more than a fixed, generic message; see the "Error handling" section at kinetis.dev/docs/mcp.html.

Provides

Installing this package is what opts it in — it registers the following automatically, through the extra.kinetis declaration in its composer.json (see kinetis.dev/docs/cli.html):

Nothing else — no global middleware, event listeners, or other routes.

Configuration

Read from the environment (or .env) via Kinetis\Config:

Key Default Purpose
MCP_ALLOWED_ORIGINS (empty) Comma-separated exact Origin values allowed on /mcp. Empty rejects any request that sends an Origin header at all; requests without one (CLI clients, server-to-server) always pass.
MCP_HTTP_PUBLIC false Serves /mcp to unauthenticated callers. Left at false, a request no mcp-group middleware registered a CurrentUserInterface for is answered 401 before anything is dispatched — see the "Securing the HTTP transport" section at kinetis.dev/docs/mcp.html.
MCP_DISCOVERY_PATHS (unset) Comma-separated sub-paths (relative to each PSR-4 base directory) restricting tool/resource discovery, for a large application that wants a bounded scan.

Installation

Requires PHP 8.4+ and kinetis/framework. Full documentation: kinetis.dev/docs/mcp.html.

License

MIT — see LICENSE.


All versions of mcp with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
kinetis/framework Version ^1.28.0
kinetis/mcp-protocol Version ^1.1.2
nyholm/psr7 Version ^1.8.2
psr/container Version ^2.0.2
psr/http-message Version ^2.0
psr/http-server-middleware Version ^1.0.2
psr/log Version ^3.0.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package kinetis/mcp contains the following files

Loading the files please wait ...