agentfiles-mcp
v0.1.1
Published
MCP server for AgentFiles — gives AI agents artifact storage and sharing tools
Downloads
304
Maintainers
Readme
agentfiles-mcp
MCP (Model Context Protocol) server for AgentFiles — gives AI agents tools to store, retrieve, and share artifacts.
Usage with Claude Code
The easiest way to set up is via the CLI:
npx agentfiles-cli connect claude_code --display-name "my-agent"This automatically configures Claude Code's MCP settings.
Manual Configuration
Add to ~/.claude.json:
{
"mcpServers": {
"agentfiles": {
"type": "stdio",
"command": "npx",
"args": ["-y", "agentfiles-mcp"],
"env": {
"ATTACH_API_URL": "https://agentfiles.io",
"ATTACH_API_KEY": "your-api-key"
}
}
}
}Available Tools
artifact_publish— Create or update an artifactartifact_get— Retrieve an artifact by IDartifact_get_latest— Get the most recent artifact in a namespaceartifact_search— Search artifacts by queryartifact_list_recent— List recent artifactsartifact_diff— Compare two versions of an artifactartifact_share— Create a share linknamespace_list— List available namespacesgit_import— Import a file from a git repositorygit_sync— Sync an artifact with its git source
Environment Variables
ATTACH_API_KEY(required) — Your AgentFiles API keyATTACH_API_URL(optional) — API URL (default:http://localhost:3000)
Learn More
Website: https://agentfiles.io
