Sponsored by Deepsite.site

🍃 Furikake (or furi)

Created By
ashwwwin7 months ago
CLI & API for MCP management and execution
Content

image

🍃 Furikake (or furi)

Furikake is an easy to use, local CLI & API for MCP management and execution.

  • Download MCP servers [from GitHub]
  • Smithery.yaml detection (or auto detects/handles execution)
  • Fully featured CLI [nanospinners, readability]
  • Typescript & Javascript MCP's built in are supported
  • Python based MCP's are a key roadmap item (and will be supported)
  • HTTP API Routes (uses Bun http, stdio to http, clear and standard routes)
  • Customizable port and visibility of sudo routes
  • View all running MCPs + logs for each process
  • Process state management with PM2
  • Built with Bun and Typescript
  • is good with rice

Installation (macOS/Linux)

To install Furikake, you can use the following command:

curl -fsSL https://furi.so/install | bash

Verify the installation by running:

furi

Furikake uses Bun under the hood, the install script will install Bun if it is not already installed.

Upgrade Furikake

To upgrade Furikake to the latest version, run:

furi upgrade

How to use

Manage MCPs

Furikake works with any public github repo as follows:

furi add <author/repo>

eg. furi add smithery-ai/mcp-fetch

You can also rename an MCP by using the rename command, please note this will restart the MCP if it is running.

furi rename <old-name> <new-name>

eg. furi rename smithery-ai/mcp-fetch mcp-fetch

Delete an MCP

furi remove <mcpName>

eg. furi remove mcp-fetch

List installed MCPs

Show all installed MCPs

furi list

Start an MCP

furi start <mcpName> -e '{"name1":"value1", "name2":"value2"}'

-e env is optional and dependant on the MCP server being called

Ensure you pass a valid JSON object to the -e flag.

Once you start a server with the -e flag, it will be saved to the config file and re-used when using the server again.

In order to view the env variables required for an MCP, use:

furi env <mcpName>

You can get a list of all the tools available (with details) of any MCP by using:

furi tools <mcpName>

then you can call the tool with:

Call a tool

furi call <mcpName> <toolName> '{"param1":"value1", "param2":"value2"}'

Parameters must be a valid JSON string enclosed in single quotes

Stop an MCP

furi stop <mcpName>

Restart an MCP

furi restart <mcpName>

Get the status of all running MCPs

This will show you the status of all running MCPs.

furi status

If you want to get the logs a specific MCP, you can use:

furi status <mcpName>

to view more output lines, use -l <lines>

Configuration storage

All installed MCPs, your configuration and logs are stored in the .furikake directory which can be located by running:

furi where

Using the MCP Aggregator

You can use Furikake with any MCP client such as Cursor via the MCP Aggregator.

Furi collects tools from all running MCPs and exposes them through an SSE endpoint that your app or mcp client can subscribe to. The aggregator automatically builds the list of tools from all running MCPs and listens for new tools as MCPs are started and stopped.

For MCP Clients that support SSE

To start the aggregator server:

furi meta start

This will also show you the endpoint your MCP client needs to subscribe to

For MCP Clients that only support stdio

Some MCP clients don't support SSE transport and require stdio connections. For these clients, use:

furi connect

This starts the aggregator server directly in stdio mode, allowing MCP clients to connect via stdin/stdout. The server will aggregate all tools from your running MCPs and make them available through the stdio transport.

Important: This command provides JSON-only output to comply with MCP protocol requirements. All logging is suppressed to ensure clean communication with MCP clients.

Note: Unlike furi meta start, this command runs in the foreground and maintains the connection directly.

You can specify a custom port:

furi meta start -p 9338

If you don't pass a port, it will default to 9338

To stop the aggregator:

furi meta stop

To restart the aggregator (preserving port settings):

furi meta restart

To check the status of the aggregator server:

furi meta status

To view more output lines, use -l <lines>

Using the HTTP API

  • Any MCP that is running, will automatically have an http route.
  • Turning an MCP on/off can only be done via the cli.

To access your MCP's via http, you can turn on the proxy via:

furi http start

In order to pass a port, you can use the http start -p <port> flag.

furi http start -p 9339

If you don't pass a port, it will default to 9339

To turn off the route, you can use:

furi http stop

HTTP API Reference

The Furikake HTTP API is divided into public routes and sudo routes. Public routes are accessible by default, while sudo routes must be explicitly enabled. With sudo routes, you can actively manage packages and instances via the HTTP API.

API Response Format

All API endpoints follow a standardized JSON response format:

  • Success responses:

    {
      "success": true,
      "data": {"The response varies by endpoint"}
    }
    
  • Error responses:

    {
      "success": false,
      "message": "Descriptive error message"
    }
    

HTTP Methods

  • POST - Used only for /mcpName/call/toolName and /mcpName/start endpoints
  • GET - Used for all other endpoints

Public Routes

EndpointMethodDescriptionParametersResponse Format
/listGETList running MCPs?all=true (optional) to show all installed MCPs{"success": true, "data": ["mcpName1", "mcpName2"]}
/toolsGETList all available tools from all running MCPsNone{"success": true, "data": [{"name": "toolName", "description": "Tool description", "inputSchema": {...}, "mcpName": "mcpName"}]}
/<mcpName>/toolsGETList tools for a specific MCPNone{"success": true, "data": [{"name": "toolName", "description": "Tool description", "inputSchema": {...}}]}
/<mcpName>/call/<toolName>POSTCall a tool on an MCPTool parameters as JSON in request body{"success": true, "data": {/* Tool-specific response */}}

Example Usage:

List running MCPs:

curl http://localhost:9339/list

To view all available tools for all online MCPs, you can use:

curl "http://localhost:9339/list"

List tools for all online MCPs:

curl http://localhost:9339/tools

List tools for a specific MCP:

curl http://localhost:9339/<mcpName>/tools

Call a tool:

curl -X POST http://localhost:9339/<mcpName>/call/<toolName> -d '{"data1":"value1", "data2":"value2"}'

Sudo Routes

To enable sudo routes that allow API management of MCPs:

furi http start --sudo
EndpointMethodDescriptionParametersResponse Format
/statusGETGet status of all MCPs (running and stopped)None{"success": true, "data": [{"name": "mcpName", "pid": "12345", "status": "online", "cpu": "0%", "memory": "10MB", "uptime": "2h"}]}
/add/<author>/<repo>GETInstall MCP from GitHubNone{"success": true, "data": {"installed": true, "message": "Successfully installed"}}
/<mcpName>/statusGETGet status of a specific MCP?lines=10 (optional) to control log lines{"success": true, "data": {"name": "mcpName", "pid": "12345", "status": "online", "logs": ["log line 1", "log line 2"]}}
/<mcpName>/restartGETRestart a specific MCPNone{"success": true, "data": {"restarted": true}}
/<mcpName>/startPOSTStart a specific MCPEnvironment variables as JSON in request body{"success": true, "data": {"started": true}}
/<mcpName>/stopGETStop a specific MCPNone{"success": true, "data": {"stopped": true}}
/<mcpName>/renameGETRename a specific MCP?newName=<newName> (required){"success": true, "message": "Renamed from oldName to newName"} or {"success": false, "message": "Error message"}
/<mcpName>/removeGETDelete a specific MCPNone{"success": true, "data": {"removed": true}}
/<mcpName>/envGETGet environment variables for a specific MCPNone{"success": true, "data": {"variables": ["key1", "key2"]}}

Example Usage:

Get status of all MCPs:

curl http://localhost:9339/status

Install an MCP:

curl http://localhost:9339/add/<author>/<repo>

Get status and logs of a specific MCP:

curl "http://localhost:9339/<mcpName>/status?lines=20"

Start an MCP with environment variables:

curl -X POST http://localhost:9339/<mcpName>/start -d '{"API_KEY":"your-api-key-here"}'

Restart an MCP:

curl http://localhost:9339/<mcpName>/restart

Stop an MCP:

curl http://localhost:9339/<mcpName>/stop

Rename an MCP:

curl "http://localhost:9339/<mcpName>/rename?newName=<newName>"

Remove an MCP:

curl http://localhost:9339/<mcpName>/remove

If you face any issues with the HTTP API server, you can use the furi http status to debug.

Closing notes

If you've made it this far, I hope you find Furikake useful and time saving. I built this for fun as a way for me to work with MCP's more hands on. If you wish to contribute, feel free to open an issue or a pull request. I will merge after I check out your changes.

If you think this is a good idea, please star the repo.

Thanks for checking out Furikake.

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
ChatWiseThe second fastest AI chatbot™
Playwright McpPlaywright MCP server
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Serper MCP ServerA Serper MCP Server
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
WindsurfThe new purpose-built IDE to harness magic
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
CursorThe AI Code Editor
Tavily Mcp
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Amap Maps高德地图官方 MCP Server
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
DeepChatYour AI Partner on Desktop
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.