Skip to content

Commit 76937ca

Browse files
Merge pull request #76 from codacy/add-publish-config
feat: add config to publish to MCP registry
2 parents 41b2cf0 + 12e5c27 commit 76937ca

3 files changed

Lines changed: 36 additions & 0 deletions

File tree

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ coverage/
6262
tmp/
6363
temp/
6464

65+
# MCP Registry
66+
.mcpregistry_registry_token
67+
.mcpregistry_github_token
68+
6569
#Ignore vscode AI rules
6670
.github/copilot-instructions.md
6771

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "@codacy/codacy-mcp",
33
"version": "0.0.1",
4+
"mcpName": "io.github.codacy/codacy-mcp-server",
45
"description": "Codacy MCP server",
56
"license": "MIT",
67
"author": "Codacy",

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": "@codacy/codacy-mcp",
4+
"description": "Codacy MCP server",
5+
"status": "active",
6+
"repository": {
7+
"url": "https://github.com/codacy/codacy-mcp-server",
8+
"source": "github"
9+
},
10+
"version": "0.0.1",
11+
"packages": [
12+
{
13+
"registry_type": "npm",
14+
"registry_base_url": "https://registry.npmjs.org",
15+
"identifier": "@codacy/codacy-mcp",
16+
"version": "0.0.1",
17+
"transport": {
18+
"type": "stdio"
19+
},
20+
"environment_variables": [
21+
{
22+
"description": "Codacy Account Token",
23+
"required": false,
24+
"format": "string",
25+
"is_secret": true,
26+
"name": "CODACY_ACCOUNT_TOKEN"
27+
}
28+
]
29+
}
30+
]
31+
}

0 commit comments

Comments
 (0)