@flytrap-qa/mcp 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flytrap-qa/mcp",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "MCP server that lets your coding agent read FlyTrap crawl results: bugs with evidence, screen graphs, network hosts, SDKs and build diffs for your own apps.",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/src/client.js CHANGED
@@ -16,7 +16,7 @@ const hintFor = (status, hasKey) => {
16
16
  ? 'The key was rejected. It may be revoked or expired; create a new one under Settings > API keys.'
17
17
  : 'This tool needs FLYTRAP_API_KEY. Create a key in the FlyTrap dashboard under Settings > API keys.'
18
18
  if (status === 403)
19
- return 'The key does not have the scope for this action. start_crawl needs a key created with the "crawl" scope.'
19
+ return 'The key does not have the scope for this action. start_crawl, add_competitor and remove_competitor need a key created with the "crawl" scope.'
20
20
  if (status === 404)
21
21
  return 'Not found, or the key owner has no access to this project.'
22
22
  if (status === 429)
package/src/index.js CHANGED
@@ -13,7 +13,7 @@ const INSTRUCTIONS = `FlyTrap crawls real Android and iOS builds on devices and
13
13
  screenshots and logs, network traffic, SDKs and permissions, performance. Public catalog tools (lookup_app,
14
14
  get_app_profile, lookup_sdk, lookup_permission) need no key. Project tools need FLYTRAP_API_KEY and only see the
15
15
  key owner's projects. Typical flow: list_projects -> list_bugs -> get_bug_evidence (cite run.crawl_run_id and the
16
- screenshot path). start_crawl is the only mutating tool; ask the user before calling it.`
16
+ screenshot path). start_crawl, add_competitor and remove_competitor are the only mutating tools; ask the user before calling them.`
17
17
 
18
18
  export const createServer = ({config, fetchImpl} = {}) => {
19
19
  const resolved = config ?? loadConfig()