python-mcp-test 0.1.1__py3-none-any.whl → 0.1.4__py3-none-any.whl

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.
@@ -0,0 +1 @@
1
+ # Empty __init__.py file to make this a Python package
@@ -24,7 +24,7 @@ def getTask(taskID: str) -> str:
24
24
  """ This tool is capable of retreieving the task details for a specific task ID and return it to the user"""
25
25
 
26
26
  # Get the API token from environment variables
27
- api_token = os.getenv("CLICKUP_API_TOKEN")
27
+ api_token = os.getenv("CLICKUP_API_KEY")
28
28
 
29
29
  if not api_token:
30
30
  return "Error: CLICKUP_API_TOKEN environment variable not set"
@@ -0,0 +1,64 @@
1
+ Metadata-Version: 2.4
2
+ Name: python-mcp-test
3
+ Version: 0.1.4
4
+ Summary: Add your description here
5
+ Requires-Python: >=3.11
6
+ Description-Content-Type: text/markdown
7
+ Requires-Dist: mcp[cli]>=1.10.1
8
+ Requires-Dist: requests>=2.32.4
9
+ Requires-Dist: python-dotenv>=1.0.0
10
+
11
+ # Python MCP Test Server
12
+
13
+ A Model Context Protocol (MCP) server with ClickUp integration.
14
+
15
+ ## Features
16
+
17
+ - **add**: Add two numbers together
18
+ - **getTask**: Retrieve task information from ClickUp API
19
+
20
+ ## Setup
21
+
22
+ ### 1. Install Dependencies
23
+
24
+ ```bash
25
+ uv sync
26
+ ```
27
+
28
+ ### 2. Environment Variables
29
+
30
+ 1. Copy the example environment file:
31
+ ```bash
32
+ copy .env.example .env
33
+ ```
34
+
35
+ 2. Edit `.env` and add your ClickUp API token:
36
+ ```
37
+ CLICKUP_API_TOKEN=pk_your_actual_clickup_token_here
38
+ ```
39
+
40
+ ### 3. Getting Your ClickUp API Token
41
+
42
+ 1. Go to your ClickUp settings
43
+ 2. Navigate to "Apps" section
44
+ 3. Generate a new API token
45
+ 4. Copy the token that starts with `pk_`
46
+
47
+ ## Running the Server
48
+
49
+ ```bash
50
+ python main.py
51
+ ```
52
+
53
+ ## Security Notes
54
+
55
+ - Never commit your `.env` file to version control
56
+ - The `.env` file is already added to `.gitignore`
57
+ - Share the `.env.example` file with team members as a template
58
+ - In production, set environment variables through your deployment platform
59
+
60
+ ## Usage
61
+
62
+ The server exposes two tools:
63
+ - `add(a: int, b: int)` - Adds two numbers
64
+ - `getTask(taskID: str)` - Retrieves ClickUp task information
@@ -0,0 +1,7 @@
1
+ python_mcp_test/__init__.py,sha256=2R-fVi7oABoTTzJ3E39k8hZfm1rF4Q9X9gIXVJh_tsI,56
2
+ python_mcp_test/server.py,sha256=556MuwQlaLJhONl4XbKFcWncDFEVpmxQV9WsUTXEK6c,1178
3
+ python_mcp_test-0.1.4.dist-info/METADATA,sha256=KRR0vkJdskWPwARCMlh2Asagy1vakRnJVbvhb7rFd6E,1440
4
+ python_mcp_test-0.1.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
5
+ python_mcp_test-0.1.4.dist-info/entry_points.txt,sha256=bLlgGucBpJfNdbBVo9EqImp1wEkmhlL2tqG8hC5NTC4,64
6
+ python_mcp_test-0.1.4.dist-info/top_level.txt,sha256=mTam0zbOY5U9vAEmWo6Ekb17BS-tnN44W9ulZxANDWA,16
7
+ python_mcp_test-0.1.4.dist-info/RECORD,,
@@ -0,0 +1 @@
1
+ python_mcp_test
@@ -1,9 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: python-mcp-test
3
- Version: 0.1.1
4
- Summary: Add your description here
5
- Requires-Python: >=3.11
6
- Description-Content-Type: text/markdown
7
- Requires-Dist: mcp[cli]>=1.10.1
8
- Requires-Dist: requests>=2.32.4
9
- Requires-Dist: python-dotenv>=1.0.0
@@ -1,6 +0,0 @@
1
- server.py,sha256=FqHQ6qUDGdFvDdJIGYQYwtVSoV8N8NcoHqGqC_oQCEw,1180
2
- python_mcp_test-0.1.1.dist-info/METADATA,sha256=-s9i2cvmEfYZ-J3i__L-bEuKDJviCTyRSiI9RUa1DZY,267
3
- python_mcp_test-0.1.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
4
- python_mcp_test-0.1.1.dist-info/entry_points.txt,sha256=bLlgGucBpJfNdbBVo9EqImp1wEkmhlL2tqG8hC5NTC4,64
5
- python_mcp_test-0.1.1.dist-info/top_level.txt,sha256=StKOSmRhvWS5IPcvhsDRbtxUTEofJgYFGOu5AAJdSWo,7
6
- python_mcp_test-0.1.1.dist-info/RECORD,,
@@ -1 +0,0 @@
1
- server