You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: Add HTTP transport support to TIM-MCP server
- Add HTTP transport mode alongside existing STDIO mode
- STDIO remains default mode for backward compatibility
- Add Click-based CLI with --http, --host, --port options
- Create transport configuration module with validation
- Add comprehensive test coverage (152 tests passing)
- Update documentation with deployment examples
- Align ruff configuration with pre-commit settings
* fix: Replace regex with glob patterns in file filtering
- Replace regex-based file pattern matching with intuitive glob patterns
- Remove include_readme flag - README.md now follows same filtering rules
- Simplify get_content tool implementation and documentation
- Update all tests to use glob patterns instead of regex
- Fix file filtering bug where invalid patterns included all files
* fix: reduce search results to 5
* fix: update search to filter non archived and core-team modules
* docs: add claude code instructions for test
* fix: resolve file filtering issue in get_content tool
- Remove automatic glob-to-regex conversion in _sanitize_list_parameter()
- Fix cache warning by removing invalid ttl parameter
- Update docstrings to reflect glob pattern usage
- Add regression test for the specific bug scenario
-`GITHUB_TOKEN` (optional): GitHub personal access token
@@ -171,6 +231,8 @@ This method downloads and runs TIM-MCP directly from the GitHub repository witho
171
231
172
232
This method is ideal for development and testing, using your local clone of the repository.
173
233
234
+
#### For Claude Desktop
235
+
174
236
**Basic Configuration:**
175
237
```json
176
238
{
@@ -213,6 +275,30 @@ This method is ideal for development and testing, using your local clone of the
213
275
4. Update the `cwd` path in the configuration above to match your local repository path
214
276
5. Add the configuration to your Claude Desktop settings
215
277
278
+
#### For Claude Code
279
+
280
+
For local development with Claude Code:
281
+
282
+
```bash
283
+
# Navigate to your tim-mcp directory first
284
+
cd /path/to/your/tim-mcp
285
+
286
+
# Add the local MCP server with GitHub token
287
+
claude mcp add tim-mcp --env GITHUB_TOKEN=your_github_token_here \
288
+
-- uv run tim-mcp
289
+
290
+
# Or without GitHub token (may hit rate limits)
291
+
claude mcp add tim-mcp -- uv run tim-mcp
292
+
293
+
# List configured MCP servers
294
+
claude mcp list
295
+
296
+
# Remove if needed
297
+
claude mcp remove tim-mcp
298
+
```
299
+
300
+
**Important:** Run these commands from within your local tim-mcp repository directory, as Claude Code will use the current working directory when executing the MCP server.
301
+
216
302
217
303
## Verification
218
304
@@ -241,7 +327,7 @@ Once configured, TIM-MCP provides these tools to Claude for comprehensive Terraf
241
327
242
328
**Usage Examples:**
243
329
- Quick reference: `limit=3` for "I need a VPC module"
244
-
- Exploring options: `limit=10-15` (default) for comparing alternatives
330
+
- Exploring options: `limit=5-15` (default=5) for comparing alternatives
245
331
- Comprehensive research: `limit=20+` for thorough analysis
246
332
247
333
### 2. `get_module_details`
@@ -287,20 +373,22 @@ Once configured, TIM-MCP provides these tools to Claude for comprehensive Terraf
287
373
**Inputs:**
288
374
-`module_id` (string, required): Full module identifier (e.g., "terraform-ibm-modules/vpc/ibm")
289
375
-`path` (string, optional): Specific path - "" (root), "examples/basic", "modules/vpc", etc.
290
-
-`include_files` (list[string], optional): Regex patterns for files to include
291
-
-`exclude_files` (list[string], optional): Regex patterns for files to exclude
292
-
-`include_readme` (boolean, optional): Include README.md for context (default: true)
376
+
-`include_files` (list[string], optional): Glob patterns for files to include
377
+
-`exclude_files` (list[string], optional): Glob patterns for files to exclude
293
378
-`version` (string, optional): Git tag/branch to fetch from (default: "latest")
294
379
295
380
**Output:** Markdown formatted content with file contents, organized by:
296
-
- File paths and content
381
+
- File paths and content with appropriate syntax highlighting
0 commit comments