
Company News
AWS Security Hub Adds Socket for Supply Chain Security
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.
@agentguard47/mcp-server
Advanced tools
MCP server for coding-agent traces, alerts, costs, usage, and budget health
MCP (Model Context Protocol) server that connects coding agents to the AgentGuard Read API. It lets agents inspect their own traces, alerts, usage, costs, and saved spend after the local SDK is already in place.
The boundary is deliberate:
npx -y @agentguard47/mcp-server
| Tool | Description |
|---|---|
query_traces | Search recent traces, filter by service/time range |
get_trace | Get the full event tree for a specific trace ID |
get_alerts | Get guard alerts such as loops, budget exceeded, and errors |
get_usage | Check event quota usage and plan limits |
get_costs | Get cost breakdown by model for the current month |
check_budget | Quick pass/fail budget health check |
| Variable | Required | Description |
|---|---|---|
AGENTGUARD_API_KEY | Yes | Bearer token for the Read API (ag_...) |
AGENTGUARD_URL | No | API base URL (defaults to production) |
Add to your Claude Code MCP config:
{
"mcpServers": {
"agentguard": {
"command": "npx",
"args": ["-y", "@agentguard47/mcp-server"],
"env": {
"AGENTGUARD_API_KEY": "ag_your_key_here"
}
}
}
}
Any other MCP-compatible client that can launch an npm package over stdio can use the same command.
npm ci
npm run build
npm start
This repo now includes official MCP registry metadata in
server.json. The npm package is already public, so the
remaining registry work is metadata publication:
mcp-publisher login github
mcp-publisher publish
After that, verify the server is searchable from the MCP Registry API and then
submit it to downstream directories like Glama and awesome-mcp-servers.
src/index.ts - Server entry point, tool registration (stdio transport)src/client.ts - HTTP client wrapping /api/v1/ endpointssrc/tools.ts - 6 MCP tool definitions and handlersFAQs
Read-only MCP server for coding-agent traces, decision events, alerts, costs, usage, and budget health
The npm package @agentguard47/mcp-server receives a total of 41 weekly downloads. As such, @agentguard47/mcp-server popularity was classified as not popular.
We found that @agentguard47/mcp-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.

Research
/Security News
Popular npm packages keyv and cacheable compromised.

Security News
A misconfiguration gave three Anthropic models internet access, and one, believing it was in a simulation, shipped a credential-stealing package to PyPI.