Download the PHP package hideyukimori/nene-mcp without Composer

On this page you can find all versions of the php package hideyukimori/nene-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 nene-mcp

CI Docs Packagist Version

NeNe MCP

A small PHP library that adds stdio MCP (Model Context Protocol) to NeNe apps with a single composer require—no NeNe fork, no MCP code in framework core.

Developers familiar with legacy PHP can run it with Composer and environment variables only. It works standalone without importing NeNe or NENE2 source. Any HTTP API—Laravel, vanilla PHP, Node, etc.—can use the same bridge when you provide a NENE2-compatible docs/mcp/tools.json.

Learn more: Documentation site · NeNe integration

Features

Scope: MCP sidecar for developers and small teams (Cursor, Claude Desktop, internal staging)—not a customer-facing API gateway. See Commercial use & scope.

Install

Published on Packagist. Pin for reproducible deploys:

Or clone for development:

Cursor / MCP client example (local NeNe app)

Set the absolute path to vendor/bin/nene-mcp and env vars for your environment.

With tool catalog (typical)

Catalog-free (smoke test / Day 0)

Omit NENE_MCP_TOOLS_JSON until tools.json exists. MCP starts with only nene_mcp_about:

Do not set NENE_MCP_TOOLS_JSON to a placeholder path—a missing file fails tools/list entirely.

Without a catalog, MCP still starts and tools/list exposes only nene_mcp_about. See docs/example-ne-health-catalog.md for a minimal NeNe sample when you add HTTP tools.

Environment variables

Variable Meaning
NENE_MCP_API_BASE_URL REST base URL (no trailing slash). Default http://localhost:8080. Overridable via NENE2_LOCAL_API_BASE_URL.
NENE_MCP_TOOLS_JSON Path to NENE2-compatible tool catalog JSON. When omitted, no OpenAPI HTTP tools—only nene_mcp_about. Also accepts NENE2_LOCAL_TOOLS_JSON.
NENE_MCP_BEARER_TOKEN For endpoints that require Bearer (e.g. safety: write). Keep secrets in env only.

Optional (SMB / staging — v0.1.8+):

Variable Meaning
NENE_MCP_HTTP_TIMEOUT_SEC HTTP timeout seconds (1120, default 10)
NENE_MCP_TLS_CA_FILE PEM CA bundle path for https:// base URLs
NENE_MCP_LOG Set to stderr for safe per-request HTTP lines (never stdout)

Full reference: Environment variables.

Composer scripts

Documentation

Document Contents
docs/project.md Purpose, NeNe relationship, architecture
docs/integration/nene.md Composer integration for NeNe
docs/integration/other-platforms.md Other frameworks, vanilla PHP, other languages
docs/README.md Documentation index
AGENTS.md Guide for AI agents

Contributing

Governance follows NENE2-style strict policy—read before opening a PR:

License

MIT — see LICENSE.


All versions of nene-mcp with dependencies

PHP Build Version
Package Version
Requires php Version ^8.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 hideyukimori/nene-mcp contains the following files

Loading the files please wait ...