Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Filesystem Server #16

Merged
merged 5 commits into from
Nov 21, 2024
Merged

Add Filesystem Server #16

merged 5 commits into from
Nov 21, 2024

Conversation

maheshmurag
Copy link
Contributor

@maheshmurag maheshmurag commented Nov 21, 2024

Compared to last time, this includes Zod + only allows operations on allowlisted folders.

Also includes a tool for Claude to know which folders are allowlisted. This tends to help its performance.

@Skirano
Copy link
Contributor

Skirano commented Nov 21, 2024

Looks good to me!

Copy link
Contributor

@Skirano Skirano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great. We fixed the major issues.

@maheshmurag maheshmurag merged commit ea273a3 into main Nov 21, 2024
5 checks passed
@maheshmurag maheshmurag deleted the mahesh/add-filesystem branch November 21, 2024 05:36
Comment on lines +282 to +292
{
name: "list_allowed_directories",
description:
"Returns the list of directories that this server is allowed to access. " +
"Use this to understand which directories are available before trying to access files.",
inputSchema: {
type: "object",
properties: {},
required: [],
},
},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TIOLI: This might be a useful demonstration of a prompt provided by MCP, rather than a tool

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense! I think that would be ideal if Claude were able to pull in prompts & resources automatically. This tool is primarily for the LLM to self-correct by identifying which directories are available

HarleyCoops pushed a commit to HarleyCoops/ClaudeServers that referenced this pull request Nov 28, 2024
…mahesh/add-filesystem

Add Filesystem Server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants