Bugfender Mcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Bugfender Mcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Bugfender's hosted MCP service connects AI clients to Bugfender through remote Streamable HTTP and OAuth:
https://mcp.bugfender.com/mcpThe @bugfender/mcp npm package remains available as a deprecated local stdio fallback for existing and self-hosted installations.
bugfender/bugfender-skillsIn ChatGPT or Codex, install the public Bugfender plugin and connect the included Bugfender app. In any compatible remote MCP client, add https://mcp.bugfender.com/mcp and choose OAuth authentication.
The client discovers the protected resource and Bugfender authorization server, opens the Bugfender sign-in and consent UI, and manages short-lived access and refresh tokens. Hosted users must not manually copy an API token into the connection.
mcp:read grants read-only access to identity, teams, apps, SDK metadata,logs, devices, crashes, issues, feedback, network data, and summaries the signed-in user can already access.
mcp:issues:write grants only update_issue_status. It does not grantgeneral Bugfender administration or other write operations.
Use the client's Bugfender Disconnect action to revoke the hosted grant and its access and refresh tokens. If a client lists the plugin and connection separately, disconnect the connection before uninstalling the plugin. A future tool call must start a new OAuth flow.
The hosted MCP forwards the request bearer token to the Bugfender API and returns data the signed-in user is authorized to access. It does not persist user credentials or expose them in tool results. The MCP client and AI provider may separately process tool inputs and return Bugfender data under their own privacy and retention terms. See Bugfender's Privacy Policy and Terms of Service.
Existing installations and clients without remote OAuth can continue to run:
npx -y @bugfender/mcpDo not use this setup for a new public-cloud connection. Prefer the hosted URL or public plugin instead.
After adding or updating the MCP server in your IDE or agent, restart that client so it reloads the new MCP configuration cleanly.
If you are running from inside this repository checkout, do not use npx @bugfender/mcp or npx -p @bugfender/mcp bugfender-mcp. npm can resolve the current package instead of the published tarball and fail with bugfender-mcp: not found.
For local development, build and run the generated entrypoint directly:
pnpm build
pnpm startBUGFENDER_API_TOKEN: required access tokenBUGFENDER_REFRESH_TOKEN: recommended for automatic token refreshBUGFENDER_API_URL: optional override, defaults to https://dashboard.bugfender.com/api~/.bugfender/mcp.json: optional config file and local token store for rotated credentials{
"default": {
"apiToken": "YOUR_ACCESS_TOKEN",
"refreshToken": "YOUR_REFRESH_TOKEN",
"apiUrl": "https://dashboard.bugfender.com/api"
}
}When a refresh token is provided, the MCP stores rotated credentials in ~/.bugfender/mcp.json so automatic refresh survives restarts. Updating the IDE config with a newly generated refresh token resets that local state.
These credentials and the local token store apply only to the stdio executable. The hosted HTTP executable reads a bearer token from each request and never reads or writes ~/.bugfender/mcp.json.
If you are using local or self-hosted Bugfender credentials, BUGFENDER_API_URL must point to the matching backend. For example, local credentials generated from https://dashboard:3000 will not work against https://dashboard.bugfender.com/api.
{
"mcpServers": {
"bugfender": {
"command": "npx",
"args": ["-y", "@bugfender/mcp"],
"env": {
"BUGFENDER_API_TOKEN": "YOUR_ACCESS_TOKEN",
"BUGFENDER_REFRESH_TOKEN": "YOUR_REFRESH_TOKEN",
"BUGFENDER_API_URL": "https://dashboard.bugfender.com/api"
}
}
}
}codex mcp add bugfender \
--env BUGFENDER_API_TOKEN='YOUR_ACCESS_TOKEN' \
--env BUGFENDER_REFRESH_TOKEN='YOUR_REFRESH_TOKEN' \
--env BUGFENDER_API_URL='https://dashboard.bugfender.com/api' \
-- npx -y @bugfender/mcpAfter running codex mcp add, restart the Codex session before testing who_am_i or list_apps.
gemini mcp add bugfender npx -y @bugfender/mcp \
--env BUGFENDER_API_TOKEN='YOUR_ACCESS_TOKEN' \
--env BUGFENDER_REFRESH_TOKEN='YOUR_REFRESH_TOKEN' \
--env BUGFENDER_API_URL='https://dashboard.bugfender.com/api'After running gemini mcp add, start a new Gemini CLI session or reload MCP servers before testing who_am_i or list_apps.
In the custom MCP server form:
Name: bugfenderCommand to launch: npxArgument 1: -yArgument 2: @bugfender/mcpBUGFENDER_API_TOKEN: YOUR_ACCESS_TOKENBUGFENDER_REFRESH_TOKEN: YOUR_REFRESH_TOKENBUGFENDER_API_URL: https://dashboard.bugfender.com/apiAdd the arguments as separate rows, not as one combined string.
After saving the server, restart the app before testing who_am_i or list_apps.
Build and start the HTTP entry point with:
pnpm build
pnpm start:httpIt exposes:
POST /mcp: stateless MCP Streamable HTTP endpointGET /healthz: liveness checkGET /readyz: readiness checkTLS is terminated by the production ingress. Every /mcp request must include Authorization: Bearer <token>. The process creates an isolated MCP server and Bugfender API client for that request; the token is neither shared nor persisted.
Hosted configuration:
BUGFENDER_API_URL (default https://dashboard.bugfender.com/api)BUGFENDER_MCP_HOST (default 0.0.0.0)BUGFENDER_MCP_PORT (default 3002)BUGFENDER_MCP_MAX_REQUEST_BYTES (default 1048576)BUGFENDER_MCP_MAX_RESPONSE_BYTES (default 524288)BUGFENDER_MCP_MAX_CONCURRENCY (default 100)BUGFENDER_MCP_REQUEST_TIMEOUT_MS (default 35000)BUGFENDER_MCP_SHUTDOWN_TIMEOUT_MS (default 10000)The hosted entry point uses JSON response mode within the Streamable HTTP protocol. It is intentionally stateless, so GET and DELETE on /mcp return 405 Method Not Allowed.
The production container can be built and exercised locally with:
docker build -t bugfender-mcp .
docker run --rm --read-only --tmpfs /tmp:rw,noexec,nosuid,size=16m \
-p 3002:3002 bugfender-mcpThe image runs as UID/GID 10001, writes structured JSON logs to stderr, and exposes Prometheus metrics on GET /metrics for cluster-internal scraping.
Hosted mode publishes OAuth protected-resource metadata at GET /.well-known/oauth-protected-resource. Authentication challenges point clients to that document. Production defaults to resource https://mcp.bugfender.com, issuer https://app.bugfender.com, and API https://app.bugfender.com/api; staging deployments must override BUGFENDER_MCP_RESOURCE_URL and BUGFENDER_OAUTH_ISSUER and BUGFENDER_API_URL with their staging origins. Documentation, privacy, and terms links can be overridden with BUGFENDER_MCP_DOCUMENTATION_URL, BUGFENDER_MCP_PRIVACY_POLICY_URL, and BUGFENDER_MCP_TERMS_URL.
https://mcp.bugfender.com/mcp; the OAuth resource isthe origin https://mcp.bugfender.com without /mcp.
BUGFENDER_API_TOKEN or paste a bearer token into a remote-hosted connection.request different scopes.
update_issue_status requires mcp:issues:write; investigation tools requiremcp:read.
Code with PKCE, and resource indicators. Otherwise, use the deprecated local stdio fallback.
deployments must use local stdio and set BUGFENDER_API_URL to their backend.
who_am_ilist_teamslist_appsget_applist_app_versionsget_sdk_snippetget_crashesget_crash_statsget_crash_device_statsget_crash_detailssearch_logscount_logscount_devices_with_logsget_network_aggregatesget_network_detailssearch_devicescount_deviceslist_issuesget_issueupdate_issue_statusget_issue_statsget_issue_device_statsget_issue_devicesget_feedbackget_app_summarybugfender://snippet/{app_id}/{platform}bugfender://app/{app_id}/logs?...bugfender://issue/{issue_id}?app_id={app_id}The companion skills now live in the separate bugfender/bugfender-skills repository. They encode opinionated workflows on top of the MCP tools:
The MCP package gives the agent raw Bugfender capabilities. The skill adds an opinionated investigation workflow on top of those capabilities.
Use the skill when you want Cursor, Codex, or Claude Code to do things like:
The investigation skill source lives in:
https://github.com/bugfender/bugfender-skills/tree/main/skills/bugfenderThe dedicated onboarding skill also lives in bugfender/bugfender-skills.
Use it when you want Cursor, Codex, or Claude Code to:
It also includes platform-specific references for:
The skill source lives in:
https://github.com/bugfender/bugfender-skills/tree/main/skills/bugfender-sdk-setupCursor, Codex, and Claude Code can install the skills directly from GitHub without cloning the repo manually.
In the agent chat inside your IDE, run this prompt with the built-in installer skill:
Use $skill-installer to install these skills from https://github.com/bugfender/bugfender-skills:
- skills/bugfender
- skills/bugfender-sdk-setupAfter installation, restart the client and use:
Use $bugfender-sdk-setup to set up Bugfender in this app with the minimum required changes.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.