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 +4 -0
- package/build/http.js +2 -1
- package/build/tools/index.js +4 -2
- package/package.json +1 -1
- package/server.json +2 -2
package/README.md
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
# Search1API MCP Server
|
|
2
2
|
|
|
3
|
+
[](https://smithery.ai/servers/superagents-lab/search1api-mcp)
|
|
4
|
+
[](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([
|
package/build/tools/index.js
CHANGED
|
@@ -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: [
|
|
7
|
+
scopes: [],
|
|
6
8
|
},
|
|
7
9
|
],
|
|
8
10
|
_meta: {
|
|
9
11
|
securitySchemes: [
|
|
10
12
|
{
|
|
11
13
|
type: "oauth2",
|
|
12
|
-
scopes: [
|
|
14
|
+
scopes: [],
|
|
13
15
|
},
|
|
14
16
|
],
|
|
15
17
|
},
|
package/package.json
CHANGED
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.
|
|
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.
|
|
21
|
+
"version": "0.5.3",
|
|
22
22
|
"transport": {
|
|
23
23
|
"type": "stdio"
|
|
24
24
|
},
|