mcp-crypto-price 3.5.6 → 3.5.7
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/dist/http.js
CHANGED
|
@@ -217,14 +217,12 @@ const httpServer = http.createServer(async (req, res) => {
|
|
|
217
217
|
const parsed = new URL(req.url ?? '/', `http://localhost`);
|
|
218
218
|
const pathname = parsed.pathname;
|
|
219
219
|
// MCP server card for discovery (required by Smithery)
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
// return;
|
|
227
|
-
// }
|
|
220
|
+
if (pathname === '/.well-known/mcp/server-card.json' &&
|
|
221
|
+
req.method === 'GET') {
|
|
222
|
+
res.writeHead(200, { 'Content-Type': 'application/json' });
|
|
223
|
+
res.end(JSON.stringify(serverCard));
|
|
224
|
+
return;
|
|
225
|
+
}
|
|
228
226
|
// Homepage: GET /
|
|
229
227
|
if (pathname === '/' && req.method === 'GET') {
|
|
230
228
|
res.writeHead(200, { 'Content-Type': 'text/html; charset=utf-8' });
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcp-crypto-price",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.7",
|
|
4
4
|
"description": "A Model Context Protocol (MCP) server that provides real-time cryptocurrency data and analysis through CoinCap's API. Features include price tracking, market analysis, and historical trends.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|