Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add ihatesea69/kiro-kit --skill mcp-server-hostinggit clone --depth 1 https://github.com/ihatesea69/kiro-kitWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/ihatesea69/kiro-kit/mcp-server-hosting)<a href="https://agentmods.dev/skills/ihatesea69/kiro-kit/mcp-server-hosting"><img src="https://agentmods.dev/badge/skills/ihatesea69/kiro-kit/mcp-server-hosting/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/ihatesea69/kiro-kit/mcp-server-hosting"><img src="https://agentmods.dev/badge/skills/ihatesea69/kiro-kit/mcp-server-hosting.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium MCP Rug Pull · line 122 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00071 | $0.01379 |
| Opus 5.5 | $0.00028 | $0.00552 |
| Sonnet 5.5 | $0.00014 | $0.00276 |
| Haiku 4.5 | $0.00007 | $0.00138 |
Grade A, and why
mcp-server-hosting scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 139 lines — stays where its author put it; the contents beside it link to each section on GitHub.
MCP Server Hosting on AWS
Activate this skill when an MCP server must be reachable by remote agents.
For authoring server logic and tool design see mcp-builder; this skill is
about where it runs and how it is protected.
When to Use
- Promoting a local
stdioMCP server to a remote, multi-tenant service - Choosing between Lambda, Fargate/ECS, and AgentCore Runtime
- Adding OAuth to an MCP server
- Debugging the 401 / token / retry handshake
Transport
Local, co-located servers use stdio. Remote servers use streamable-HTTP.
from mcp.server.fastmcp import FastMCP
mcp = FastMCP(host="0.0.0.0", stateless_http=True)
@mcp.tool()
def search_docs(query: str, limit: int = 5) -> list[dict]:
"""Search internal documentation. Returns title, url, and snippet per hit.
Do not use for customer records — see lookup_customer."""
...
mcp.run(transport="streamable-http")
Client side:
from mcp.client.streamable_http import streamablehttp_client
from mcp import ClientSession
async with streamablehttp_client(url, headers=auth_headers) as (read, write, _):
async with ClientSession(read, write) as session:
await session.initialize()
result = await session.call_tool("search_docs", {"query": "refund policy"})
stateless_http=True matters on Lambda: with per-request containers there is no
reliable place to hold session state between invocations.
Choosing a Host
| Host | Good for | Watch out for |
|---|---|---|
| AgentCore Gateway | The tools are already Lambdas or REST APIs — no server to write at all | See agentcore-gateway-mcp; adopt its auth and listing semantics |
| AgentCore Runtime | A container you own, agent-adjacent | Must serve at 0.0.0.0:8000/mcp, streamable-HTTP |
| Lambda + Function URL | Small, spiky, self-contained servers | Cold starts on a chatty tool loop; response streaming limits; 15-minute ceiling |
| Fargate / ECS | Long-lived, heavy dependencies, steady traffic | You own scaling, patching, and the load balancer — and an ALB rules out Gateway SigV4 outbound auth |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 139 lines · 71 tokens per session scan A e723a1a92d8e
mcp-server-hosting is a skill published in the GitHub repository ihatesea69/kiro-kit (19 stars, last pushed 3mo ago), licensed MIT. It adds 71 tokens to every session and 1,379 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
mcp-server-hosting compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mcp-server-hostingihatesea69/kiro-kit | Skill | 19 | 3mo ago | MIT | A | 71 | Claude Code, Codex |
| author-labelsvercel/vercel | Skill | 17k | today | Apache-2.0 | A | 25 | Claude Code, Codex |
| claw-adminx-cmd/x-cmd | Skill | 4.8k | 8d ago | Apache-2.0 | A | 48 | Claude Code, Codex |
| x-netsx-cmd/x-cmd | Skill | 4.8k | 8d ago | Apache-2.0 | A | 69 | Claude Code, Codex |
| x-themex-cmd/x-cmd | Skill | 4.8k | 8d ago | Apache-2.0 | A | 74 | Claude Code, Codex |
| x-arpx-cmd/x-cmd | Skill | 4.8k | 8d ago | Apache-2.0 | A | 64 | Claude Code, Codex |
| x-osvx-cmd/x-cmd | Skill | 4.8k | 8d ago | Apache-2.0 | A | 72 | Claude Code, Codex |