fix: update project name to 'cordra-mcp' in configuration files

This commit is contained in:
Daniel Bauer
2025-06-30 11:46:02 +02:00
parent 9901f51f06
commit addfea8698
7 changed files with 6 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
[project]
name = "mcp-cordra"
name = "cordra-mcp"
version = "0.1.0"
description = "MCP server for Cordra digital object repository"
authors = [
@@ -26,7 +26,7 @@ dev = [
]
[project.scripts]
mcp-cordra = "mcp_cordra.server:main"
cordra-mcp = "mcp_cordra.server:main"
[build-system]
requires = ["hatchling"]

View File

@@ -16,7 +16,7 @@ from .client import (
from .config import CordraConfig
# Initialize the MCP server
mcp = FastMCP("mcp-cordra")
mcp = FastMCP("cordra-mcp")
# Initialize Cordra client at startup
config = CordraConfig()
@@ -87,8 +87,10 @@ async def register_schema_resources() -> None:
continue
logger.info(f"Registering schema resource for cordra type {schema_name}")
async def schema_fn(name: str = schema_name) -> str:
return await create_schema_resource(name)
mcp.add_resource(
FunctionResource.from_function(
uri=f"cordra://schemas/{schema_name}",

2
uv.lock generated
View File

@@ -314,7 +314,7 @@ cli = [
]
[[package]]
name = "mcp-cordra"
name = "cordra-mcp"
version = "0.1.0"
source = { editable = "." }
dependencies = [