Skip to content

Commit 382de98

Browse files
authored
fix: VPS-4617 publish server to modelcontexprotocol registry (#10)
1 parent ae51464 commit 382de98

File tree

5 files changed

+37
-7
lines changed

5 files changed

+37
-7
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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "hostinger-api-mcp",
3-
"version": "0.1.18",
3+
"version": "0.1.19",
4+
"mcpName": "io.github.hostinger/api-mcp-server",
45
"description": "MCP server for Hostinger API",
56
"repository": {
67
"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.18",
3425+
version: "0.1.19",
34263426
},
34273427
{
34283428
capabilities: {
@@ -3447,7 +3447,7 @@ class MCPServer {
34473447
});
34483448
}
34493449

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

34523452
return headers;
34533453
}

server.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-10-17/server.schema.json",
3+
"name": "io.github.hostinger/api-mcp-server",
4+
"description": "MCP server for Hostinger API",
5+
"repository": {
6+
"url": "https://github.com/hostinger/api-mcp-server",
7+
"source": "github"
8+
},
9+
"version": "0.1.19",
10+
"packages": [
11+
{
12+
"registryType": "npm",
13+
"identifier": "hostinger-api-mcp",
14+
"version": "0.1.19",
15+
"transport": {
16+
"type": "stdio"
17+
},
18+
"environmentVariables": [
19+
{
20+
"name": "API_TOKEN",
21+
"description": "Hostinger API token",
22+
"isRequired": true,
23+
"isSecret": true,
24+
"format": "string"
25+
}
26+
]
27+
}
28+
]
29+
}

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.18",
3447+
version: "0.1.19",
34483448
},
34493449
{
34503450
capabilities: {
@@ -3469,7 +3469,7 @@ class MCPServer {
34693469
});
34703470
}
34713471

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

34743474
return headers;
34753475
}

0 commit comments

Comments
 (0)