Skip to content

Commit 4c9825e

Browse files
committed
tweak top library size buckets
Signed-off-by: Liam Stanley <[email protected]>
1 parent 2b74073 commit 4c9825e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
**context7-http** is a MCP server that supports HTTP SSE streaming for the [Context7](https://context7.com) project.
2727

2828
- HTTP SSE streaming for Context7.
29-
- (_future_) Support for `streamable` functionality once it's supported in the upstream MCP library we use.
29+
- (_future_) Support for HTTP `streamable` functionality once it's supported in the upstream MCP library
30+
we use (or the official MCP library is released by the Go team).
3031
- Provides `resolve-library-uri` and `search-library-docs` tools for finding libraries, and searching their documentation.
3132
- Provides multiple resources, including:
3233
- `context7://libraries` - returns high-level information about all libraries.

internal/mcpserver/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ func New(ctx context.Context, version string, client *api.Client) (*Server, erro
3535
srv.AddTool(srv.toolResolveLibraryID())
3636
srv.AddTool(srv.toolSearchLibraryDocs())
3737
srv.AddResource(srv.resourceLibrariesAll())
38+
srv.AddResource(srv.resourceLibrariesTop(500))
3839
srv.AddResource(srv.resourceLibrariesTop(1000))
39-
srv.AddResource(srv.resourceLibrariesTop(2500))
4040
srv.AddResourceTemplate(srv.resourceLibrary()) // TODO: is this just for searching?
4141

4242
srv.baseVariables = map[string]any{

0 commit comments

Comments
 (0)