contextlayer-mcp-server 0.1.4__tar.gz → 0.1.6__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 (17) hide show
  1. contextlayer_mcp_server-0.1.6/PKG-INFO +131 -0
  2. contextlayer_mcp_server-0.1.6/README.md +122 -0
  3. contextlayer_mcp_server-0.1.6/contextlayer_mcp_server.egg-info/PKG-INFO +131 -0
  4. {contextlayer_mcp_server-0.1.4 → contextlayer_mcp_server-0.1.6}/contextlayer_mcp_server.egg-info/SOURCES.txt +1 -0
  5. {contextlayer_mcp_server-0.1.4 → contextlayer_mcp_server-0.1.6}/pyproject.toml +1 -1
  6. contextlayer_mcp_server-0.1.4/PKG-INFO +0 -8
  7. contextlayer_mcp_server-0.1.4/contextlayer_mcp_server.egg-info/PKG-INFO +0 -8
  8. {contextlayer_mcp_server-0.1.4 → contextlayer_mcp_server-0.1.6}/contextlayer/__init__.py +0 -0
  9. {contextlayer_mcp_server-0.1.4 → contextlayer_mcp_server-0.1.6}/contextlayer/detection.py +0 -0
  10. {contextlayer_mcp_server-0.1.4 → contextlayer_mcp_server-0.1.6}/contextlayer/server.py +0 -0
  11. {contextlayer_mcp_server-0.1.4 → contextlayer_mcp_server-0.1.6}/contextlayer/wrapper.py +0 -0
  12. {contextlayer_mcp_server-0.1.4 → contextlayer_mcp_server-0.1.6}/contextlayer_mcp_server.egg-info/dependency_links.txt +0 -0
  13. {contextlayer_mcp_server-0.1.4 → contextlayer_mcp_server-0.1.6}/contextlayer_mcp_server.egg-info/entry_points.txt +0 -0
  14. {contextlayer_mcp_server-0.1.4 → contextlayer_mcp_server-0.1.6}/contextlayer_mcp_server.egg-info/requires.txt +0 -0
  15. {contextlayer_mcp_server-0.1.4 → contextlayer_mcp_server-0.1.6}/contextlayer_mcp_server.egg-info/top_level.txt +0 -0
  16. {contextlayer_mcp_server-0.1.4 → contextlayer_mcp_server-0.1.6}/setup.cfg +0 -0
  17. {contextlayer_mcp_server-0.1.4 → contextlayer_mcp_server-0.1.6}/tests/test_detection.py +0 -0
@@ -0,0 +1,131 @@
1
+ Metadata-Version: 2.4
2
+ Name: contextlayer-mcp-server
3
+ Version: 0.1.6
4
+ Summary: Invisible intelligence layer for AI coding tools (MCP)
5
+ Author: Rudra Nalawade
6
+ Requires-Python: >=3.10
7
+ Description-Content-Type: text/markdown
8
+ Requires-Dist: mcp>=1.0.0
9
+
10
+ ContextLayer MCP
11
+
12
+ The invisible intelligence layer for AI coding tools.
13
+
14
+ Generalist AI models write chatty, bloated code because they lack situational workspace awareness. ContextLayer intercepts your prompt, silently scans your local working directory for languages and paradigms, and wraps the prompt in strict professional expert schemas. This forces the AI to skip the tutorial fluff and output precise, deterministic, production-grade results.
15
+ Quick Start
16
+
17
+ ContextLayer runs entirely locally via the Model Context Protocol (MCP). It takes 10 seconds to install and works with Cursor, Windsurf, Claude Desktop, and any MCP-compatible client.
18
+ 1. Install uv (The only dependency)
19
+
20
+ We recommend using uv because it automatically downloads and runs ContextLayer in the background without you needing to manage Python virtual environments.
21
+
22
+ For Mac and Linux, run this in your terminal:
23
+ curl -LsSf https://astral.sh/uv/install.sh | sh
24
+
25
+ For Windows (PowerShell), run this:
26
+ powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
27
+
28
+ Note: After installing, restart your terminal so the uvx command is recognized.
29
+ 2. Connect to your AI Client
30
+
31
+ For macOS (Cursor and Claude Desktop):
32
+
33
+ Open Cursor.
34
+
35
+ Press Cmd + Shift + P to open the Command Palette.
36
+
37
+ Type "View: Open MCP settings" and select it.
38
+
39
+ Paste this exact configuration into the file:
40
+ {
41
+ "mcpServers": {
42
+ "contextlayer": {
43
+ "command": "uvx",
44
+ "args": ["--from", "contextlayer-mcp-server", "contextlayer"]
45
+ }
46
+ }
47
+ }
48
+
49
+ Save the file and restart Cursor.
50
+
51
+ For Claude Desktop on macOS:
52
+
53
+ Open the config file: ~/Library/Application Support/Claude/claude_desktop_config.json (You may need to create it if it doesn't exist).
54
+
55
+ Paste the exact same configuration block from above.
56
+
57
+ Quit Claude completely (Cmd+Q) and reopen it.
58
+
59
+ For Windows (Cursor and Claude Desktop):
60
+
61
+ Open Cursor.
62
+
63
+ Press Ctrl + Shift + P to open the Command Palette.
64
+
65
+ Type "View: Open MCP settings" and select it.
66
+
67
+ Paste the same configuration block:
68
+ {
69
+ "mcpServers": {
70
+ "contextlayer": {
71
+ "command": "uvx",
72
+ "args": ["--from", "contextlayer-mcp-server", "contextlayer"]
73
+ }
74
+ }
75
+ }
76
+
77
+ Save and restart Cursor.
78
+
79
+ For Claude Desktop on Windows:
80
+
81
+ Press Win + R, type %APPDATA%\Claude, and hit Enter.
82
+
83
+ Open claude_desktop_config.json in Notepad (or create it if it doesn't exist).
84
+
85
+ Paste the exact same configuration block from above.
86
+
87
+ Right-click the Claude icon in your system tray and select Quit. Reopen it.
88
+
89
+ For Linux (Cursor / Windsurf and Claude Desktop):
90
+
91
+ Open the Command Palette (Ctrl + Shift + P).
92
+
93
+ Type "View: Open MCP settings".
94
+
95
+ Paste the configuration block from above and save.
96
+ For Claude Desktop on Linux:
97
+
98
+ Open the config file: ~/.config/Claude/claude_desktop_config.json
99
+
100
+ Paste the configuration block and save.
101
+
102
+ Kill the Claude process completely (e.g., killall claude) and reopen it.
103
+
104
+ How to use it
105
+
106
+ Once connected, you can just talk to the AI normally. But to force it to use the tool, you can be explicit:
107
+
108
+ "Use the analyze_and_wrap_prompt tool on my current directory, then fix the PDF generation bug in this repo."
109
+
110
+ What happens under the hood:
111
+
112
+ The AI asks ContextLayer to scan your directory.
113
+
114
+ ContextLayer detects you are using Python, async/await, and pydantic.
115
+
116
+ It injects strict directives: "Do NOT explain basic concepts. Output code first. Enforce strict type safety."
117
+
118
+ The AI responds with immediate, production-grade code.
119
+
120
+ Troubleshooting
121
+
122
+ uvx command not found?
123
+ Restart your terminal. If it still fails, ensure ~/.local/bin (Mac/Linux) or %USERPROFILE%.local\bin (Windows) is in your system PATH.
124
+
125
+ Does this send my code to the cloud?
126
+ No. ContextLayer runs 100% locally on your machine. It only reads file names and snippets to detect your stack. It never uploads your codebase.
127
+
128
+ Does it work with ChatGPT Desktop?
129
+ ChatGPT's desktop app does not natively support MCP servers yet. Use Cursor, Windsurf, or Claude Desktop.
130
+
131
+ Built for developers who are tired of AI explaining what a variable is.
@@ -0,0 +1,122 @@
1
+ ContextLayer MCP
2
+
3
+ The invisible intelligence layer for AI coding tools.
4
+
5
+ Generalist AI models write chatty, bloated code because they lack situational workspace awareness. ContextLayer intercepts your prompt, silently scans your local working directory for languages and paradigms, and wraps the prompt in strict professional expert schemas. This forces the AI to skip the tutorial fluff and output precise, deterministic, production-grade results.
6
+ Quick Start
7
+
8
+ ContextLayer runs entirely locally via the Model Context Protocol (MCP). It takes 10 seconds to install and works with Cursor, Windsurf, Claude Desktop, and any MCP-compatible client.
9
+ 1. Install uv (The only dependency)
10
+
11
+ We recommend using uv because it automatically downloads and runs ContextLayer in the background without you needing to manage Python virtual environments.
12
+
13
+ For Mac and Linux, run this in your terminal:
14
+ curl -LsSf https://astral.sh/uv/install.sh | sh
15
+
16
+ For Windows (PowerShell), run this:
17
+ powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
18
+
19
+ Note: After installing, restart your terminal so the uvx command is recognized.
20
+ 2. Connect to your AI Client
21
+
22
+ For macOS (Cursor and Claude Desktop):
23
+
24
+ Open Cursor.
25
+
26
+ Press Cmd + Shift + P to open the Command Palette.
27
+
28
+ Type "View: Open MCP settings" and select it.
29
+
30
+ Paste this exact configuration into the file:
31
+ {
32
+ "mcpServers": {
33
+ "contextlayer": {
34
+ "command": "uvx",
35
+ "args": ["--from", "contextlayer-mcp-server", "contextlayer"]
36
+ }
37
+ }
38
+ }
39
+
40
+ Save the file and restart Cursor.
41
+
42
+ For Claude Desktop on macOS:
43
+
44
+ Open the config file: ~/Library/Application Support/Claude/claude_desktop_config.json (You may need to create it if it doesn't exist).
45
+
46
+ Paste the exact same configuration block from above.
47
+
48
+ Quit Claude completely (Cmd+Q) and reopen it.
49
+
50
+ For Windows (Cursor and Claude Desktop):
51
+
52
+ Open Cursor.
53
+
54
+ Press Ctrl + Shift + P to open the Command Palette.
55
+
56
+ Type "View: Open MCP settings" and select it.
57
+
58
+ Paste the same configuration block:
59
+ {
60
+ "mcpServers": {
61
+ "contextlayer": {
62
+ "command": "uvx",
63
+ "args": ["--from", "contextlayer-mcp-server", "contextlayer"]
64
+ }
65
+ }
66
+ }
67
+
68
+ Save and restart Cursor.
69
+
70
+ For Claude Desktop on Windows:
71
+
72
+ Press Win + R, type %APPDATA%\Claude, and hit Enter.
73
+
74
+ Open claude_desktop_config.json in Notepad (or create it if it doesn't exist).
75
+
76
+ Paste the exact same configuration block from above.
77
+
78
+ Right-click the Claude icon in your system tray and select Quit. Reopen it.
79
+
80
+ For Linux (Cursor / Windsurf and Claude Desktop):
81
+
82
+ Open the Command Palette (Ctrl + Shift + P).
83
+
84
+ Type "View: Open MCP settings".
85
+
86
+ Paste the configuration block from above and save.
87
+ For Claude Desktop on Linux:
88
+
89
+ Open the config file: ~/.config/Claude/claude_desktop_config.json
90
+
91
+ Paste the configuration block and save.
92
+
93
+ Kill the Claude process completely (e.g., killall claude) and reopen it.
94
+
95
+ How to use it
96
+
97
+ Once connected, you can just talk to the AI normally. But to force it to use the tool, you can be explicit:
98
+
99
+ "Use the analyze_and_wrap_prompt tool on my current directory, then fix the PDF generation bug in this repo."
100
+
101
+ What happens under the hood:
102
+
103
+ The AI asks ContextLayer to scan your directory.
104
+
105
+ ContextLayer detects you are using Python, async/await, and pydantic.
106
+
107
+ It injects strict directives: "Do NOT explain basic concepts. Output code first. Enforce strict type safety."
108
+
109
+ The AI responds with immediate, production-grade code.
110
+
111
+ Troubleshooting
112
+
113
+ uvx command not found?
114
+ Restart your terminal. If it still fails, ensure ~/.local/bin (Mac/Linux) or %USERPROFILE%.local\bin (Windows) is in your system PATH.
115
+
116
+ Does this send my code to the cloud?
117
+ No. ContextLayer runs 100% locally on your machine. It only reads file names and snippets to detect your stack. It never uploads your codebase.
118
+
119
+ Does it work with ChatGPT Desktop?
120
+ ChatGPT's desktop app does not natively support MCP servers yet. Use Cursor, Windsurf, or Claude Desktop.
121
+
122
+ Built for developers who are tired of AI explaining what a variable is.
@@ -0,0 +1,131 @@
1
+ Metadata-Version: 2.4
2
+ Name: contextlayer-mcp-server
3
+ Version: 0.1.6
4
+ Summary: Invisible intelligence layer for AI coding tools (MCP)
5
+ Author: Rudra Nalawade
6
+ Requires-Python: >=3.10
7
+ Description-Content-Type: text/markdown
8
+ Requires-Dist: mcp>=1.0.0
9
+
10
+ ContextLayer MCP
11
+
12
+ The invisible intelligence layer for AI coding tools.
13
+
14
+ Generalist AI models write chatty, bloated code because they lack situational workspace awareness. ContextLayer intercepts your prompt, silently scans your local working directory for languages and paradigms, and wraps the prompt in strict professional expert schemas. This forces the AI to skip the tutorial fluff and output precise, deterministic, production-grade results.
15
+ Quick Start
16
+
17
+ ContextLayer runs entirely locally via the Model Context Protocol (MCP). It takes 10 seconds to install and works with Cursor, Windsurf, Claude Desktop, and any MCP-compatible client.
18
+ 1. Install uv (The only dependency)
19
+
20
+ We recommend using uv because it automatically downloads and runs ContextLayer in the background without you needing to manage Python virtual environments.
21
+
22
+ For Mac and Linux, run this in your terminal:
23
+ curl -LsSf https://astral.sh/uv/install.sh | sh
24
+
25
+ For Windows (PowerShell), run this:
26
+ powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
27
+
28
+ Note: After installing, restart your terminal so the uvx command is recognized.
29
+ 2. Connect to your AI Client
30
+
31
+ For macOS (Cursor and Claude Desktop):
32
+
33
+ Open Cursor.
34
+
35
+ Press Cmd + Shift + P to open the Command Palette.
36
+
37
+ Type "View: Open MCP settings" and select it.
38
+
39
+ Paste this exact configuration into the file:
40
+ {
41
+ "mcpServers": {
42
+ "contextlayer": {
43
+ "command": "uvx",
44
+ "args": ["--from", "contextlayer-mcp-server", "contextlayer"]
45
+ }
46
+ }
47
+ }
48
+
49
+ Save the file and restart Cursor.
50
+
51
+ For Claude Desktop on macOS:
52
+
53
+ Open the config file: ~/Library/Application Support/Claude/claude_desktop_config.json (You may need to create it if it doesn't exist).
54
+
55
+ Paste the exact same configuration block from above.
56
+
57
+ Quit Claude completely (Cmd+Q) and reopen it.
58
+
59
+ For Windows (Cursor and Claude Desktop):
60
+
61
+ Open Cursor.
62
+
63
+ Press Ctrl + Shift + P to open the Command Palette.
64
+
65
+ Type "View: Open MCP settings" and select it.
66
+
67
+ Paste the same configuration block:
68
+ {
69
+ "mcpServers": {
70
+ "contextlayer": {
71
+ "command": "uvx",
72
+ "args": ["--from", "contextlayer-mcp-server", "contextlayer"]
73
+ }
74
+ }
75
+ }
76
+
77
+ Save and restart Cursor.
78
+
79
+ For Claude Desktop on Windows:
80
+
81
+ Press Win + R, type %APPDATA%\Claude, and hit Enter.
82
+
83
+ Open claude_desktop_config.json in Notepad (or create it if it doesn't exist).
84
+
85
+ Paste the exact same configuration block from above.
86
+
87
+ Right-click the Claude icon in your system tray and select Quit. Reopen it.
88
+
89
+ For Linux (Cursor / Windsurf and Claude Desktop):
90
+
91
+ Open the Command Palette (Ctrl + Shift + P).
92
+
93
+ Type "View: Open MCP settings".
94
+
95
+ Paste the configuration block from above and save.
96
+ For Claude Desktop on Linux:
97
+
98
+ Open the config file: ~/.config/Claude/claude_desktop_config.json
99
+
100
+ Paste the configuration block and save.
101
+
102
+ Kill the Claude process completely (e.g., killall claude) and reopen it.
103
+
104
+ How to use it
105
+
106
+ Once connected, you can just talk to the AI normally. But to force it to use the tool, you can be explicit:
107
+
108
+ "Use the analyze_and_wrap_prompt tool on my current directory, then fix the PDF generation bug in this repo."
109
+
110
+ What happens under the hood:
111
+
112
+ The AI asks ContextLayer to scan your directory.
113
+
114
+ ContextLayer detects you are using Python, async/await, and pydantic.
115
+
116
+ It injects strict directives: "Do NOT explain basic concepts. Output code first. Enforce strict type safety."
117
+
118
+ The AI responds with immediate, production-grade code.
119
+
120
+ Troubleshooting
121
+
122
+ uvx command not found?
123
+ Restart your terminal. If it still fails, ensure ~/.local/bin (Mac/Linux) or %USERPROFILE%.local\bin (Windows) is in your system PATH.
124
+
125
+ Does this send my code to the cloud?
126
+ No. ContextLayer runs 100% locally on your machine. It only reads file names and snippets to detect your stack. It never uploads your codebase.
127
+
128
+ Does it work with ChatGPT Desktop?
129
+ ChatGPT's desktop app does not natively support MCP servers yet. Use Cursor, Windsurf, or Claude Desktop.
130
+
131
+ Built for developers who are tired of AI explaining what a variable is.
@@ -1,3 +1,4 @@
1
+ README.md
1
2
  pyproject.toml
2
3
  contextlayer/__init__.py
3
4
  contextlayer/detection.py
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "contextlayer-mcp-server" # <--- CHANGED THIS
3
- version = "0.1.4"
3
+ version = "0.1.6"
4
4
  description = "Invisible intelligence layer for AI coding tools (MCP)"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
@@ -1,8 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: contextlayer-mcp-server
3
- Version: 0.1.4
4
- Summary: Invisible intelligence layer for AI coding tools (MCP)
5
- Author: Rudra Nalawade
6
- Requires-Python: >=3.10
7
- Description-Content-Type: text/markdown
8
- Requires-Dist: mcp>=1.0.0
@@ -1,8 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: contextlayer-mcp-server
3
- Version: 0.1.4
4
- Summary: Invisible intelligence layer for AI coding tools (MCP)
5
- Author: Rudra Nalawade
6
- Requires-Python: >=3.10
7
- Description-Content-Type: text/markdown
8
- Requires-Dist: mcp>=1.0.0