Skip to content

Commit 5f02aeb

Browse files
authored
fix: VPS-4617 using server name instead of repo name (#12)
1 parent 213eb2c commit 5f02aeb

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "hostinger-api-mcp",
3-
"version": "0.1.19",
4-
"mcpName": "io.github.hostinger/api-mcp-server",
3+
"version": "0.1.20",
4+
"mcpName": "io.github.hostinger/hostinger-api-mcp",
55
"description": "MCP server for Hostinger API",
66
"repository": {
77
"type": "git",

server.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3422,7 +3422,7 @@ class MCPServer {
34223422
this.server = new Server(
34233423
{
34243424
name: "hostinger-api-mcp",
3425-
version: "0.1.19",
3425+
version: "0.1.20",
34263426
},
34273427
{
34283428
capabilities: {
@@ -3447,7 +3447,7 @@ class MCPServer {
34473447
});
34483448
}
34493449

3450-
headers['User-Agent'] = 'hostinger-mcp-server/0.1.19';
3450+
headers['User-Agent'] = 'hostinger-mcp-server/0.1.20';
34513451

34523452
return headers;
34533453
}

server.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
22
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-10-17/server.schema.json",
3-
"name": "io.github.hostinger/api-mcp-server",
3+
"name": "io.github.hostinger/hostinger-api-mcp",
44
"description": "MCP server for Hostinger API",
55
"repository": {
66
"url": "https://github.com/hostinger/api-mcp-server",
77
"source": "github"
88
},
9-
"version": "0.1.19",
9+
"version": "0.1.20",
1010
"packages": [
1111
{
1212
"registryType": "npm",
1313
"identifier": "hostinger-api-mcp",
14-
"version": "0.1.19",
14+
"version": "0.1.20",
1515
"transport": {
1616
"type": "stdio"
1717
},

server.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3444,7 +3444,7 @@ class MCPServer {
34443444
this.server = new Server(
34453445
{
34463446
name: "hostinger-api-mcp",
3447-
version: "0.1.19",
3447+
version: "0.1.20",
34483448
},
34493449
{
34503450
capabilities: {
@@ -3469,7 +3469,7 @@ class MCPServer {
34693469
});
34703470
}
34713471

3472-
headers['User-Agent'] = 'hostinger-mcp-server/0.1.19';
3472+
headers['User-Agent'] = 'hostinger-mcp-server/0.1.20';
34733473

34743474
return headers;
34753475
}

0 commit comments

Comments
 (0)