Skip to content

Commit 59a8f42

Browse files
committed
Bump version: 0.1.11 → 0.1.12
1 parent 05a5137 commit 59a8f42

File tree

6 files changed

+8
-78
lines changed

6 files changed

+8
-78
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 0.1.11
2+
current_version = 0.1.12
33
commit = True
44
tag = True
55

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,6 @@ ENV HOST=${HOST} \
5454
RUN apt-get update \
5555
&& apt-get install -y curl nano \
5656
&& curl -LsSf https://astral.sh/uv/install.sh | sh \
57-
&& uv pip install --system --upgrade --verbose --no-cache --break-system-packages --prerelease=allow documentdb-mcp[all]>=0.1.11
57+
&& uv pip install --system --upgrade --verbose --no-cache --break-system-packages --prerelease=allow documentdb-mcp[all]>=0.1.12
5858

5959
CMD ["documentdb-mcp"]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
![PyPI - Wheel](https://img.shields.io/pypi/wheel/documentdb-mcp)
2222
![PyPI - Implementation](https://img.shields.io/pypi/implementation/documentdb-mcp)
2323

24-
*Version: 0.1.11*
24+
*Version: 0.1.12*
2525

2626
## Overview
2727

documentdb_mcp/documentdb_agent.py

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
from pydantic_ai.ui import SSE_CONTENT_TYPE
3535
from pydantic_ai.ui.ag_ui import AGUIAdapter
3636

37-
__version__ = "0.1.11"
37+
__version__ = "0.1.12"
3838

3939
logging.basicConfig(
4040
level=logging.INFO,
@@ -380,7 +380,7 @@ def agent_server():
380380

381381
if hasattr(args, "help") and args.help:
382382

383-
usage()
383+
parser.print_help()
384384

385385
sys.exit(0)
386386

@@ -417,28 +417,5 @@ def agent_server():
417417
)
418418

419419

420-
def usage():
421-
print(
422-
f"Documentdb Mcp ({__version__}): CLI Tool\n\n"
423-
"Usage:\n"
424-
"--host [ Host to bind the server to ]\n"
425-
"--port [ Port to bind the server to ]\n"
426-
"--debug [ Debug mode ]\n"
427-
"--reload [ Enable auto-reload ]\n"
428-
"--provider [ LLM Provider ]\n"
429-
"--model-id [ LLM Model ID ]\n"
430-
"--base-url [ LLM Base URL (for OpenAI compatible providers) ]\n"
431-
"--api-key [ LLM API Key ]\n"
432-
"--mcp-url [ MCP Server URL ]\n"
433-
"--mcp-config [ MCP Server Config ]\n"
434-
"--custom-skills-directory [ Directory containing additional custom agent skills ]\n"
435-
"--web [ Enable Pydantic AI Web UI ]\n"
436-
"\n"
437-
"Examples:\n"
438-
" [Simple] documentdb-agent \n"
439-
' [Complex] documentdb-agent --host "value" --port "value" --debug "value" --reload --provider "value" --model-id "value" --base-url "value" --api-key "value" --mcp-url "value" --mcp-config "value" --custom-skills-directory "value" --web\n'
440-
)
441-
442-
443420
if __name__ == "__main__":
444421
agent_server()

documentdb_mcp/documentdb_mcp.py

Lines changed: 2 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
from documentdb_mcp.utils import to_boolean, to_integer
2828
from documentdb_mcp.middlewares import UserTokenMiddleware, JWTClaimsLoggingMiddleware
2929

30-
__version__ = "0.1.11"
30+
__version__ = "0.1.12"
3131

3232
logger = get_logger(name="TokenMiddleware")
3333
logger.setLevel(logging.DEBUG)
@@ -742,7 +742,7 @@ def documentdb_mcp():
742742

743743
if hasattr(args, "help") and args.help:
744744

745-
usage()
745+
parser.print_help()
746746

747747
sys.exit(0)
748748

@@ -1062,52 +1062,5 @@ def documentdb_mcp():
10621062
sys.exit(1)
10631063

10641064

1065-
def usage():
1066-
print(
1067-
f"Documentdb Mcp ({__version__}): DocumentDB MCP Server\n\n"
1068-
"Usage:\n"
1069-
"-t | --transport [ Transport method: 'stdio', 'streamable-http', or 'sse' [legacy] (default: stdio) ]\n"
1070-
"-s | --host [ Host address for HTTP transport (default: 0.0.0.0) ]\n"
1071-
"-p | --port [ Port number for HTTP transport (default: 8000) ]\n"
1072-
"--auth-type [ Authentication type for MCP server: 'none' (disabled), 'static' (internal), 'jwt' (external token verification), 'oauth-proxy', 'oidc-proxy', 'remote-oauth' (external) (default: none) ]\n"
1073-
"--token-jwks-uri [ JWKS URI for JWT verification ]\n"
1074-
"--token-issuer [ Issuer for JWT verification ]\n"
1075-
"--token-audience [ Audience for JWT verification ]\n"
1076-
"--token-algorithm [ JWT signing algorithm (required for HMAC or static key). Auto-detected for JWKS. ]\n"
1077-
"--token-secret [ Shared secret for HMAC (HS*) or PEM public key for static asymmetric verification. ]\n"
1078-
"--token-public-key [ Path to PEM public key file or inline PEM string (for static asymmetric keys). ]\n"
1079-
"--required-scopes [ Comma-separated list of required scopes (e.g., documentdb.read,documentdb.write). ]\n"
1080-
"--oauth-upstream-auth-endpoint [ Upstream authorization endpoint for OAuth Proxy ]\n"
1081-
"--oauth-upstream-token-endpoint [ Upstream token endpoint for OAuth Proxy ]\n"
1082-
"--oauth-upstream-client-id [ Upstream client ID for OAuth Proxy ]\n"
1083-
"--oauth-upstream-client-secret [ Upstream client secret for OAuth Proxy ]\n"
1084-
"--oauth-base-url [ Base URL for OAuth Proxy ]\n"
1085-
"--oidc-config-url [ OIDC configuration URL ]\n"
1086-
"--oidc-client-id [ OIDC client ID ]\n"
1087-
"--oidc-client-secret [ OIDC client secret ]\n"
1088-
"--oidc-base-url [ Base URL for OIDC Proxy ]\n"
1089-
"--remote-auth-servers [ Comma-separated list of authorization servers for Remote OAuth ]\n"
1090-
"--remote-base-url [ Base URL for Remote OAuth ]\n"
1091-
"--allowed-client-redirect-uris [ Comma-separated list of allowed client redirect URIs ]\n"
1092-
"--eunomia-type [ Eunomia authorization type: 'none' (disabled), 'embedded' (built-in), 'remote' (external) (default: none) ]\n"
1093-
"--eunomia-policy-file [ Policy file for embedded Eunomia (default: mcp_policies.json) ]\n"
1094-
"--eunomia-remote-url [ URL for remote Eunomia server ]\n"
1095-
"--enable-delegation [ Enable OIDC token delegation ]\n"
1096-
"--audience [ Audience for the delegated token ]\n"
1097-
"--delegated-scopes [ Scopes for the delegated token (space-separated) ]\n"
1098-
"--openapi-file [ Path to the OpenAPI JSON file to import additional tools from ]\n"
1099-
"--openapi-base-url [ Base URL for the OpenAPI client (overrides instance URL) ]\n"
1100-
"--openapi-use-token [ Use the incoming Bearer token (from MCP request) to authenticate OpenAPI import ]\n"
1101-
"--openapi-username [ Username for basic auth during OpenAPI import ]\n"
1102-
"--openapi-password [ Password for basic auth during OpenAPI import ]\n"
1103-
"--openapi-client-id [ OAuth client ID for OpenAPI import ]\n"
1104-
"--openapi-client-secret [ OAuth client secret for OpenAPI import ]\n"
1105-
"\n"
1106-
"Examples:\n"
1107-
" [Simple] documentdb-mcp \n"
1108-
' [Complex] documentdb-mcp --transport "value" --host "value" --port "value" --auth-type "value" --token-jwks-uri "value" --token-issuer "value" --token-audience "value" --token-algorithm "value" --token-secret "value" --token-public-key "value" --required-scopes "value" --oauth-upstream-auth-endpoint "value" --oauth-upstream-token-endpoint "value" --oauth-upstream-client-id "value" --oauth-upstream-client-secret "value" --oauth-base-url "value" --oidc-config-url "value" --oidc-client-id "value" --oidc-client-secret "value" --oidc-base-url "value" --remote-auth-servers "value" --remote-base-url "value" --allowed-client-redirect-uris "value" --eunomia-type "value" --eunomia-policy-file "value" --eunomia-remote-url "value" --enable-delegation --audience "value" --delegated-scopes "value" --openapi-file "value" --openapi-base-url "value" --openapi-use-token --openapi-username "value" --openapi-password "value" --openapi-client-id "value" --openapi-client-secret "value"\n'
1109-
)
1110-
1111-
11121065
if __name__ == "__main__":
11131066
documentdb_mcp()

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "documentdb-mcp"
7-
version = "0.1.11"
7+
version = "0.1.12"
88
description = "DocumentDB MCP Server & A2A Server. DocumentDB is a MongoDB compatible open source document database built on PostgreSQL."
99
readme = "README.md"
1010
authors = [{ name = "Audel Rouhi", email = "knucklessg1@gmail.com" }]

0 commit comments

Comments
 (0)