remote-mcp-server-with-auth
mcp0.0.1Template for a remote MCP server with GitHub OAuth - following best practices for building MCP servers so you can take this as a starting point for any MCP server you want to build!
By coleam00 | 199 findings | Scanned 6/3/2026 | tooltrust-scanner/v0.3.13 | 291
Risk Summary
Needs ApprovalDep Visibility plus Excessive Permissions raises enough risk that this tool should not be auto-trusted.
Potential impact: This finding indicates the tool should be reviewed before it is trusted.
Recommended action: Keep this tool behind manual approval and avoid unattended runs until the risky capabilities are narrowed or removed.
Suggested policy: keep this tool behind manual approval, do not allow unattended runs, and re-scan after narrowing risky permissions.
Security Findings (199)
tool declares network permission
add_reply_to_pull_request_commentassign_copilot_to_issuecreate_or_update_filecreate_pull_requestcreate_pull_request_with_copilotget_copilot_job_statusgithub_support_docs_searchlist_pull_requestsmerge_pull_requestpull_request_readpull_request_review_writerequest_copilot_reviewsearch_codesearch_issuessearch_orgssearch_pull_requestssearch_repositoriessearch_usersupdate_pull_requestupdate_pull_request_branchtool declares exec permission
create_gistcreate_repositoryget_copilot_spacelabel_writeupdate_gistFix: Tool requests broad permissions (exec/fs/network). Validate input parameters using Enums where possible, and restrict file system operations to explicit allowed directories.
get_copilot_space:tool name "get_copilot_space" implies read-only operation but declares exec permission
Fix: Ensure tool names, descriptions, and permission declarations are internally consistent. Use explicit naming conventions that fully reflect actual capabilities.
list_secret_scanning_alerts:input parameter "secret_type" appears to accept a secret or credential
Fix: Avoid accepting raw credentials as input parameters. Use secret managers (e.g. 1Password CLI, AWS Secrets Manager) and ensure credentials are never logged or stored in agent traces.
tool declares fs permission
add_comment_to_pending_reviewcreate_branchcreate_gistcreate_or_update_filecreate_pull_requestcreate_pull_request_with_copilotcreate_repositorydelete_filefork_repositoryget_file_contentsget_meget_repository_treeissue_writelabel_writelist_discussionslist_issueslist_org_repository_security_advisorieslist_pull_requestslist_repository_security_advisorieslist_starred_repositoriesprojects_writepull_request_review_writepush_filesrun_secret_scanningsearch_userssub_issue_writeupdate_gistupdate_pull_requestupdate_pull_request_branchFix: Tool requests broad permissions (exec/fs/network). Validate input parameters using Enums where possible, and restrict file system operations to explicit allowed directories.
tool declares http permission
actions_getactions_listactions_run_triggeradd_comment_to_pending_reviewadd_issue_commentadd_reply_to_pull_request_commentcreate_pull_requestissue_readissue_writelabel_writemerge_pull_requestprojects_getprojects_listprojects_writepull_request_readpull_request_review_writesub_issue_writeupdate_pull_requestinput schema exposes 13 properties (threshold: 10)
issue_writeinput schema exposes 11 properties (threshold: 10)
list_global_security_advisoriesinput schema exposes 15 properties (threshold: 10)
projects_writeFix: Tool requests broad permissions (exec/fs/network). Validate input parameters using Enums where possible, and restrict file system operations to explicit allowed directories.
tool performs network or execution operations but declares no rate-limit, timeout, or retry configuration
actions_getactions_listactions_run_triggeradd_comment_to_pending_reviewadd_issue_commentadd_reply_to_pull_request_commentassign_copilot_to_issuecreate_gistcreate_or_update_filecreate_pull_requestcreate_pull_request_with_copilotcreate_repositoryget_copilot_job_statusget_copilot_spacegithub_support_docs_searchissue_readissue_writelabel_writelist_pull_requestsmerge_pull_requestprojects_getprojects_listprojects_writepull_request_readpull_request_review_writerequest_copilot_reviewsearch_codesearch_issuessearch_orgssearch_pull_requestssearch_repositoriessearch_userssub_issue_writeupdate_gistupdate_pull_requestupdate_pull_request_branchFix: Declare explicit rate-limit, timeout, and retry configuration for all network and execution tools. Implement exponential back-off and surface resource state to the calling agent.
Tool did not expose metadata.dependencies or repo_url, so supply-chain coverage is limited.
actions_getactions_listactions_run_triggeradd_comment_to_pending_reviewadd_issue_commentadd_reply_to_pull_request_commentassign_copilot_to_issuecreate_branchcreate_gistcreate_or_update_filecreate_pull_requestcreate_pull_request_with_copilotcreate_repositorydelete_filedismiss_notificationfork_repositoryget_code_scanning_alertget_commitget_copilot_job_statusget_copilot_spaceget_dependabot_alertget_discussionget_discussion_commentsget_file_contentsget_gistget_global_security_advisoryget_job_logsget_labelget_latest_releaseget_meget_notification_detailsget_release_by_tagget_repository_treeget_secret_scanning_alertget_tagget_team_membersget_teamsgithub_support_docs_searchissue_readissue_writelabel_writelist_brancheslist_code_scanning_alertslist_commitslist_copilot_spaceslist_dependabot_alertslist_discussion_categorieslist_discussionslist_gistslist_global_security_advisorieslist_issue_typeslist_issueslist_labellist_notificationslist_org_repository_security_advisorieslist_pull_requestslist_releaseslist_repository_security_advisorieslist_secret_scanning_alertslist_starred_repositorieslist_tagsmanage_notification_subscriptionmanage_repository_notification_subscriptionmark_all_notifications_readmerge_pull_requestprojects_getprojects_listprojects_writepull_request_readpull_request_review_writepush_filesrequest_copilot_reviewrun_secret_scanningsearch_codesearch_issuessearch_orgssearch_pull_requestssearch_repositoriessearch_usersstar_repositorysub_issue_writetriage_issueunstar_repositoryupdate_gistupdate_pull_requestupdate_pull_request_branchFix: Review and remediate the identified issue.
Scan this tool yourself
Reproduce this audit locally, integrate into CI, or let your agent audit its own tools.
Install once, then scan any MCP server:
$ curl -sfL https://raw.githubusercontent.com/AgentSafe-AI/tooltrust-scanner/main/install.sh | bash$ tooltrust-scanner scan --server "npx -y remote-mcp-server-with-auth"Adjust the package name if your npm registry name differs from the tool ID. View source
Add badge to your README
Copy this Markdown to show your ToolTrust grade on GitHub.
[](https://github.com/AgentSafe-AI/tooltrust-directory)