@openephemeris/mcp-server 3.23.0 → 3.23.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.
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2025-2026 Open Ephemeris
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2025-2026 Open Ephemeris
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/dist/index.js CHANGED
@@ -45,10 +45,17 @@ const server = new Server({
45
45
  tools: {},
46
46
  prompts: {},
47
47
  resources: {},
48
+ // Declare MCP Apps extension (spec: io.modelcontextprotocol/ui, 2026-01-26).
49
+ // Must match the SSE server's capability block so stdio hosts (Claude
50
+ // Desktop) also know this server returns renderable HTML resources.
51
+ // The finalized 2026-01-26 spec places extension capabilities under
52
+ // `extensions`; `experimental` is kept for pre-GA hosts.
53
+ extensions: {
54
+ "io.modelcontextprotocol/ui": {
55
+ mimeTypes: ["text/html;profile=mcp-app"],
56
+ },
57
+ },
48
58
  experimental: {
49
- // Declare MCP Apps extension (spec: io.modelcontextprotocol/ui, 2026-01-26).
50
- // Must match the SSE server's capability block so stdio hosts (Claude
51
- // Desktop) also know this server returns renderable HTML resources.
52
59
  "io.modelcontextprotocol/ui": {
53
60
  mimeTypes: ["text/html;profile=mcp-app"],
54
61
  },
@@ -230,10 +230,17 @@ function createMcpServer(analyticsId = "anonymous") {
230
230
  tools: {},
231
231
  prompts: {},
232
232
  resources: {},
233
+ // Declare MCP Apps extension (spec: io.modelcontextprotocol/ui, 2026-01-26).
234
+ // Advertise the supported UI MIME type so Directory-compliant hosts know
235
+ // this server returns renderable HTML resources. The finalized spec
236
+ // places extension capabilities under `extensions`; `experimental` is
237
+ // kept for pre-GA hosts.
238
+ extensions: {
239
+ "io.modelcontextprotocol/ui": {
240
+ mimeTypes: ["text/html;profile=mcp-app"],
241
+ },
242
+ },
233
243
  experimental: {
234
- // Declare MCP Apps extension (spec: io.modelcontextprotocol/ui, 2026-01-26).
235
- // Advertise the supported UI MIME type so Directory-compliant hosts know
236
- // this server returns renderable HTML resources.
237
244
  "io.modelcontextprotocol/ui": {
238
245
  mimeTypes: ["text/html;profile=mcp-app"],
239
246
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openephemeris/mcp-server",
3
- "version": "3.23.0",
3
+ "version": "3.23.1",
4
4
  "description": "Model Context Protocol server for the Open Ephemeris astronomical computation API",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",