Files
SuperCharged-Claude-Code-Up…/dexto/docs/docs/mcp/resources.md
admin b52318eeae feat: Add intelligent auto-router and enhanced integrations
- Add intelligent-router.sh hook for automatic agent routing
- Add AUTO-TRIGGER-SUMMARY.md documentation
- Add FINAL-INTEGRATION-SUMMARY.md documentation
- Complete Prometheus integration (6 commands + 4 tools)
- Complete Dexto integration (12 commands + 5 tools)
- Enhanced Ralph with access to all agents
- Fix /clawd command (removed disable-model-invocation)
- Update hooks.json to v5 with intelligent routing
- 291 total skills now available
- All 21 commands with automatic routing

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-28 00:27:56 +04:00

2.2 KiB

sidebar_position
sidebar_position
2

MCP Resources

What are Resources?

Resources in the Model Context Protocol let MCP servers expose data (files, documentation, API responses) that LLMs can read for context. Think of them as read-only data sources that help the LLM understand your environment.

Specification: MCP Resources Spec

How It Works

When you connect an MCP server that supports resources, Dexto automatically:

  1. Discovers available resources during server connection
  2. Lists resources with their URIs and descriptions
  3. Fetches resource content when the LLM needs it

Configuration

Resources are discovered automatically from MCP servers:

mcpServers:
  filesystem:
    type: stdio
    command: npx
    args: ["-y", "@modelcontextprotocol/server-filesystem", "./docs"]

No additional setup needed - if the server supports resources, Dexto will expose them.

Using Resources

In Web UI

Use the @ symbol to reference resources:

@file:///project/README.md what does this say about installation?

The Web UI auto-completes available resources when you type @.

Via SDK

// List all available resources
const resources = await agent.resourceManager.list();

// Read a specific resource
const content = await agent.resourceManager.read('file:///path/to/file.md');

Resource URIs

Resources are identified by URIs with different schemes:

  • file:// - Local files: file:///absolute/path/to/file.txt
  • http:// - Web resources: http://api.example.com/data
  • Custom - Server-defined: db://database/schema, git://repo/file

Common Servers with Resources

Based on Dexto's agent registry:

  • @modelcontextprotocol/server-filesystem - Exposes local files (used in coding-agent)
  • @truffle-ai/github-mcp-server - GitHub repository contents (used in github-agent)
  • @truffle-ai/talk2pdf-mcp - PDF document contents (used in talk2pdf-agent)

See Also