⚠️ Vainu MCP is an additional feature that isn't automatically available to all users. You can reach out to your CS Manager at Vainu or customersuccess@vainu.io to enquire about your options to access the feature.
The MCP might also try to access data sets that are not part of your agreement. If so, the tool might return a 403 error indicating you don’t have all necessary permissions.
Vainu MCP works with Microsoft's Copilot products in three ways. Which one fits depends on who will use Vainu in Copilot and how centrally you want to manage it:
Option 1, a Copilot Studio agent, suits most organizations. You build the agent in the browser with your own instructions and publish it to Teams and Microsoft 365 Copilot.
Option 2, the Vainu app for Microsoft 365 Copilot, is for organizations whose admin wants to deploy Vainu centrally, with no agent to build. It's available as a pilot.
Option 3, a declarative agent in Microsoft 365 Copilot, is for developers who want to combine Vainu data with the user's Teams messages, email and files.
For the general introduction, other AI tools and the tool reference, see Vainu MCP.
Which option to choose
| Option 1: Copilot Studio agent | Option 2: Vainu app for Microsoft 365 Copilot | Option 3: Microsoft 365 Copilot declarative agent |
Availability | Available | Pilot: contact Vainu | Available |
Best for | Building an agent in the browser without code | Deploying Vainu centrally to Microsoft 365 Copilot users, with no agent to build | Developers who want Vainu inside Microsoft 365 Copilot together with the user's Teams messages, email and files |
Built with | Copilot Studio (browser) | Nothing to build: an app package from Vainu | VS Code and Microsoft 365 Agents Toolkit |
Who can set it up | A Copilot Studio maker, in an environment with Copilot Studio credits | A Microsoft 365 admin, in the Microsoft 365 admin center | A user with a Microsoft 365 Copilot license and custom app upload enabled |
Custom agent instructions | Yes | No agent to configure. Includes Vainu skills that Copilot uses automatically | Yes |
User's Microsoft 365 context (Teams, email, files) | Not in the same way | Not tested yet | Can be configured with capabilities |
Sign-in to Vainu | Each user signs in with their own Vainu account (End user account), or everyone uses the creator's connection (Shared account) | Each user signs in with their own Vainu account | Each user signs in with their own Vainu account |
Where users find it | The builder tests it in Copilot Studio. Other users find it in Teams and Microsoft 365 Copilot after you publish it. | Microsoft 365 Copilot → Plugins, in Copilot Chat and Copilot Cowork | Microsoft 365 Copilot → Agents |
All options need a Vainu account with MCP access. The Vainu MCP server URL is https://mcp.vainu.ai/mcp. Use https: the http address doesn't work.
Option 1: Copilot Studio agent
In Copilot Studio, you add Vainu MCP to an agent as a tool, all in the browser. Watch the video for an overview.
Prerequisites
Access to a Copilot Studio environment (license or trial)
Copilot Studio credits in that environment. Without credits, the agent can't be tested or used.
💡 Built your agent with Agent Builder in Microsoft 365 Copilot? Agent Builder can't add MCP servers. Select ··· next to Create → Copy to Copilot Studio, then continue with the steps below. Full Copilot Studio may need a separate license or environment, so check with your Microsoft 365 admin.
Steps
Create an agent. In Copilot Studio, create a new agent and give it a name, description and instructions.
Turn on generative orchestration. MCP tools require it. Check it in the agent's settings.
Add Vainu MCP. On the agent's Tools page, select Add a tool → New tool → Model Context Protocol.
Fill in the server details:
Server name: Vainu
Server description: for example "Nordic company data, business signals, financial statements and public documents." The orchestrator uses this description to decide when to call Vainu, so make it specific.
Server URL:
https://mcp.vainu.ai/mcp
Choose authentication: OAuth 2.0 → Dynamic discovery, then select Create and Next.
Connect. In the Add tool dialog, select Create a new connection, sign in with your Vainu account, and select Add to agent.
Choose whose Vainu account the agent uses. On the agent's Tools page, select the Vainu tool. Under Authentication, choose one:
End user account (recommended): each user signs in with their own Vainu account the first time they use the agent, and sees only what their own account has access to.
Shared account: everyone uses the connection you set up, with your Vainu access and your daily limits. Anyone you share the agent with can use your Vainu access.
Test the agent in the test pane. The test pane always uses your own Vainu sign-in, whichever option you chose in step 7.
Publish. Publish the agent, then select Channels → Microsoft 365 and Microsoft Teams. Select Make agent available in Microsoft Copilot and then Add channel.
Share. Under Availability options, share the agent with selected users, or select Show to everyone in my org to submit it for admin approval.
Power Platform data policies also apply to MCP connections, so your admin may need to allow the connector.
Option 2: Vainu app for Microsoft 365 Copilot (pilot)
With the Vainu app for Microsoft 365 Copilot, your Microsoft 365 admin adds Vainu MCP once for the whole organization. Nobody needs to build an agent: each user switches the Vainu MCP plugin on in Copilot and signs in with their own Vainu account. Your organization manages no app registrations or secrets.
The Vainu app for Microsoft 365 Copilot is available as a pilot and works in Microsoft 365 Copilot Chat and Copilot Cowork. To join the pilot, contact your CS Manager at Vainu or customersuccess@vainu.io, and we'll send the app package to your admin.
Prerequisites
Microsoft 365 Copilot licenses for the users
A Microsoft 365 admin who can upload the app package in the Microsoft 365 admin center
A Vainu user with MCP access for each person who uses the app
The app package (a zip file) from Vainu
Steps for the admin
In the Microsoft 365 admin center, go to Agents → Tools → Upload.
Upload the zip file from Vainu. The Vainu MCP plugin then becomes available to users in Copilot.
Use Agents → Tools. Uploading the package under Settings → Integrated apps doesn't work.
Steps for each user
Open Microsoft 365 Copilot and go to Plugins.
Switch on Vainu MCP and select Connect.
Sign in with your own Vainu account. You only need to do this once.
Each user sees only the data their own Vainu account has access to, and their calls count toward their own daily limit.
Vainu skills in the app
The app includes Vainu skills for choosing event types, company fields and queries, reading group structures, interest matches, and Finnish public procurement and real estate data. Copilot picks the right skill on its own and shows "Using skills from…" in its answer. To add a skill to a chat yourself, select Add content → Agents & Skills → Vainu MCP.
Updates and limits
The installed app doesn't update on its own. When Vainu's tools or skills change, your admin uploads the new package from Vainu.
The app has no shared-account mode. If everyone should use one shared Vainu user, see Agent-to-agent and machine-to-machine use below.
Option 3: Microsoft 365 Copilot declarative agent
A declarative agent runs on Microsoft 365 Copilot's own orchestration. Besides Vainu MCP, it can be configured to search the user's Teams messages, email and files.
Prerequisites
A Microsoft 365 account with a Copilot license
Custom app upload enabled for your account in the tenant (an admin setting)
Microsoft 365 Agents Toolkit 6.12.0 or later (a VS Code extension)
Node.js LTS. Check with
node -vin a terminal.
Microsoft now recommends Work IQ Dev Tools for new declarative agent projects. The steps below use Microsoft 365 Agents Toolkit, which Microsoft still documents.
Steps
Install the toolkit. In VS Code, open Extensions (Ctrl+Shift+X, Mac: Cmd+Shift+X), search for Microsoft 365 Agents Toolkit and select Install.
Sign in. Select the Agents Toolkit icon in the Activity Bar. Under Accounts, select Sign in to Microsoft 365. Check that Custom App Upload Enabled and Copilot Access Enabled appear. If not, contact your Microsoft 365 admin.
Create the agent. Select Create a New Agent/App → Declarative Agent → Add an Action → Start with an MCP Server. The prompts open in the command bar at the top of the window.
Enter the server URL:
https://mcp.vainu.ai/mcpChoose authentication: select OAuth (with dynamic registration). Vainu MCP supports dynamic client registration, so no Reference ID, client ID or client secret is needed.
Name the agent and choose a project folder. The toolkit opens the project in a new window. If VS Code shows a Restricted Mode banner, select Manage → Trust.
Write instructions in
appPackage/instruction.txtand save. See Writing agent instructions below.Provision. In the Lifecycle pane, select Provision, then Confirm. When it completes, the Output panel shows that all provision actions succeeded.
Test. Go to m365.cloud.microsoft/chat. Under Agents, select your agent (its name ends with dev). Ask a question, then select Sign in when prompted and sign in with your Vainu account.
Run Provision again after every change to the project files.
These steps make the agent available to you. To roll it out to colleagues, contact Vainu support.
Add Microsoft 365 context (optional)
By default the agent only uses Vainu MCP. To let it also search the user's Teams messages, email and files, select Add Capability in the toolkit's Development pane, or add capabilities to appPackage/declarativeAgent.json:
"capabilities": [ { "name": "TeamsMessages" }, { "name": "Email" }, { "name": "OneDriveAndSharePoint" } ]
Then mention these sources in the instructions, for example "When asked about internal discussions, also search Teams messages and email", and provision again.
OAuth details for IT admins
Vainu MCP supports OAuth 2.0 with dynamic client registration and PKCE. Options 1 and 3 use these automatically, so no Vainu-specific configuration is needed. Option 2 signs in through a client that Vainu has registered with Microsoft, so your organization manages no client ID or secret.
Item | Value |
MCP server URL |
|
Protected resource metadata |
|
Authorization server metadata |
|
Authorization endpoint |
|
Token endpoint |
|
Client registration (RFC 7591) |
|
Grant types |
|
Scope |
|
PKCE | S256, required |
Writing agent instructions
Good instructions make the agent pick the right Vainu tools and cite its sources. They apply to Options 1 and 3. In Microsoft 365 Copilot, declarative agent instructions can be up to 8,000 characters.
Give the agent a role and a task, for example preparing for customer meetings or researching prospects.
Name the Vainu tools to use for each step:
search_companiesto identify the company,get_company_contextfor the profile,get_group_structurefor the group,get_event_types_referenceand thenget_signals_newsfor recent events,document_searchfor documents (needs the Vainu Discovery Agent permission).Tell it to use only valid fields. It should call
list_organization_fieldsinstead of guessing field names.Require sources for every claim, and ask it to mark its own conclusions.
Define the output: language, length and sections.
Example: meeting preparation
You are an assistant for B2B account managers. Before a customer meeting, you prepare a short, source-based briefing using Vainu MCP tools.
Identify the company with search_companies. If there are several matches, ask the user which one is correct.
Get the profile, financials, locations and vehicle fleet with get_company_context. Use only field paths returned by list_organization_fields.
Check the group structure with get_group_structure. Get event type IDs with get_event_types_reference, then news from the last 18 months with get_signals_news.
Search strategy, sustainability and investment documents with document_search, using several specific search prompts and the company's business_id.
Report: summary, key facts, recent events, decision-makers (if contact data is available), opportunities for us, questions for the meeting, and sources.
Present only information with a source. Mark your own conclusions with "Assessment:". Never invent numbers or names.
Troubleshooting
Problem | Solution |
Copilot Studio doesn't call Vainu tools | Turn on generative orchestration and make the server description specific. |
The Copilot Studio agent can't be tested or used | Check that the environment has Copilot Studio credits. |
Everyone sees the creator's Vainu data | The Vainu tool's Authentication is set to Shared account. Change it to End user account (Option 1, step 7). |
The agent uses my own Vainu account when I test it | This is expected: the Copilot Studio test pane always uses your own sign-in. Check the published agent instead. |
Sign-in to the Vainu MCP plugin fails with | The RequestId comes from Microsoft and doesn't show the cause. When the sign-in window fails, copy only the |
The app package can't be uploaded under Settings → Integrated apps (Option 2) | Upload it under Agents → Tools → Upload in the Microsoft 365 admin center. |
New Vainu tools or skills don't appear in the Vainu app (Option 2) | The installed app doesn't update on its own. Ask Vainu for the latest package and have your admin upload it. |
Toolkit shows Custom App Upload Disabled | Ask your Microsoft 365 admin to allow custom app upload for your account. The change can take a few hours to apply. |
The agent doesn't appear in Microsoft 365 Copilot | Check that provisioning completed and refresh the Agents list. The agent's name ends with dev. |
The agent says it can't search Teams or email | Add the |
Changes don't show up in the agent | Save the files and run Provision again. |
VS Code shows a "Sign in to Azure" warning | Declarative agents don't need Azure. You can ignore it. |
Authentication fails when VS Code or the Agents Toolkit fetches the resource metadata | This was caused by a server-side issue at Vainu, which has been fixed. Set up the agent again with dynamic registration. If it still fails, contact Vainu support and include the exact error message. |
"No database permission" or 403 from Vainu | Your Vainu account doesn't have access to that data, such as a country database, document search or financial statements. The agent may also try data that isn't part of your agreement. Other tools keep working. Ask your Vainu contact person to check your permissions. |
"Rate limit exceeded" | Each user can make 300 calls per day to each tool. With Shared account, all users share the creator's limit. Contact Vainu support if the limit is too low. |
Microsoft asks for a Reference ID, client ID or client secret | Options 1 and 3 don't need them, because sign-in is registered automatically, and Option 2 already includes Vainu's registration. A custom connector under Copilot → Connectors in the admin center can't use Vainu sign-in, so use Option 2 instead. |
The MCP URL starts with http | Use |
Agent-to-agent and machine-to-machine use
The options above use interactive sign-in. For automated setups where no user signs in to Vainu, Vainu supports Microsoft Entra ID service identities:
Copilot Studio with a service principal, through a Power Platform custom connector
Microsoft Foundry (formerly Azure AI Foundry) with the agent's managed identity
In both, the agent acts as one Vainu user. Everyone who uses the agent gets exactly that user's access, data and daily limits, and end users don't sign in to Vainu. Contact Vainu support to set these up.
For platforms that use fixed OAuth credentials, such as Palantir Foundry, see Vainu MCP.
Microsoft documentation
🧑💻 Contact Vainu Support if you have any questions! You can send an email to support@vainu.io or send a message through chat.
