Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sandbox/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "mcp-server-plaid"
version = "0.1.0"
version = "0.1.1"
description = "Model Context Protocol (MCP) server to build fast integration testing with Plaid Sandbox data."
readme = "README.md"
requires-python = ">=3.11"
Expand All @@ -14,7 +14,7 @@ authors = [
]
dependencies = [
"httpx",
"mcp",
"mcp>=1.6,<2",
"websockets",
"plaid-python"
]
Expand Down
13 changes: 12 additions & 1 deletion sandbox/src/mcp_server_plaid/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import asyncio
import logging
import sys
from importlib.metadata import PackageNotFoundError, version
from typing import Any, Dict, List

import click
Expand All @@ -28,8 +29,18 @@
)
logger = logging.getLogger("plaid-mcp-server")

# Read the version from distribution metadata rather than a literal: the publish
# workflow stamps a generated version into pyproject.toml, which a literal here
# would not track.
try:
__version__ = version("mcp-server-plaid")
except PackageNotFoundError:
logger.warning(
"No mcp-server-plaid distribution metadata found; reporting version as unknown"
)
__version__ = "0.0.0+unknown"

# Constants
__version__ = "0.1.0"
REQUEST_TIMEOUT = 30.0


Expand Down
Loading