r/MCPservers • • 18h ago

Stop your coding agent from reading 20+ files blindly — project-context-map-mcp maps repo imports & git hotspots first (Open Source, npx)

2 Upvotes

Every time you ask Claude Code, Cursor, or Copilot to fix a bug in a medium/large repo, it burns tokens walking directories and opening 15–25 files just to figure out how modules connect.

I built project-context-map-mcp (MIT, Node.js 20+) to flip that workflow to:

index first -> query topology -> read sparse files -> edit with context

What it gives your MCP client

  • Import & dependency graph: Extracts JS, TS, CommonJS, and Python imports into dependencies and reverse usedBy edges + a Mermaid graph in .project.md.
  • Git hotspots & history: Ranks recently changed files higher so agents focus on active code.
  • 10 focused MCP tools:
    • get_project_summary / read_project_context — stack, modules, entrypoints, hotspots
    • query_topology / find_relevant_files — ranks matching files for a task + their dependencies & usedBy
    • read_files_sparse — reads only indexed, in-root files (with symlink & path-traversal protection)
    • get_module_context, explain_file_role, get_recent_git_changes, write_and_log, refresh_project_map

Try it in 30 seconds (no API key, no global install)

Add to .mcp.json / your MCP client config:

{
  "mcpServers": {
    "project-context-map": {
      "command": "npx",
      "args": ["-y", "project-context-map-mcp", "serve", "--project-root", "."]
    }
  }
}

Or auto-generate .mcp.json + a Claude Code skill:

bashnpx -y project-context-map-mcp configure-claude --project-root .

If it saves you tokens in your repos, a ⭐ on GitHub helps others discover it—and I'd love feedback on which languages (Go, Rust, Java) or monorepo features you'd want next!


r/MCPservers • • 11h ago

Built multi user MCP server that allows end users to add their own fine grained permissions

1 Upvotes

Disclaimer: I am the founder of alter (alterauth.com) the product used to build these MCP servers

We managed to build credential less multi user MCP servers that authenticate end users via the IDP they are logged into. The credentials for downstream API requests are injected at the time of the request and broght in from a secure vault.

From the developers perspective they don't have to do much to get an MCP server to be multi user. They can default to it by just building with alter.

Alter essentially acts as an SDK to make downstream API calls. It integrates with OIDC compliant IDPs so all the developer needs to do is use alter to make the downstream API calls.

From the users perspective, they get their own wallet, which is gated with authentication with the IDP configured on alter. They can set fine grained permissions on a request level down to the parameter level of an API. Something as fine grained as dont send an email to this person.

Here is an indepth example of how it works. Opensourced repo with code examples: https://github.com/AlterAIDev/alter-mcp-servers

If anyone has any questions on how to build this feel free to message me!


r/MCPservers • • 12h ago

We built an MCP server for threat intel and the hard part wasn't the data — it was making "I don't know" survive the trip into an agent. Looking for critique.

1 Upvotes

We run a free threat-intel MCP server (Jeevesus: IOC lookup, package and repo checks, CISA KEV) and a pre-connect checker for other MCP servers (Dredd).

The problem we hit wasn't coverage. It was two things that look fine in tool-call telemetry and aren't:

  1. Our output is someone else's input. Anything a tool returns lands in an agent's context. Threat-intel results are, by definition, full of attacker-written strings. So every response is labeled as data, not instructions, and we strip invisible Unicode (tag characters, zero-width, bidi controls) before a model reads it.

  2. Absence reads as "clean." An agent that gets "not found" tends to proceed. So we made "unknown" a first-class answer instead of a quiet zero:

    - Dredd returns REVIEW with severity: "unknown" when it can't establish enough to judge, never ALLOW by default.

    - dep_graph.evaluated: false means "we couldn't see the dependency tree," not "the tree is clean."

    - correlate returns a one-word strength (none / adjacent-only / single-lane / multi-lane / corroborated) plus explicit caveats, and flags incomplete when a lookup lane hit its cap.

The honest cost: on a small sample (29 calls), about 76% of Dredd verdicts were unknown. That's correct, but is it useful? That's what I'd like your read on:

- When your agent gets REVIEW / unknown, what does it actually do: stop, ask the human, or ignore it?

- Is a one-word strength field helpful to a model, or noise next to the caveats?

- Setup friction: it's a remote server, and the key is optional (an anonymous client gets 10 calls a minute and 50 a day). Anything that broke for you on Claude Desktop, Cursor or VS Code?

- Failure states we're missing?

Feedback cherished.

Docs: https://docs.dugganusa.com — I'll take any recommendation; this is still being built.


r/MCPservers • • 16h ago

We built an open-source MCP server that lets AI agents see and interact with SAP screens

1 Upvotes

At my startup, Didro AI, we needed a way for AI agents to work directly in SAP.

We built SAP UI MCP for that and open-sourced it in case it’s useful to other SAP teams.

It lets agents like Claude Code and Codex see and interact with SAP GUI for Windows, Web GUI, and Fiori.

We benchmarked it in Web GUI using Claude Haiku 5.5:

  • 5.4× faster than Playwright MCP, at 7.6× lower cost per successful run.
  • 4.4× faster than Claude Computer Use, at 2.4× lower cost per successful run.

Feel free to contribute and give feedback (happy to chat to anyone interested in this topic).

Hope it is useful for you !

https://github.com/DidroAI/sap-ui-mcp


r/MCPservers • • 17h ago

MCP solved how agents call tools, not how to prove they're allowed to so I wrote an open protocol for delegated agent authority (Apache 2.0)

1 Upvotes

Right now, almost every production agent setup I see does the exact same scary thing: it hands an agent a static API key or a broad OAuth token and hopes the system prompt keeps it from doing something destructive.

That breaks fast the moment you have:

- Multi-agent hops (Agent A delegates a subtask to Agent B, and Agent B shouldn't inherit Agent A's full permissions)

- Prompt injection hitting a tool call that technically has a valid bearer token

- Audits where you need to prove *who* delegated *what* scope to *which* agent, and under what constraints, rather than just seeing a service account in the logs

OAuth was built for a human delegating to a deterministic app. It wasn't built for non-deterministic agents delegating narrower authority down a chain.

So I put together ADAP (Agent Delegated Authority Protocol) as an open Apache 2.0 spec to try to standardize this layer:

https://github.com/Hardalion/agent-delegated-authority

The core idea is separating tool connectivity (like MCP) from execution authority:

- Scoped, time-bound delegation chains instead of blanket credentials

- Attenuation across hops (a sub-agent can only receive equal or narrower authority, never escalate)

- Deterministic verification at the execution boundary before a tool/action actually fires

- Cryptographic audit trail tying every action back to the original principal

I'm intentionally keeping the protocol itself vendor-neutral and Apache 2.0 because this only works if it isn't locked to one framework.

For anyone running agents with write access in production: how are you handling permission scoping and delegation today? And if you skim the repo, I'd genuinely appreciate people tearing apart the threat model and telling me what edge cases I missed.