Skip to content

Commit d273015

Browse files
committed
adds server.json for mcp registry
1 parent a148ed3 commit d273015

File tree

4 files changed

+36
-3
lines changed

4 files changed

+36
-3
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,3 +142,5 @@ dist
142142
.svelte-kit
143143

144144
# End of https://www.toptal.com/developers/gitignore/api/node
145+
146+
.mcpregistry_*

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,9 @@ npm install
3737

3838
This is enough to get the MCP working with Claude Desktop (see below)
3939

40-
If you want to develop the MCP and plan to query the MCP from the command line
40+
If you want to develop the MCP and plan to query the MCP from the command line
4141
you will also need to:
4242

43-
4443
3. Set your OpenCage geocoding API key as an environment variable:
4544

4645
```bash

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@opencage/mcp-opencage-server",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "MCP server for OpenCage geocoding API",
55
"author": {
66
"name": "OpenCage GmbH",
@@ -16,6 +16,7 @@
1616
"bin": {
1717
"opencage-mcp-server": "build/index.js"
1818
},
19+
"mcpName": "io.github.OpenCageData/opencage-geocoding-mcp",
1920
"scripts": {
2021
"build": "tsc",
2122
"check-types": "tsc --noEmit",

server.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-07-09/server.schema.json",
3+
"name": "io.github.OpenCageData/opencage-geocoding-mcp",
4+
"description": "MCP server for OpenCage geocoding API",
5+
"status": "active",
6+
"repository": {
7+
"url": "https://github.com/OpenCageData/opencage-geocoding-mcp",
8+
"source": "github"
9+
},
10+
"version": "1.0.0",
11+
"packages": [
12+
{
13+
"registry_type": "npm",
14+
"registry_base_url": "https://registry.npmjs.org",
15+
"identifier": "@opencage/mcp-opencage-server",
16+
"version": "1.0.0",
17+
"transport": {
18+
"type": "stdio"
19+
},
20+
"environment_variables": [
21+
{
22+
"description": "Your API key for the service",
23+
"is_required": true,
24+
"format": "string",
25+
"is_secret": true,
26+
"name": "YOUR_API_KEY"
27+
}
28+
]
29+
}
30+
]
31+
}

0 commit comments

Comments
 (0)