Skip to content

RyosukeDTomita/mise-mcp-server

Repository files navigation

mise-task-mcp-server

mit license

INDEX


ABOUT

mise task MCP Server.

This is an MCP (Model Context Protocol) server that allows AI assistants to interact with mise tasks. It provides tools to list and execute mise tasks from your projects.


ENVIRONMENT

deno -v
deno 2.4.2

PREPARING

Install Deno

Deno

curl -fsSL https://deno.land/install.sh | sudo DENO_INSTALL=/usr/local sh

Install mise

mise

curl https://mise.jdx.dev/install.sh | sh

HOW TO USE

[!WARN] mise cannot run tasks before mise trust. Before running this MCP Server, You should run command below.

mise trust <your dir>
# list tools
echo '{"jsonrpc": "2.0", "id": 2, "method": "tools/list"}' | deno task dev --dir /home/sigma/mise-mcp-server/mcp-server/test-fixtures;
Task dev deno run --watch --allow-env=HOME --allow-read --allow-write --allow-run main.ts "--dir" "/home/sigma/mise-mcp-server/mcp-server/test-fixtures"
Watcher Process started.
{"result":{"tools":[{"name":"restart-alsa","description":"Restart ALSA to fix the audio output issue"},{"name":"hello","description":"hello test-fixtures/mise.toml"},{"name":"see-you","description":"see you test-fixtures/mise.toml"}]},"jsonrpc":"2.0","id":2}
# use tools
echo '{"jsonrpc": "2.0", "id": 2, "method": "tools/call", "params": {"name": "hello", "arguments": {}}}' | deno task dev --dir /home/sigma/mise-mcp-server/mcp-server/test-fixtures;
Task dev deno run --watch --allow-env=HOME --allow-read --allow-write --allow-run main.ts "--dir" "/home/sigma/mise-mcp-server/mcp-server/test-fixtures"
Watcher Process started.
{"result":{"success":true,"content":[{"type":"text","text":"Hello test-fixtures/mise.toml.\n"}]},"jsonrpc":"2.0","id":2}
Watcher Process finished. Restarting on file change...

FOR DEVELOPER

cd mcp-server/test-fixtures/
mise trust

Commands

cd mcp-server/
deno lint
deno fmt
deno task test

About

mise task mcp server

Topics

Resources

License

Stars

Watchers

Forks