@stophy/mcp 1.2.0 → 1.2.1

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.
Files changed (3) hide show
  1. package/README.md +13 -13
  2. package/dist/index.js +76 -41
  3. package/package.json +35 -37
package/README.md CHANGED
@@ -10,11 +10,11 @@ Web scraping API for AI agents, as an MCP server. One API to search the web, rea
10
10
 
11
11
  Most apps can connect to the hosted server directly. There is nothing to install.
12
12
 
13
- | URL | How you connect | What your agent can use |
14
- | --- | --- | --- |
15
- | `https://api.stophy.dev/mcp` | No key | The endpoints marked `keyless: true` in the [endpoint list](https://api.stophy.dev/v1/endpoints), within a free allowance |
16
- | `https://api.stophy.dev/mcp` | `Authorization: Bearer <key>` header | Every endpoint |
17
- | `https://mcp.stophy.dev/mcp` | Sign in with your browser | Every endpoint |
13
+ | URL | How you connect | What your agent can use |
14
+ | ---------------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------------------------------------- |
15
+ | `https://api.stophy.dev/mcp` | No key | The endpoints marked `keyless: true` in the [endpoint list](https://api.stophy.dev/v1/endpoints), within a free allowance |
16
+ | `https://api.stophy.dev/mcp` | `Authorization: Bearer <key>` header | Every endpoint |
17
+ | `https://mcp.stophy.dev/mcp` | Sign in with your browser | Every endpoint |
18
18
 
19
19
  Get an API key at [stophy.dev/signup](https://stophy.dev/signup).
20
20
 
@@ -104,18 +104,18 @@ To start without a key, leave out `env`.
104
104
 
105
105
  The package needs Node.js 18 or later.
106
106
 
107
- | Variable | What it does |
108
- | --- | --- |
109
- | `STOPHY_API_KEY` | Your Stophy API key. Optional. |
107
+ | Variable | What it does |
108
+ | ---------------- | ---------------------------------------------------------------------- |
109
+ | `STOPHY_API_KEY` | Your Stophy API key. Optional. |
110
110
  | `STOPHY_MCP_URL` | The server to connect to. The default is `https://api.stophy.dev/mcp`. |
111
111
 
112
112
  ## Tools
113
113
 
114
- | Tool | What it does |
115
- | --- | --- |
116
- | `stophy_search_endpoints` | Finds the endpoint for a task, with its cost |
117
- | `stophy_describe_endpoint` | Shows the input an endpoint takes and what it returns |
118
- | `stophy_call` | Runs an endpoint with `id`, `input` and optional `fields`, and returns JSON |
114
+ | Tool | What it does |
115
+ | -------------------------- | --------------------------------------------------------------------------- |
116
+ | `stophy_search_endpoints` | Finds the endpoint for a task, with its cost |
117
+ | `stophy_describe_endpoint` | Shows the input an endpoint takes and what it returns |
118
+ | `stophy_call` | Runs an endpoint with `id`, `input` and optional `fields`, and returns JSON |
119
119
 
120
120
  Your agent usually searches, then describes, then calls. Endpoint ids are camelCase, such as `googleSearch` or `youtubeSearch`. Lists come back as `results`, and `fields` keeps only the keys you name on each row. Each result says how many credits it used.
121
121