govconapi-mcp 0.2.2__tar.gz → 0.2.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (22) hide show
  1. {govconapi_mcp-0.2.2 → govconapi_mcp-0.2.3}/PKG-INFO +1 -1
  2. {govconapi_mcp-0.2.2 → govconapi_mcp-0.2.3}/govconapi_mcp/core.py +11 -1
  3. {govconapi_mcp-0.2.2 → govconapi_mcp-0.2.3}/pyproject.toml +1 -1
  4. {govconapi_mcp-0.2.2 → govconapi_mcp-0.2.3}/server.json +2 -2
  5. {govconapi_mcp-0.2.2 → govconapi_mcp-0.2.3}/.gitignore +0 -0
  6. {govconapi_mcp-0.2.2 → govconapi_mcp-0.2.3}/Dockerfile +0 -0
  7. {govconapi_mcp-0.2.2 → govconapi_mcp-0.2.3}/LICENSE +0 -0
  8. {govconapi_mcp-0.2.2 → govconapi_mcp-0.2.3}/README.md +0 -0
  9. {govconapi_mcp-0.2.2 → govconapi_mcp-0.2.3}/TOOLS.md +0 -0
  10. {govconapi_mcp-0.2.2 → govconapi_mcp-0.2.3}/glama.json +0 -0
  11. {govconapi_mcp-0.2.2 → govconapi_mcp-0.2.3}/govconapi_mcp/__init__.py +0 -0
  12. {govconapi_mcp-0.2.2 → govconapi_mcp-0.2.3}/govconapi_mcp/server.py +0 -0
  13. {govconapi_mcp-0.2.2 → govconapi_mcp-0.2.3}/govconapi_mcp/tools/__init__.py +0 -0
  14. {govconapi_mcp-0.2.2 → govconapi_mcp-0.2.3}/govconapi_mcp/tools/agencies.py +0 -0
  15. {govconapi_mcp-0.2.2 → govconapi_mcp-0.2.3}/govconapi_mcp/tools/award_compliance.py +0 -0
  16. {govconapi_mcp-0.2.2 → govconapi_mcp-0.2.3}/govconapi_mcp/tools/awards.py +0 -0
  17. {govconapi_mcp-0.2.2 → govconapi_mcp-0.2.3}/govconapi_mcp/tools/bid_negotiate.py +0 -0
  18. {govconapi_mcp-0.2.2 → govconapi_mcp-0.2.3}/govconapi_mcp/tools/capture_teaming.py +0 -0
  19. {govconapi_mcp-0.2.2 → govconapi_mcp-0.2.3}/govconapi_mcp/tools/exclusions.py +0 -0
  20. {govconapi_mcp-0.2.2 → govconapi_mcp-0.2.3}/govconapi_mcp/tools/identifiers.py +0 -0
  21. {govconapi_mcp-0.2.2 → govconapi_mcp-0.2.3}/govconapi_mcp/tools/market_research.py +0 -0
  22. {govconapi_mcp-0.2.2 → govconapi_mcp-0.2.3}/govconapi_mcp/tools/opportunities.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: govconapi-mcp
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: MCP server for GovCon API: 53 tools spanning the federal contracting lifecycle (market research, opportunity discovery, capture and teaming, bid and proposal, award and compliance) for Claude Desktop, Claude Code, Cursor, Zed, or any local MCP client.
5
5
  Project-URL: Homepage, https://govconapi.com
6
6
  Project-URL: Documentation, https://govconapi.com/api-guide
@@ -10,6 +10,7 @@ the *definitions* are split across files by stage, not jammed into one file.
10
10
  from __future__ import annotations
11
11
 
12
12
  import os
13
+ from importlib.metadata import PackageNotFoundError, version as _installed_version
13
14
 
14
15
  import httpx
15
16
  from mcp.server.fastmcp import FastMCP
@@ -17,7 +18,16 @@ from mcp.server.fastmcp import FastMCP
17
18
  BASE_URL = os.environ.get("GOVCONAPI_BASE", "https://govconapi.com")
18
19
  API_KEY = os.environ.get("GOVCONAPI_KEY")
19
20
  TIMEOUT = 30.0
20
- USER_AGENT = "govconapi-mcp/0.2.0"
21
+
22
+ # Read the version from installed package metadata rather than repeating it here.
23
+ # A hardcoded string silently drifts: it still said 0.2.0 at the 0.2.2 release, so
24
+ # usage logs mislabelled the client and under-reported which build callers ran.
25
+ # `unknown` only when running from a source tree that was never installed.
26
+ try:
27
+ _VERSION = _installed_version("govconapi-mcp")
28
+ except PackageNotFoundError: # pragma: no cover - source checkout, not an install
29
+ _VERSION = "unknown"
30
+ USER_AGENT = f"govconapi-mcp/{_VERSION}"
21
31
 
22
32
  mcp = FastMCP("govconapi")
23
33
 
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "govconapi-mcp"
7
- version = "0.2.2"
7
+ version = "0.2.3"
8
8
  description = "MCP server for GovCon API: 53 tools spanning the federal contracting lifecycle (market research, opportunity discovery, capture and teaming, bid and proposal, award and compliance) for Claude Desktop, Claude Code, Cursor, Zed, or any local MCP client."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -8,12 +8,12 @@
8
8
  "source": "github"
9
9
  },
10
10
  "websiteUrl": "https://govconapi.com/mcp",
11
- "version": "0.2.2",
11
+ "version": "0.2.3",
12
12
  "packages": [
13
13
  {
14
14
  "registryType": "pypi",
15
15
  "identifier": "govconapi-mcp",
16
- "version": "0.2.2",
16
+ "version": "0.2.3",
17
17
  "transport": {
18
18
  "type": "stdio"
19
19
  },
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes