Urgent.News

What's breaking now, across thousands of outlets.

Tech

Flisk MCP Resources: Give Your Agents Tools That Run Next to Your Services

Agents are only as useful as the tools they can call. An mcp resource in Flisk is a Model Context Protocol server that runs in the same local stack as your services. Docker builds it, flisk up starts it, Traefik routes to it, and its health route gates startup order. What you get flisk resource docs-mcp --type mcp --stack shop flisk up shop The scaffold writes a service.json with appType: "mcp" ,…

Flisk MCP Resources provide agents with tools that operate alongside services in a single local stack. This MCP (Model Context Protocol) server is Docker-built, launched by flisk up, and routed to via Traefik. Its health check is accessible at /health. The server skeleton, created through the flisk scaffold command, generates a service.json with an appType of "mcp," a random port between 4000 and 5999, and /health as the health check path.

The server source, built on the MCP TypeScript SDK with Streamable HTTP transport, includes a placeholder tool named "echo." The three API routes are POST /mcp for client requests, GET /mcp to return a 405 status with Allow: POST, and GET /health to provide a JSON status. Traefik routes the server with its name prefix removed. To check the server's status, make a raw JSON-RPC call using curl.

The scaffold does not support authentication; thus, it is intended for local development behind an *.localhost domain. Tools are added in buildServer() using the SDK's registerTool function, with arguments validated through zod schemas to prevent crashes if invalid arguments are used. The scaffold does not protect against unauthorized access or destructive tools, so developers must implement security measures and limit tool capabilities to protect production data.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Flisk's Agent Resource: Durable Agents With Sessions You Can Restart

An agent is a process that holds a conversation. Restart the process and the conversation can disappear, unless something saves it. Flisk's agent resource type is built for that case.

  • Flisk offers durable agents with session-aware conversations
  • Conversation preserved through durable checkpoints during restarts
  • Traefik routing by session ensures separate concurrent conversations

Apps that block YouTube Shorts on iPhone without affecting normal videos (comparison 2026)

In the YouTube app, it is impossible to completely cut off Shorts with an adult account. The setting that comes closest to this is the Shorts feed limit, which you can set to 0 minutes, but once the…

  • YouTube Shorts cannot be completely removed on adult accounts.
  • Short limit set to zero minutes is the closest setting.
  • Apps are needed to hide Shorts while keeping normal videos.

Flisk as a Control Plane: Let Your Coding Assistant Run the Whole Local Stack

The mcp resource puts an agent's tools inside your stack. The flisk mcp command does the reverse: it lets an assistant control the stack.

  • Flisk MCP enables coding assistants to control local development stack
  • Assistant can check status, start services, read statuses, fetch logs
  • Restrict assistant access to sensitive operations like volume deletion

Running a Python or LangGraph Agent as a Flisk Worker, With Dependencies Declared

Not every agent answers HTTP requests. Some work through a queue: they pick up a task, call a model, write a result, and wait for the next one. Flisk's worker resource type fits that shape.

  • Worker agents differ from HTTP-response agents, using a queue system for task execution.
  • Flisk worker resource requires Postgres and NATS services as dependencies, declared in service.json.
  • Worker must be idempotent, logging task execution with unique IDs and enforcing a retry limit.

More from Saturday 24 October →