AI and MCP

MCP Tool Discovery and Server Operations

Published 2026-11-29 · Updated 2026-11-29 · 8 min read · Sora Panel team

MCP clients can discover named tools and their schemas, but a tool description is not an authorization boundary. Review the actual implementation, caller identity, permitted targets, side effects and approval path before allowing operations against a server.

MCP tool discovery gives an AI client a machine-readable list of capabilities it may ask an MCP server to invoke. It does not prove that a tool is trustworthy, that its description is accurate or that a particular caller is allowed to affect a particular server. Treat discovery as the beginning of a review, not as permission to execute.

The practical task is to connect the advertised interface to the real operating boundary: who calls the tool, which arguments it accepts, what code runs, which credential reaches the target and how an operator can stop or review the action. Start with an isolated environment and an identity that has no production privileges.

Illustration: a catalog of tools behind a protected server connection
Illustration, not a product screenshot.

Understand the discovery and call sequence

Discover tools in an isolated environment first, then authorize only the operations and targets the task requires. This adds review effort but avoids treating an advertised description as proof of safe execution.

The MCP tools specification describes a client sending tools/list to discover available tools, followed by tools/call with a tool name and arguments when it wants an operation. A tool definition includes a name and input schema and can include a description and other metadata. Lists can be paginated, so an inventory process must follow the server's pagination rather than assuming the first page is complete.

The specification describes tools as model-controlled, but implementations choose how to present and govern them. It recommends human oversight and the ability to deny calls; this is not a guarantee that every client implements the same approval screen. A discovered tool can query data, perform computation or call an external system, depending on its implementation. A client should understand the operation before providing it to a model.

Discovery itemWhat it helps explainWhat still needs verification
Name and descriptionIntended function and selection contextActual code, provenance and side effects
Input schemaAccepted argument shapes and required fieldsResource ownership and runtime authorization
AnnotationsDeclared behavioral hintsWhether a trusted implementation enforces them
Tool resultReported outcome and returned dataReal target state and safe handling of content

Discovery and invocation are separate steps. The fact that a client can see a tool does not necessarily mean every possible argument is permitted. A robust service checks identity, resource scope and action permissions at execution, including when an apparently valid request references a different organization's site.

Inspect the schema and its real consequences

Read required fields, types and allowed values, then trace each field to its effect. A field called site might select a domain, an internal identifier or a path. Determine whether the server resolves it within the authenticated caller's organization. A syntactically valid identifier is not evidence that the caller owns the resource.

Identify read and write behavior independently. A diagnostic tool could reveal confidential logs; a tool that appears to update a deployment may also restart a service. Review network calls, operating-system identity, filesystem mounts and downstream credentials. Ask whether a single tool can affect multiple resources and whether its target can change between review and execution.

Input validation and authorization are complementary. A schema can reject an invalid argument but may accept a well-formed identifier for a resource the caller must not access. The service must enforce the authorization decision in the execution path rather than relying on the model to choose only legitimate inputs. Similarly, an output schema describes an expected structure, not whether a response is safe to show every user.

Plan error handling before connecting production. A timeout does not establish whether a state-changing operation ran. Determine whether the implementation returns a durable operation identifier, how to inspect the target afterward and when retrying is safe. Review logs for identity, requested target and outcome, while avoiding secrets and unnecessary customer data.

Use reference implementations as examples, not endorsements

The official MCP reference-server repository, viewed 29 November 2026, lists a small maintained reference collection and a separate archived list. Its maintainers explicitly describe these as educational examples rather than production-ready solutions. For the chart, we count the named entries in those two README sections: seven current reference entries and thirteen archived entries. This is a count of listed examples, not a census of all MCP servers.

MCP reference server entries by README section

Named entries in the official reference repository README, 29 November 2026

  • Reference Servers section
    7
  • Archived section
    13
A count of listed examples in one repository, not the size of the MCP ecosystem or a measure of production readiness. Manual count of named bullet entries under the Reference Servers and Archived headings; SDK lists and external directories excluded. Archived successors may exist elsewhere. Source: MCP reference servers repository README, viewed 2026-11-29.
View chart data
Itemlisted server entriesNote
Reference Servers section7
Archived section13

The archive designation describes the repository's organization, not the quality or present status of every successor implementation. Some archived examples point to separately maintained alternatives. Nor does a place in the current reference list establish that a particular deployment is secure. The repository directs users seeking a broader directory to the MCP Registry; catalog discovery still requires an independent review of publisher, source, release and permissions.

To reproduce the chart, count the bullet entries under the README's reference and archived headings on the viewed date, excluding the SDK links and other resources. The figures can change when maintainers add, move or remove entries. The two bars describe categories in one repository, not a comparison of industry market share or active installations.

Handle untrusted and changing descriptions

A tool description helps a client choose when to call an operation, which also makes it influential context for a model. Treat descriptions and returned content from an unfamiliar server as untrusted data. A description that asks the assistant to disregard local policy or send a secret elsewhere should not become an instruction to do so. The tools specification explicitly says clients must treat annotations as untrusted unless they come from trusted servers.

Record an approved inventory containing the server origin, version, tool names, schemas, intended owners and expected permissions. Compare new discovery results with that baseline before expanding access. A name can remain unchanged while its implementation or description changes; conversely, a legitimate upgrade can add a useful tool. Changes deserve review rather than automatic acceptance or automatic rejection.

The specification includes a list-changed notification for servers that declare the relevant capability. A client receiving one can refresh its inventory, but notification alone does not approve the change or prove it is benign. Account for clients that cache tool definitions and servers that do not provide notifications. A release review and a periodic inventory provide additional opportunities to find unexpected drift.

The MCP security guidance covers risks around authorization and token handling. Verify who issued a credential, who is allowed to use it and which downstream API accepts it. Avoid treating a model's assertion that a request is authorized as evidence: the enforcement point must make that decision.

Test a Laravel MCP server without production privileges

Laravel's MCP documentation describes registering local or web servers, defining tools with schemas and testing them with an inspector or unit tests. A team can use a non-production Laravel application and synthetic records to exercise this workflow. Use a dedicated test identity and isolated data; do not reuse production keys merely to make a demonstration convenient.

First enumerate tools and follow all list pages. Capture the approved names, descriptions and schemas as a review baseline. Exercise a harmless read against a record the test identity owns, then try a valid-looking identifier outside its scope. The latter must be denied by the application's authorization rules; a friendly tool description is not enough.

Next test a state-changing operation on a disposable target if the application exposes one. Confirm that a caller without write permission is denied and that an allowed caller sees the expected result. If the application has an approval step, test rejection and altered or stale requests as well as approval. Inspect the record of the request and independently verify the target state rather than trusting a success message alone.

Finally rotate or revoke the test credential and confirm further calls fail. Document how the team will update dependencies, review changed descriptions and remove the integration. These are operational checks to adapt to your application, not claims that the Laravel package automatically implements each control.

Connect discovery to an accountable operation

For infrastructure, maintain a short decision record for each permitted tool: business purpose, owner, allowed callers, resource scope, data exposure, write effects, approval requirement and recovery method. Test an unauthorized caller, an unauthorized target and an interrupted request. Keep an independent way to disable the integration if the client or endpoint behaves unexpectedly.

Sora Panel's homepage describes declared MCP administration tools without arbitrary shell access, approvals for risky changes by a different person in the web UI, and a tamper-evident audit log. These are Sora-specific stated controls, not properties supplied by discovery alone. Sora is pre-release, without a public install command or announced release date. For the wider architecture see MCP for server administration and hosting versus administration tools.

Sora Panel is not released yet. Read how it works on the homepage or see installation availability.

Frequently asked questions

Does tools/list grant permission to run every tool?

No. Discovery advertises interfaces; authorization must separately check the caller, action and target when a tool is invoked.

Can a tool description be trusted as a security boundary?

No. Verify the implementation and permissions, and treat descriptions and annotations from untrusted servers as untrusted content.

Are the official reference servers production-ready?

Their repository describes them as educational reference implementations, not production-ready solutions. Operators must assess their own requirements and safeguards.

How can I test an MCP tool safely?

Use an isolated non-production service, synthetic data and limited credentials; test denied calls, intended effects and credential revocation before considering production.

Sources

Sora Panel is not released yet. Read how it works on the homepage.