search1api-mcp 0.5.2 → 0.5.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/README.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Search1API MCP Server
2
2
 
3
+ [![smithery badge](https://smithery.ai/badge/superagents-lab/search1api-mcp)](https://smithery.ai/servers/superagents-lab/search1api-mcp)
4
+ [![Glama](https://img.shields.io/badge/Glama-listed-6C5CE7)](https://glama.ai/mcp/servers/superagents-lab/search1api-mcp)
5
+
3
6
  [中文文档](./README_zh.md)
4
7
 
5
8
  The official MCP server for [Search1API](https://www.search1api.com/?utm_source=mcp) — web search, news, page retrieval, sitemap discovery, and trending topics in one API.
@@ -187,6 +190,7 @@ Get trending topics from popular platforms.
187
190
 
188
191
  ## Version History
189
192
 
193
+ - v0.5.3: OAuth resource and tool metadata no longer require OIDC session scopes; Smithery and Glama registry badges added
190
194
  - v0.5.2: MCP `Origin` validation now runs before request parsing and authentication; self-hosted HTTP deployments can configure trusted browser origins with `MCP_ALLOWED_ORIGINS`
191
195
  - v0.5.1: Documentation, LobeHub manifest, and MCP Registry metadata synchronized; `robots.txt` served on the transport host
192
196
  - v0.5.0: MCP 2026-07-28 support with automatic protocol negotiation; stateless compatibility for 2025-era HTTP clients; request-level authentication
package/build/http.js CHANGED
@@ -83,11 +83,12 @@ export function createHttpApp(options = {}) {
83
83
  .type("text/plain")
84
84
  .send(["User-agent: *", "Disallow: /", "Allow: /.well-known/", ""].join("\n"));
85
85
  });
86
+ // OIDC scopes such as openid and offline_access belong to the client/AS
87
+ // exchange; this resource does not require any resource-specific scope.
86
88
  const protectedResourceMetadata = {
87
89
  resource: MCP_RESOURCE,
88
90
  authorization_servers: [AUTHORIZATION_SERVER],
89
91
  bearer_methods_supported: ["header"],
90
- scopes_supported: ["openid", "offline_access"],
91
92
  resource_documentation: "https://www.search1api.com/auth.md",
92
93
  };
93
94
  app.get([
@@ -1,15 +1,17 @@
1
1
  const AUTHENTICATED_READ_ONLY_WEB = {
2
+ // Authentication is required, but the API does not enforce a
3
+ // resource-specific OAuth scope for these tools.
2
4
  securitySchemes: [
3
5
  {
4
6
  type: "oauth2",
5
- scopes: ["openid", "offline_access"],
7
+ scopes: [],
6
8
  },
7
9
  ],
8
10
  _meta: {
9
11
  securitySchemes: [
10
12
  {
11
13
  type: "oauth2",
12
- scopes: ["openid", "offline_access"],
14
+ scopes: [],
13
15
  },
14
16
  ],
15
17
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "search1api-mcp",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "mcpName": "io.github.superagents-lab/search1api",
5
5
  "description": "A Model Context Protocol (MCP) server that provides search and crawl functionality using Search1API",
6
6
  "private": false,
package/server.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "url": "https://github.com/superagents-lab/search1api-mcp",
8
8
  "source": "github"
9
9
  },
10
- "version": "0.5.2",
10
+ "version": "0.5.3",
11
11
  "remotes": [
12
12
  {
13
13
  "type": "streamable-http",
@@ -18,7 +18,7 @@
18
18
  {
19
19
  "registryType": "npm",
20
20
  "identifier": "search1api-mcp",
21
- "version": "0.5.2",
21
+ "version": "0.5.3",
22
22
  "transport": {
23
23
  "type": "stdio"
24
24
  },