Lark Identity on AgentCore is a reference implementation showing how an agent on Amazon Bedrock AgentCore can carry a user's Lark identity and permissions to downstream MCP tools. It lets agents accessed through Lark chat or an embedded web interface use per-user Lark credentials through a Gateway Request Interceptor, without holding those credentials themselves.
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.
git clone --depth 1 https://github.com/aws-samples/sample-lark-identity-on-agentcore-interceptorWrote 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/mcp/aws-samples/sample-lark-identity-on-agentcore-interceptor/lark-agent-cdk)<a href="https://agentmods.dev/mcp/aws-samples/sample-lark-identity-on-agentcore-interceptor/lark-agent-cdk"><img src="https://agentmods.dev/badge/mcp/aws-samples/sample-lark-identity-on-agentcore-interceptor/lark-agent-cdk/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/mcp/aws-samples/sample-lark-identity-on-agentcore-interceptor/lark-agent-cdk"><img src="https://agentmods.dev/badge/mcp/aws-samples/sample-lark-identity-on-agentcore-interceptor/lark-agent-cdk.svg" alt="Reviewed on agentmods" width="80" height="20"></a>Grade A, and why
lark-agent-cdk 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 8d 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.
The source is not reproduced here
Licensed MIT-0
The repository is licensed MIT-0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.
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.
- 8d ago First seen · 8 lines scan A 8426d2b295fd
lark-agent-cdk is an MCP server published in the GitHub repository aws-samples/sample-lark-identity-on-agentcore-interceptor (1 stars, last pushed 2mo ago), licensed MIT-0. Its token cost is not measured: an MCP server costs its tool schemas, not its config file. 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-08-31.
Other mcp servers, from other repositories
localcore-gateway
Local, faithful-enough reimplementation of AWS Bedrock AgentCore Gateway, with a pluggable local Lambda backend. Runs locally from the localcore-gateway Python package.
simple-websearch-mcp
MCP server "simple-websearch-mcp" as configured in aws-samples/sample-api-for-websearch-on-agentcore. Runs locally from the simple-websearch-mcp Python package.
docs-langchain
MCP server "docs-langchain", hosted remotely at docs.langchain.com, as configured in langchain-ai/langchain.
component-explorer
MCP server "component-explorer" as configured in microsoft/vscode. Launched with npm exec --no -- component-explorer mcp -p ./test/componentFixtures/component-ex.
vscode-automation-mcp
MCP server "vscode-automation-mcp" as configured in microsoft/vscode. Launched with npm run start-stdio.
reference-langchain
MCP server "reference-langchain", hosted remotely at reference.langchain.com, as configured in langchain-ai/langchain.