chore: add MCP Registry server.json and gitignore auth tokens

This commit is contained in:
Giancarlo Erra
2026-03-04 18:20:03 +00:00
parent edce09f6d3
commit 3d9cd10392
2 changed files with 81 additions and 0 deletions
+3
View File
@@ -28,5 +28,8 @@ coverage/
.qodo
.claude
# MCP Registry auth tokens
.mcpregistry_*
# Snyk Security Extension - AI Rules (auto-generated)
.github/instructions/snyk_rules.instructions.md
+78
View File
@@ -0,0 +1,78 @@
{
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"name": "io.github.giancarloerra/socraticode",
"description": "MCP server for enterprise local codebase indexing, semantic search, and code dependency graphs.",
"repository": {
"url": "https://github.com/giancarloerra/socraticode",
"source": "github"
},
"version": "1.0.1",
"packages": [
{
"registryType": "npm",
"identifier": "socraticode",
"version": "1.0.1",
"transport": {
"type": "stdio"
},
"environmentVariables": [
{
"name": "EMBEDDING_PROVIDER",
"description": "Embedding provider to use: ollama (default), openai, or google",
"isRequired": false,
"format": "string",
"isSecret": false
},
{
"name": "OPENAI_API_KEY",
"description": "API key for OpenAI embeddings (required only when EMBEDDING_PROVIDER=openai)",
"isRequired": false,
"format": "string",
"isSecret": true
},
{
"name": "GOOGLE_API_KEY",
"description": "API key for Google embeddings (required only when EMBEDDING_PROVIDER=google)",
"isRequired": false,
"format": "string",
"isSecret": true
},
{
"name": "OLLAMA_URL",
"description": "URL of the Ollama server (default: auto-detected; Docker-managed or http://localhost:11434)",
"isRequired": false,
"format": "string",
"isSecret": false
},
{
"name": "EMBEDDING_MODEL",
"description": "Embedding model name (defaults per provider: nomic-embed-text for ollama, text-embedding-3-small for openai, gemini-embedding-001 for google)",
"isRequired": false,
"format": "string",
"isSecret": false
},
{
"name": "QDRANT_MODE",
"description": "Qdrant mode: managed (default, Docker-managed) or external (user-provided instance)",
"isRequired": false,
"format": "string",
"isSecret": false
},
{
"name": "QDRANT_URL",
"description": "Full URL for remote/cloud Qdrant (e.g. https://xyz.cloud.qdrant.io:6333). Only needed when QDRANT_MODE=external",
"isRequired": false,
"format": "string",
"isSecret": false
},
{
"name": "QDRANT_API_KEY",
"description": "API key for remote Qdrant instance. Only needed when QDRANT_MODE=external",
"isRequired": false,
"format": "string",
"isSecret": true
}
]
}
]
}