agentcore-gateway-mcp

agentcore-gateway-mcp is a skill for Claude Code, Codex from ihatesea69/kiro-kit. It costs 58 tokens per session (1,247 once invoked), scanned A, original, MIT.

A guide to Amazon Bedrock AgentCore Gateway, which turns Lambda functions, REST APIs, Smithy APIs, and existing MCP servers into one set of tools that an AI agent can use.

In plain words
What is it for?
Use it to expose existing services to agents, configure authentication between agents and targets, and support semantic discovery when an agent has many available tools.
Why use it?
It avoids building a separate MCP integration for every service and gives agents one tool surface for APIs, functions, knowledge bases, and existing MCP servers.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it to expose existing services to agents, configure authentication between agents and targets, and support semantic discovery when an agent has many available tools.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ihatesea69/kiro-kit/agentcore-gateway-mcp
Install

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.

Any agent
npx skills add ihatesea69/kiro-kit --skill agentcore-gateway-mcp
Clone the repo
git clone --depth 1 https://github.com/ihatesea69/kiro-kit

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for agentcore-gateway-mcp

README.md
[![agentmods](https://agentmods.dev/badge/skills/ihatesea69/kiro-kit/agentcore-gateway-mcp.svg)](https://agentmods.dev/skills/ihatesea69/kiro-kit/agentcore-gateway-mcp)
Your own site
<a href="https://agentmods.dev/skills/ihatesea69/kiro-kit/agentcore-gateway-mcp"><img src="https://agentmods.dev/badge/skills/ihatesea69/kiro-kit/agentcore-gateway-mcp.svg" alt="Measured on agentmods" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,247 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00058 $0.01247
Opus 5 $0.00029 $0.00624
Sonnet 5 $0.00012 $0.00249
Haiku 4.5 $0.00006 $0.00125

Measured 3d ago against content hash 62f16f7d3156, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

agentcore-gateway-mcp 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 3d 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.

presets/ai-engineer/skills/agentcore-gateway-mcp/SKILL.md · 136 lines

How it starts

The opening of the file, as written. The whole thing — 136 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AgentCore Gateway (MCP)

Activate this skill when an agent needs tools and you do not want to hand-roll an MCP server per integration.

When to Use

  • Exposing existing Lambda functions or REST APIs to an agent as MCP tools
  • Fronting an MCP server you already run
  • Choosing inbound (agent → Gateway) or outbound (Gateway → target) auth
  • Scaling past a few dozen tools without blowing up the context window

What It Does

Gateway converts APIs, Lambda functions, and existing services into MCP-compatible tools, and connects to pre-existing MCP servers, exposing all of them to agents through Gateway endpoints. The result is one tool surface unifying MCP servers, knowledge bases, internal APIs, and Lambda functions.

Pricing: $0.005 per 1,000 API invocations, plus $0.02 per 100 tools indexed per month.

Target Types

Target Source of truth Good for
Lambda Function ARN + a tool schema you supply Bespoke logic, private data access
OpenAPI An OpenAPI 3 document Existing REST services
Smithy A Smithy model AWS-service-shaped APIs
MCP server A remote MCP endpoint Servers you or a vendor already run

Lambda target sketch:

import boto3
agentcore = boto3.client("bedrock-agentcore-control")

agentcore.create_gateway_target(
    gatewayIdentifier=gateway_id,
    name="order-lookup",
    targetConfiguration={"mcp": {"lambda": {
        "lambdaArn": "arn:aws:lambda:us-east-1:123456789012:function:order-lookup",
        "toolSchema": {"inlinePayload": [{
            "name": "lookup_order",
            "description": (
                "Return status, items, and delivery estimate for a customer order. "
                "Do not use for refunds or cancellations — see process_refund."
            ),
            "inputSchema": {"type": "object",
                            "properties": {"order_id": {"type": "string"}},
                            "required": ["order_id"]},
        }]},
    }}},
    credentialProviderConfigurations=[{"credentialProviderType": "GATEWAY_IAM_ROLE"}],
)

Read the full file on GitHub · 136 lines

Changes

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.

  1. 3d ago First seen · 136 lines · 58 tokens per session scan A 62f16f7d3156

Subscribe to this mod's changes

agentcore-gateway-mcp is a skill published in the GitHub repository ihatesea69/kiro-kit (18 stars, last pushed 18d ago), licensed MIT. It adds 58 tokens to every session and 1,247 once invoked, about $0.0003 per session on Opus 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.

Related

Other skills, from other repositories

printing-press-amend

Amend a published CLI from one of two input sources: (1) dogfood mode mines the active Claude Code session transcript for friction (missing flags, hand- rolled API payloads, silent-null returns); (2) direct-input mode accepts user-supplied asks (rename a command, add commands or feeds, fix a named bug, optionally…

mvanhorn/cli-printing-press · 222 tokens

opensrc

Fetch dependency source code to give AI agents deeper implementation context. Use when the agent needs to understand how a library works internally, read source code for a package, fetch implementation details for a dependency, or explore how an npm/PyPI/crates.io package is built. Triggers include "fetch source for"…

vercel-labs/opensrc · 103 tokens

argot-suggest-rules

Turn a convention argot has already discovered into a scripted custom rule. Runs argot conventions, surfaces the repo's mined placement conventions (where a kind of code lives — "validation in schema files", "DB access only in migrations", "business logic in the service layer, not views") and internal-API vocabulary…

get-tmonier/argot · 173 tokens

gas-execution

Guidelines for writing and executing Google Apps Script code using ggsrun and finding documentation via workspace-developer. Use when developing or running GAS applications.

tanaikech/ggsrun · 34 tokens

binance-spot-openapi-skill

Operate Binance Spot market, account, and order APIs through UXC with a curated OpenAPI schema, Binance query signing, and separate mainnet/testnet link flows.

holon-run/uxc · 42 tokens

feishu-openapi-skill

Operate Feishu or Lark IM APIs through UXC with a curated OpenAPI schema, tenant-token bearer auth, and chat/message guardrails.

holon-run/uxc · 36 tokens