MCP ExplorerExplorer

Flow Mcp

@nnhkrnkon 10 months ago
1 MIT
FreeCommunity
AI Systems
flow-mcp sets up an MCP server using Flow framework with PHP.

Overview

What is Flow Mcp

flow-mcp is a server framework designed to facilitate the development and management of applications using the Flow framework. It provides a structured environment for building web applications with PHP.

Use cases

Use cases for flow-mcp include developing RESTful APIs, creating dynamic web applications, and managing backend services for mobile applications.

How to use

To use flow-mcp, create a ‘Settings.file’ in the ‘Configration/’ directory with the necessary configurations. Then, run ‘composer install’ to install dependencies, followed by ‘./flow server:run’ to start the MCP server. You can verify the server is running by sending a GET request to ‘http://localhost:8081/sse’.

Key features

Key features of flow-mcp include MVC architecture support, easy configuration management, built-in server capabilities, and seamless integration with PHP applications.

Where to use

flow-mcp can be used in various fields such as web application development, API development, and any project that requires a robust PHP framework for managing server-side logic.

Content

環境構築

Configration/Settings.fileを作成

Neos:
  Flow:
    mvc:
      routes:
        'Neos.Flow': TRUE
    core:
      phpBinaryPathAndFilename: 'C:/PHPファイルまでのパス/php.exe'

composer install

$ composer install

MCPサーバを立てる

$ ./flow server:run

動作確認

$ curl -i -X GET 'http://localhost:8081/sse'
HTTP/1.1 200 OK
Host: localhost:8081
Date: Sat, 31 May 2025 17:58:33 GMT
Connection: close
X-Powered-By: PHP/8.2.17
Content-Type: application/json
X-Flow-Powered: Flow/8.3
Content-Length: 49

{"status":"OK","message":"MCP server is running"}

Functional Testing

$ .\bin\phpunit -c .\Build\BuildEssentials\PhpUnit\FunctionalTests.xml .\Packages\Application\NNHKRNK.MCP\Tests\Functional --debug

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers