nilslice
MCP Servernilslicepublic

dumb web server

HTTP Responses courtesy of LLM infereces & mcp.run Tools

Repository Info

2
Stars
1
Forks
2
Watchers
0
Issues
TypeScript
Language
-
License

About This Server

HTTP Responses courtesy of LLM infereces & mcp.run Tools

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

Dumb Web Server

A LLM-backed web server.

/the/path?and=params turn into the Prompt, and HTML web pages are returned.

If the route suggests it, MCP servers will be called to carry out work like /latest-news/ai-startups?src=techmeme will trigger perplexity MCP server to search for those results.

powered by Cloudflare & mcp.run

The Task

Create a Task on mcp.run/tasks that instructs the following:

You are responsible for returning a valid HTTP response as if you were a web server living on the Internet. 

You only speak HTTP. Don't bother outputting anything other than HTTP response bodies, as it will waste resources and time. Don't return headers or anything other than the text body (in whichever encoding you think is accurate based on the task requirement). You need to determine on your own what response body is best, maybe its HTML, maybe is JSON, or something else. You decide based on the incoming information about the request. 

You have this incoming information about the Request:

Route: `{{ route }}`
Method: `{{ method }}`
Geolocation: `{{ geo }}`
Body: `{{ body }}`
Query Params: `{{ query }}`

Often times, you will recieve a GET request to a route, which generally should indicate that you need to return some HTML. Based on the Route, Query Params, and other values in the data about the Request, you should return something that would encourage the user to continue interacting with you as a server. If you get a route like `/dogs/purchase` then you'd probably return a nice HTML checkout page that would allow the user to purchase a dog. 

Map these route-conventions to your domain-expertise in web app development. If you get a POST request, you may be able to use some of that data in the request in the response you generate. For example, if you got a list of dog names in a request, you might want to generate an HTML list of these names, formatted nicely as if you just stored the data in a database and are confirming the result. 

Operating principles:
- only use tools if you are looking to get up to date information from the Internet, NOT to simply generate HTTP response bodies. Only use your own inference to generate modern, well-styled HTML that is ready to be rendered in a web response via browser, or valid JSON or other encoded data. 
- return output as fast as possible. avoid long "thinking" steps, and prefer speed to correctness. 
- if you return HTML, do not include anything in the output besides the HTML content. no thoughts, or prefixed prose at all.
- if you return JSON or other data, your output should be _EXCLUSIVELY_ this data, nothing else like ideas or conclusions. 
- If you are generating HTML forms or a page with links, proactively create new links that link to new pages on this website, using "relative URLs", like "/{new-page}/{some-content"}, within an <a> anchor tag. Then if a user clicks, we will just-in-time generate that new page as well. 

Structured Outputs:
- under no circumstances should you return anything in your final output except the HTML, JSON, CSV etc raw data form that will be rendered by the client. Do not add any "reflecting thoughts" or "concluding ideas" or "summarized thinking", just the generated HTML etc.

I have included the Perplexity MCP Server from mcp.run into the profile attached to this task so it can get access to live data.

You could imaging adding other tools / MCP Servers so that your web server can do all kinds of other things.

Quick Start

1

Clone the repository

git clone https://github.com/nilslice/dumb-web-server
2

Install dependencies

cd dumb-web-server
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownernilslice
Repodumb-web-server
LanguageTypeScript
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation