AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
MCP verified MIT Self-run

Mcp Beyond Tools

mcp-shriramkv-mcp-beyond-tools · by shriramkv

A reference MCP server demonstrating correct use of all three primitives: tools, resources, and prompts. Companion to the AAIF blog "The Unknowns of MCP

— No reviews yet
0 installs
10 views
0.0% view→install

Install

$ agentstack add mcp-shriramkv-mcp-beyond-tools

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • ✓ Prompt-injection patterns
  • ✓ Secret / credential exfiltration
  • ✓ Dangerous shell & filesystem operations
  • ✓ Untrusted network calls
  • ✓ Known-malicious package signatures

What it can access

  • ✓ Network access No
  • ✓ Filesystem access No
  • ✓ Shell / process execution No
  • ✓ Environment & secrets No
  • ✓ Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-shriramkv-mcp-beyond-tools)

Reliability & compatibility

✓ Security review passed
0 installs to date
— no reviews yet
● 2mo ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Mcp Beyond Tools? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

mcp-beyond-tools

A reference MCP server that uses all three primitives correctly: tools, resources, and prompts.

Most MCP servers in the wild expose everything as a tool, even plain data reads. That forces the host through a code-execution consent flow for what should have been a simple read, bloats the model's context window with tool schemas, and makes auditing harder. This repository is a small, complete, tested server (DocVault, a local document vault) built to demonstrate the correct split.

The rule of thumb this repo demonstrates

| Primitive | Use it for | DocVault examples | |---|---|---| | Resource | Read-only context, no side effects | docvault://docs (catalogue), docvault://docs/{name} (document content) | | Tool | Actions: side effects or real computation | search_vault, add_note | | Prompt | Reusable, parameterised workflows the server authors | summarise_document, compare_documents |

Note what is deliberately absent: there is no read_document tool and no list_documents tool. Reads are resources. Keeping the tool list down to genuine actions is what keeps your context window lean when a host connects many servers at once.

Quickstart

Requires Python 3.10+.

git clone https://github.com/shriramkv/mcp-beyond-tools.git
cd mcp-beyond-tools
pip install -r requirements.txt

# Run the end-to-end demo client (no AI host needed)
python examples/client_demo.py

The demo client connects over stdio, lists all three primitives, reads a resource, calls a tool, and fetches a prompt. Expected final line:

All three primitives exercised successfully.

Using it from Claude Desktop

Add this to your claude_desktop_config.json (adjust the path):

{
  "mcpServers": {
    "docvault": {
      "command": "python",
      "args": ["-m", "docvault.server"],
      "cwd": "/absolute/path/to/mcp-beyond-tools"
    }
  }
}

Restart Claude Desktop. You will see two tools, the document resources, and two prompts. Try: "Search the vault for 'stateless' and then read the matching document." Watch how the search goes through a tool call while the read arrives as a resource.

Repository structure

mcp-beyond-tools/
├── docvault/
│   ├── server.py          # the server: 2 resources, 2 tools, 2 prompts
│   └── sample_docs/       # seed documents served as resources
├── examples/
│   └── client_demo.py     # stdio client exercising every primitive
├── requirements.txt
└── LICENSE                # MIT

Why this matters (the short version)

  1. Security and consent. Tools represent code execution and deserve a consent flow. Reads do not. Modelling reads as resources means the consent ceremony is reserved for things that can actually change state.
  2. Context economics. Every tool schema you expose is context the model pays for on every turn. Two tools instead of five is a real saving once a host connects twenty servers.
  3. Auditability. When the tool list contains only actions, the audit log of tool calls becomes a log of things that happened, not a log of things that were merely looked at.

Author

Shriram K Vasudevan (@shriramkv) YouTube: https://www.youtube.com/shriramvasudevan

Licensed under MIT.

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.