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: Use llm.txt for doc reference. rewrite this pr to include searc… (#21)
* feat: Use llm.txt for doc reference. rewrite this pr to include search doc based on frequency and relevance & fetch doc from uri
* fix: Remove unrelated files
* fix: revert code change in github workflow
* fix: readme naming fix
* fix: remove comment
* fix: refactor some code, optimize some logic
* fix:revert github workflow
Copy file name to clipboardExpand all lines: README.md
+58-6Lines changed: 58 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,15 @@
32
32
</p>
33
33
</div>
34
34
35
-
This MCP server provides documentation about Strands Agents to your GenAI tools, so you can use your favorite AI coding assistant to vibe-code Strands Agents.
35
+
This MCP server provides curated documentation access to your GenAI tools via llms.txt files, enabling AI coding assistants to search and retrieve relevant documentation with intelligent ranking.
36
+
37
+
## Features
38
+
39
+
-**Smart Document Search**: TF-IDF based search with Markdown-aware scoring that prioritizes titles, headers, and code blocks
40
+
-**Curated Content**: Indexes documentation from llms.txt files with clean, human-readable titles
41
+
-**On-Demand Fetching**: Lazy-loads full document content only when needed for optimal performance
42
+
-**Snippet Generation**: Provides contextual snippets with relevance scoring for quick overview
43
+
-**Real URL Support**: Works with actual HTTPS URLs while maintaining backward compatibility
36
44
37
45
## Prerequisites
38
46
@@ -54,9 +62,17 @@ In `~/.aws/amazonq/mcp.json`:
54
62
```json
55
63
{
56
64
"mcpServers": {
57
-
"strands": {
65
+
"strands-agents": {
58
66
"command": "uvx",
59
-
"args": ["strands-agents-mcp-server"]
67
+
"args": ["strands-agents-mcp-server"],
68
+
"env": {
69
+
"FASTMCP_LOG_LEVEL": "INFO"
70
+
},
71
+
"disabled": false,
72
+
"autoApprove": [
73
+
"search_docs",
74
+
"fetch_doc"
75
+
]
60
76
}
61
77
}
62
78
}
@@ -94,9 +110,17 @@ In `~/.cursor/mcp.json`:
94
110
```json
95
111
{
96
112
"mcpServers": {
97
-
"strands": {
113
+
"strands-agents": {
98
114
"command": "uvx",
99
-
"args": ["strands-agents-mcp-server"]
115
+
"args": ["strands-agents-mcp-server"],
116
+
"env": {
117
+
"FASTMCP_LOG_LEVEL": "INFO"
118
+
},
119
+
"disabled": false,
120
+
"autoApprove": [
121
+
"search_docs",
122
+
"fetch_doc"
123
+
]
100
124
}
101
125
}
102
126
}
@@ -107,14 +131,42 @@ In `~/.cursor/mcp.json`:
107
131
You can quickly test the MCP server using the MCP Inspector:
Note: This requires [npx](https://docs.npmjs.com/cli/v11/commands/npx) to be installed on your system. It comes bundled with [Node.js](https://nodejs.org/).
114
142
115
143
The Inspector is also useful for troubleshooting MCP server issues as it provides detailed connection and protocol information. For an in-depth guide, have a look at the [MCP Inspector documentation](https://modelcontextprotocol.io/docs/tools/inspector).
116
144
117
-
## Server development
145
+
## Getting Started
146
+
147
+
1.**Install prerequisites**:
148
+
- Install [uv](https://github.com/astral-sh/uv) following the [official installation instructions](https://github.com/astral-sh/uv#installation)
149
+
- Make sure you have [Node.js](https://nodejs.org/) installed for npx commands
150
+
151
+
2.**Configure your MCP client**:
152
+
- Choose your preferred MCP client from the installation examples above
153
+
- Add the Strands Agents MCP server configuration to your client
0 commit comments