mirror of
https://github.com/dnlbauer/cordra-mcp.git
synced 2026-09-11 06:05:29 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5451883739 | ||
|
|
7d74d8d9af |
@@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "cordra-mcp"
|
name = "cordra-mcp"
|
||||||
version = "1.2.1"
|
version = "1.2.2"
|
||||||
description = "MCP server for Cordra digital object repository"
|
description = "MCP server for Cordra digital object repository"
|
||||||
authors = [
|
authors = [
|
||||||
{name = "Daniel Bauer", email = "github@dbauer.me"},
|
{name = "Daniel Bauer", email = "github@dbauer.me"},
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
"""MCP server for Cordra digital object repository."""
|
"""MCP server for Cordra digital object repository."""
|
||||||
|
|
||||||
__version__ = "1.2.1"
|
__version__ = "1.2.2"
|
||||||
|
|||||||
@@ -33,7 +33,8 @@ logger.setLevel(config.log_level)
|
|||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
- /title:report - Find objects with 'report' in title
|
- /title:report - Find objects with 'report' in title
|
||||||
- /author:smith - Find objects by author Smith
|
- type:Person - Find all Persons. Note that "type" is special and uses no slash "/"
|
||||||
|
- /author/name:Daniel - Find objects with author Daniel as nested property.
|
||||||
- /name:John AND type:Person - Complex queries
|
- /name:John AND type:Person - Complex queries
|
||||||
|
|
||||||
Pagination:
|
Pagination:
|
||||||
@@ -59,9 +60,11 @@ async def search_objects(
|
|||||||
|
|
||||||
Args:
|
Args:
|
||||||
query: The search query string (Lucene/Solr compatible). Examples:
|
query: The search query string (Lucene/Solr compatible). Examples:
|
||||||
- "/title:report" - Find objects with "report" in title
|
- /title:report - Find objects with 'report' in title
|
||||||
- "/author:smith" - Find objects by author Smith
|
- type:Person - Find all Persons. Note that "type" is special and uses no slash "/"
|
||||||
- "/name:John AND type:Person" - Complex queries
|
- /author/name:Daniel - Find objects with author Daniel as nested property.
|
||||||
|
- /name:John AND type:Person - Complex queries
|
||||||
|
|
||||||
type: Optional filter by object type (e.g., "Person", "Document", "Project")
|
type: Optional filter by object type (e.g., "Person", "Document", "Project")
|
||||||
limit: Page size - number of results per page (default: 25)
|
limit: Page size - number of results per page (default: 25)
|
||||||
page_num: Page number to retrieve, 0-based (default: 0 for first page)
|
page_num: Page number to retrieve, 0-based (default: 0 for first page)
|
||||||
@@ -95,7 +98,8 @@ async def search_objects(
|
|||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
- /title:report - Count objects with 'report' in title
|
- /title:report - Count objects with 'report' in title
|
||||||
- /author:smith - Count objects by author Smith
|
- type:Person - Find all Persons. Note that "type" is special and uses no slash "/"
|
||||||
|
- /author/name:Daniel - Find objects with author Daniel as nested property.
|
||||||
- /name:John AND type:Person - Complex queries
|
- /name:John AND type:Person - Complex queries
|
||||||
|
|
||||||
Returns the count of objects as integer.
|
Returns the count of objects as integer.
|
||||||
@@ -109,9 +113,10 @@ async def count_objects(
|
|||||||
|
|
||||||
Args:
|
Args:
|
||||||
query: The search query string (Lucene/Solr compatible). Examples:
|
query: The search query string (Lucene/Solr compatible). Examples:
|
||||||
- "/title:report" - Count objects with "report" in title
|
- /title:report - Find objects with 'report' in title
|
||||||
- "/author:smith" - Count objects by author Smith
|
- type:Person - Find all Persons. Note that "type" is special and uses no slash "/"
|
||||||
- "/name:John AND type:Person" - Complex queries
|
- /author/name:Daniel - Find objects with author Daniel as nested property.
|
||||||
|
- /name:John AND type:Person - Complex queries
|
||||||
type: Optional filter by object type (e.g., "Person", "Document", "Project")
|
type: Optional filter by object type (e.g., "Person", "Document", "Project")
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
|
|||||||
2
uv.lock
generated
2
uv.lock
generated
@@ -113,7 +113,7 @@ wheels = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "cordra-mcp"
|
name = "cordra-mcp"
|
||||||
version = "1.2.1"
|
version = "1.2.2"
|
||||||
source = { editable = "." }
|
source = { editable = "." }
|
||||||
dependencies = [
|
dependencies = [
|
||||||
{ name = "mcp", extra = ["cli"] },
|
{ name = "mcp", extra = ["cli"] },
|
||||||
|
|||||||
Reference in New Issue
Block a user